hexsha
stringlengths 40
40
| size
int64 5
1.05M
| ext
stringclasses 98
values | lang
stringclasses 21
values | max_stars_repo_path
stringlengths 3
945
| max_stars_repo_name
stringlengths 4
118
| max_stars_repo_head_hexsha
stringlengths 40
78
| max_stars_repo_licenses
sequencelengths 1
10
| max_stars_count
int64 1
368k
⌀ | max_stars_repo_stars_event_min_datetime
stringlengths 24
24
⌀ | max_stars_repo_stars_event_max_datetime
stringlengths 24
24
⌀ | max_issues_repo_path
stringlengths 3
945
| max_issues_repo_name
stringlengths 4
118
| max_issues_repo_head_hexsha
stringlengths 40
78
| max_issues_repo_licenses
sequencelengths 1
10
| max_issues_count
int64 1
134k
⌀ | max_issues_repo_issues_event_min_datetime
stringlengths 24
24
⌀ | max_issues_repo_issues_event_max_datetime
stringlengths 24
24
⌀ | max_forks_repo_path
stringlengths 3
945
| max_forks_repo_name
stringlengths 4
135
| max_forks_repo_head_hexsha
stringlengths 40
78
| max_forks_repo_licenses
sequencelengths 1
10
| max_forks_count
int64 1
105k
⌀ | max_forks_repo_forks_event_min_datetime
stringlengths 24
24
⌀ | max_forks_repo_forks_event_max_datetime
stringlengths 24
24
⌀ | content
stringlengths 5
1.05M
| avg_line_length
float64 1
1.03M
| max_line_length
int64 2
1.03M
| alphanum_fraction
float64 0
1
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b0d655bff2c524cde32371e2fe7001bcfc80c9cd | 781 | py | Python | test/test_haplotype.py | til-unc/mhcgnomes | 0bfbe193daeb7cd38d958222f6071dd657e9fb6e | [
"Apache-2.0"
] | 6 | 2020-10-27T15:31:32.000Z | 2020-11-29T03:26:06.000Z | test/test_haplotype.py | til-unc/mhcgnomes | 0bfbe193daeb7cd38d958222f6071dd657e9fb6e | [
"Apache-2.0"
] | 4 | 2020-10-27T14:57:16.000Z | 2020-11-04T21:56:39.000Z | test/test_haplotype.py | pirl-unc/mhcgnomes | 0bfbe193daeb7cd38d958222f6071dd657e9fb6e | [
"Apache-2.0"
] | null | null | null | from mhcgnomes import Haplotype, parse, Species, Parser
from nose.tools import eq_
def test_H2_a_in_species_haplotypes_dictionary():
species = Species.get("H2")
assert species is not None
assert "a" in species.haplotypes
def test_get_H2a_haplotype():
parser = Parser()
result = parser.get_haplotype("H2", "a")
assert result is not None
eq_(result.name, "a")
assert result.species.is_mouse
def test_parse_H2a_haplotype():
result = parse("H2a")
assert result is not None
eq_(result.name, "a")
assert result.species.is_mouse
def test_parse_BF19_haplotype():
result = parse("BF19")
print(result)
assert result is not None
eq_(type(result), Haplotype)
eq_(result.name, "BF19")
assert result.species.is_chicken | 26.931034 | 55 | 0.708067 |
cdc3660f0a40604304a91693fe7b4c423eacb6ee | 1,161 | sql | SQL | Src/Entity.Database/EntityCode/Stored Procedures/VentureOptionSave.sql | goodtocode/Entities | 134a692973c80ccd417b36e303e9e28dc05c3bb9 | [
"Apache-2.0"
] | 1 | 2020-08-13T00:49:48.000Z | 2020-08-13T00:49:48.000Z | Src/Entity.Database/EntityCode/Stored Procedures/VentureOptionSave.sql | goodtocode/Entities | 134a692973c80ccd417b36e303e9e28dc05c3bb9 | [
"Apache-2.0"
] | null | null | null | Src/Entity.Database/EntityCode/Stored Procedures/VentureOptionSave.sql | goodtocode/Entities | 134a692973c80ccd417b36e303e9e28dc05c3bb9 | [
"Apache-2.0"
] | 1 | 2021-03-07T03:04:34.000Z | 2021-03-07T03:04:34.000Z | Create PROCEDURE [EntityCode].[VentureOptionSave]
@Id Int,
@Key Uniqueidentifier,
@VentureKey Uniqueidentifier,
@OptionKey Uniqueidentifier
AS
-- Id and Key are both valid. Sync now.
If (@Id <> -1) Select Top 1 @Key = IsNull([VentureOptionKey], @Key) From [Entity].[VentureOption] Where [VentureOptionId] = @Id
If (@Id = -1 AND @Key <> '00000000-0000-0000-0000-000000000000') Select Top 1 @Id = IsNull([VentureOptionId], -1) From [Entity].[VentureOption] Where [VentureOptionKey] = @Key
-- Insert vs. Update
If (@Id Is Null) Or (@Id = -1)
Begin
-- Insert
Select @Key = IsNull(NullIf(@Key, '00000000-0000-0000-0000-000000000000'), NewId())
Insert Into [Entity].[VentureOption] (VentureOptionKey, VentureKey, OptionKey)
Values (@Key, @VentureKey, @OptionKey)
Select @Id = SCOPE_IDENTITY()
End
Else
Begin
-- VentureOption master
Update [Entity].[VentureOption]
Set OptionKey = @OptionKey,
ModifiedDate = GetUTCDate()
Where VentureOptionId = @Id
End
-- Return data
Select IsNull(@Id, -1) As Id, IsNull(@Key, '00000000-0000-0000-0000-000000000000') As [Key]
| 38.7 | 176 | 0.664944 |
8ef7b80ea9578b902bf2009fd655cec53511acbc | 206 | rb | Ruby | app/helpers/feed_helper.rb | nicklevenson/me-mix-3 | a3a10d2723d2a492f8d76c7f54c9e313ac0c749e | [
"Unlicense"
] | 3 | 2021-01-22T23:31:29.000Z | 2021-04-28T20:21:07.000Z | app/helpers/feed_helper.rb | nicklevenson/me-mix-3 | a3a10d2723d2a492f8d76c7f54c9e313ac0c749e | [
"Unlicense"
] | null | null | null | app/helpers/feed_helper.rb | nicklevenson/me-mix-3 | a3a10d2723d2a492f8d76c7f54c9e313ac0c749e | [
"Unlicense"
] | null | null | null | module FeedHelper
def no_feed
if @mixes.empty?
content_tag :h1, "This is where you'll see mixes by people you have followed. So go follow some people!", class: "jumbotron"
end
end
end
| 22.888889 | 131 | 0.684466 |
4dceb87325162d4f31e8caa0a436105956c88b61 | 3,968 | cs | C# | Src/RawHisDataCollect/RawDataCollect/RealDataMonWSS/Program.cs | knifecaojia/CoinsPro | 1ace0fd69289ab63d4406094c312402f9fa70d37 | [
"Apache-2.0"
] | null | null | null | Src/RawHisDataCollect/RawDataCollect/RealDataMonWSS/Program.cs | knifecaojia/CoinsPro | 1ace0fd69289ab63d4406094c312402f9fa70d37 | [
"Apache-2.0"
] | null | null | null | Src/RawHisDataCollect/RawDataCollect/RealDataMonWSS/Program.cs | knifecaojia/CoinsPro | 1ace0fd69289ab63d4406094c312402f9fa70d37 | [
"Apache-2.0"
] | 1 | 2021-02-25T02:23:34.000Z | 2021-02-25T02:23:34.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SuperSocket.ClientEngine;
using WebSocket4Net;
using Quobject.SocketIoClientDotNet.Client;
using Newtonsoft.Json.Linq;
namespace RealDataMonWSS
{
class Program
{
static WebSocket Client;
static void Main(string[] args)
{
//Client = new WebSocket("ws://streamer.cryptocompare.com");
//Client.Opened += new EventHandler(Client_Opened);
//Client.Error += new EventHandler<SuperSocket.ClientEngine.ErrorEventArgs>(Client_Error);
//Client.Closed += new EventHandler(Client_Closed);
//Client.MessageReceived += new EventHandler<MessageReceivedEventArgs>(Client_MessageReceived);
//Client.DataReceived += new EventHandler<DataReceivedEventArgs>(Client_DataReceived);
//Client.Open();
JObject jo = JObject.Parse("{subs:\"['5~CCCAGG~BTC~USD','5~CCCAGG~ETH~USD']\"}");
var socket = IO.Socket("wss://streamer.cryptocompare.com");
socket.On(Socket.EVENT_CONNECT, () =>
{
Console.WriteLine("Socket.EVENT_CONNECT" );
JArray ja = new JArray();
ja.Add("2~Bitstamp~BTC~USD"); // aggregate BTC
//ja.Add("2~Poloniex~ETH~USD"); // aggregate ETH
//ja.Add("2~Poloniex~LTC~USD"); // aggregate ETH
JObject obj = new JObject();
try
{
obj.Add("subs", ja);
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}
socket.Emit("SubAdd", obj);
});
socket.On("m", (data) =>
{
Console.WriteLine(data);
//Console.WriteLine(System.Text.Encoding.Default.GetString((byte[])data));
//socket.Disconnect();
});
var socket1 = IO.Socket("wss://streamer.cryptocompare.com");
socket1.On(Socket.EVENT_CONNECT, () =>
{
Console.WriteLine("Socket.EVENT_CONNECT");
JArray ja = new JArray();
//ja.Add("2~Bitstamp~BTC~USD"); // aggregate BTC
ja.Add("2~Poloniex~ETH~USD"); // aggregate ETH
//ja.Add("2~Poloniex~LTC~USD"); // aggregate ETH
JObject obj = new JObject();
try
{
obj.Add("subs", ja);
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}
socket1.Emit("SubAdd", obj);
});
socket1.On("m", (data) =>
{
Console.WriteLine(data);
//Console.WriteLine(System.Text.Encoding.Default.GetString((byte[])data));
//socket.Disconnect();
});
Console.ReadKey();
socket1.Disconnect();
}
private static void Client_DataReceived(object sender, DataReceivedEventArgs e)
{
Console.WriteLine("Client_DataReceived"+e.Data.ToString());
}
private static void Client_MessageReceived(object sender, MessageReceivedEventArgs e)
{
Console.WriteLine("Client_MessageReceived"+e.Message.ToString());
}
private static void Client_Closed(object sender, EventArgs e)
{
Console.WriteLine("Client_Closed");
}
private static void Client_Error(object sender, ErrorEventArgs e)
{
Console.WriteLine("Client_Error"+e.Exception.Message);
}
private static void Client_Opened(object sender, EventArgs e)
{
Console.WriteLine("Client_Opened");
Client.Send("['2~Poloniex~BTC~USD']");
}
}
}
| 35.428571 | 107 | 0.530998 |
af498e8f8f7c07e2e41f8b3ca471ffcdd1b0c170 | 470 | py | Python | tests/unit/test_arg_parse.py | cloud-gov/external-domain-broker-migrator | 6f827b3242e6d45e29d3e2404955cbea9ae1a25b | [
"CC0-1.0"
] | 1 | 2020-08-14T22:53:03.000Z | 2020-08-14T22:53:03.000Z | tests/unit/test_arg_parse.py | cloud-gov/external-domain-broker-migrator | 6f827b3242e6d45e29d3e2404955cbea9ae1a25b | [
"CC0-1.0"
] | 63 | 2020-08-14T20:07:53.000Z | 2021-12-20T21:39:07.000Z | tests/unit/test_arg_parse.py | cloud-gov/external-domain-broker-migrator | 6f827b3242e6d45e29d3e2404955cbea9ae1a25b | [
"CC0-1.0"
] | null | null | null | import pytest
from migrator.__main__ import parse_args
def test_arg_parse_fails_with_no_args():
with pytest.raises(SystemExit):
parse_args([])
def test_arg_parse_returns_cron_for_cron():
parsed = parse_args(["--cron"])
assert parsed.cron
assert not parsed.instance
def test_arg_parse_returns_instance_for_instance():
parsed = parse_args(["--instance", "asdf-asdf"])
assert parsed.instance == "asdf-asdf"
assert not parsed.cron
| 22.380952 | 52 | 0.731915 |
a392e317e4e494b5450ea77bf6eb2ad95556889e | 499 | java | Java | DataStructures And Algorithms/src/searchingandsorting/IsNumberInAP.java | faiz-siddiqh/DatastructuresAndAlgorithms | 470ecc05e3ec9a4c10c5a15f0912610c355bc60a | [
"MIT"
] | null | null | null | DataStructures And Algorithms/src/searchingandsorting/IsNumberInAP.java | faiz-siddiqh/DatastructuresAndAlgorithms | 470ecc05e3ec9a4c10c5a15f0912610c355bc60a | [
"MIT"
] | null | null | null | DataStructures And Algorithms/src/searchingandsorting/IsNumberInAP.java | faiz-siddiqh/DatastructuresAndAlgorithms | 470ecc05e3ec9a4c10c5a15f0912610c355bc60a | [
"MIT"
] | null | null | null | package searchingandsorting;
public class IsNumberInAP {
public static void main(String[] args) {
int firstNumber = 1;
int number = 2;
int diff = 3;
System.out.println(isNumberInAP(firstNumber, number, diff));
}
private static int isNumberInAP(int A, int B, int C) {
if (C == 0)
if (A == B)
return 1;
else
return 0;
// Else difference between A and B
// must be divisible by C.
if ((B - A) % C == 0 && (B - A) / C >= 0)
return 1;
else
return 0;
}
}
| 16.096774 | 62 | 0.599198 |
c38737d34d8011cadce1ce768b3a0ff8c494c5e9 | 2,168 | cs | C# | src/Common.ANCore/Middleware/LogResponseMiddleware.cs | b-a-x/Common | f1e00e28ff6341e3f4928dd1796790907137d242 | [
"Apache-2.0"
] | null | null | null | src/Common.ANCore/Middleware/LogResponseMiddleware.cs | b-a-x/Common | f1e00e28ff6341e3f4928dd1796790907137d242 | [
"Apache-2.0"
] | null | null | null | src/Common.ANCore/Middleware/LogResponseMiddleware.cs | b-a-x/Common | f1e00e28ff6341e3f4928dd1796790907137d242 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Common.Core.Helpers;
using Common.Core.Utilities;
using Common.Core.Extensions;
using Common.Core.Structs;
namespace Common.ANCore.Middleware
{
//TODO: Test
public class LogResponseMiddleware
{
private readonly RequestDelegate _next;
private readonly ILogger<LogResponseMiddleware> _logger;
private readonly LogLevel _logLevel;
public LogResponseMiddleware([NotNull] RequestDelegate next, [NotNull] ILoggerFactory loggerFactory)
{
Throw.NotNull(next, nameof(next));
Throw.NotNull(loggerFactory, nameof(loggerFactory));
_next = next;
_logger = loggerFactory.CreateLogger<LogResponseMiddleware>();
_logLevel = LogLevel.Information;
}
public async Task Invoke(HttpContext context)
{
if (_logger.IsEnabled(_logLevel))
{
Stream originalResponseBody = context.Response.Body;
var responseBodyStream = new MemoryStream();
context.Response.Body = responseBodyStream;
await _next(context);
responseBodyStream.Seek(0, SeekOrigin.Begin);
_logger.Log(_logLevel, MessageBuild(context, await new StreamReader(responseBodyStream).ReadToEndAsync()));
responseBodyStream.Seek(0, SeekOrigin.Begin);
await responseBodyStream.CopyToAsync(originalResponseBody);
}
else
{
await _next(context);
}
}
private static string MessageBuild(HttpContext context, string body)
{
var spanValues = new ReadOnlySpan<KeyValueString>(new[]
{
new KeyValueString(Messages.TraceIdentifier, context.TraceIdentifier),
new KeyValueString(Messages.Body, body)
});
return new StringBuilder(body.Length).AppendJoin(in spanValues).ToString();
}
}
} | 35.540984 | 123 | 0.640221 |
b11454c8b7f0b0802d600645110af040b5f27b63 | 1,603 | py | Python | fb_api/models.py | felipecerinzasick/blog | fbe2b3d7ecc2937a31a925d50f7112a299b9da3e | [
"MIT"
] | null | null | null | fb_api/models.py | felipecerinzasick/blog | fbe2b3d7ecc2937a31a925d50f7112a299b9da3e | [
"MIT"
] | null | null | null | fb_api/models.py | felipecerinzasick/blog | fbe2b3d7ecc2937a31a925d50f7112a299b9da3e | [
"MIT"
] | null | null | null | from django.contrib.postgres.fields import JSONField
from django.db import models
from django.utils.translation import ugettext_lazy as _
from social_django.models import UserSocialAuth
from fb_api.api_caller import ApiParser
class FbAdAccount(models.Model):
fb_acc = models.ForeignKey(
UserSocialAuth,
on_delete=models.CASCADE,
verbose_name=_("Social Auth Model"),
)
ads_id = models.CharField(_("Ads ID"), max_length=50)
account_id = models.CharField(_("Account ID"), max_length=30)
is_selected = models.BooleanField(default=False)
class Meta:
verbose_name = _("Ad Account")
verbose_name_plural = _("Ad Accounts")
def __str__(self):
return "{}({})".format(self.fb_acc.user.username or self.fb_acc.user.email, self.account_id)
def get_user(self):
return self.fb_acc.user
def get_insight_data(self, from_time, to_time):
access_token = self.fb_acc.extra_data.get('access_token', '')
fbap = ApiParser(token=access_token)
return fbap.get_ads_insight(self.ads_id, from_time, to_time)
class InsightData(models.Model):
ad_acc = models.ForeignKey(
FbAdAccount,
on_delete=models.CASCADE,
verbose_name=_("Ad Account"),
)
data = JSONField()
days_count = models.IntegerField(default=30)
created_at = models.DateTimeField(auto_now_add=True)
class Meta:
get_latest_by = ['created_at']
def __str__(self):
return "{}({})".format(self.ad_acc.fb_acc.user.username or self.ad_acc.fb_acc.user.email, self.ad_acc.account_id)
| 29.685185 | 121 | 0.694947 |
bb4ae888312bc571b7599dce10e9367fee4a4730 | 884 | cs | C# | CosmosDB.Gremlin.Fluent/Functions/Local.cs | AieatAssam/CosmosDB.Gremlin.Fluent | ce8998feb8382f0dfed4737e7f31c2403116463f | [
"Apache-2.0"
] | 4 | 2019-08-05T11:59:28.000Z | 2021-08-05T14:14:38.000Z | CosmosDB.Gremlin.Fluent/Functions/Local.cs | AieatAssam/CosmosDB.Gremlin.Fluent | ce8998feb8382f0dfed4737e7f31c2403116463f | [
"Apache-2.0"
] | 1 | 2019-11-08T07:21:59.000Z | 2020-06-10T08:46:58.000Z | CosmosDB.Gremlin.Fluent/Functions/Local.cs | AieatAssam/CosmosDB.Gremlin.Fluent | ce8998feb8382f0dfed4737e7f31c2403116463f | [
"Apache-2.0"
] | 1 | 2019-07-31T15:28:26.000Z | 2019-07-31T15:28:26.000Z | namespace CosmosDB.Gremlin.Fluent.Functions
{
#pragma warning disable 1591
public static class LocalFunction
#pragma warning restore 1591
{
/// <summary>
/// A GraphTraversal operates on a continuous stream of objects. In many situations, it is important to
/// operate on a single element within that stream.
/// To do such object-local traversal computations, local()-step exists (branch)
/// </summary>
/// <param name="builder"></param>
/// <param name="inner"></param>
/// <returns></returns>
public static GremlinQueryBuilder Local(this GremlinQueryBuilder builder, GremlinQueryBuilder inner)
{
if (inner == null)
return builder;
builder.AddArguments(inner.GremlinArguments);
return builder.Add($"local({inner.Query})");
}
}
} | 38.434783 | 111 | 0.624434 |
fa76f2a5bd3168cbb8ee82bc71207df63652087a | 340 | cpp | C++ | Fundamental/00Intro/introTest.cpp | syahravi/CppCodes | e6369c75e9152a59ee4352b402a55d26ff88402e | [
"MIT"
] | null | null | null | Fundamental/00Intro/introTest.cpp | syahravi/CppCodes | e6369c75e9152a59ee4352b402a55d26ff88402e | [
"MIT"
] | null | null | null | Fundamental/00Intro/introTest.cpp | syahravi/CppCodes | e6369c75e9152a59ee4352b402a55d26ff88402e | [
"MIT"
] | null | null | null | /*Introduction: Test!
*
* 1. Buat kode Cpp yang "layak".
* 2. Beri komentar.
* 3. Kompilasi kode dengan IDE dan atau 'g++' pada text editor
* 4. Eksekusi program dan pahami yang terjadi.
*/
// Buat program yang layak berdasarkan kode di bawah ini
#include ...
using namespace ...
... {
...
}
// Program di atas masih error dong;>
| 18.888889 | 63 | 0.658824 |
cc0493c0a9d8df1daf40df86d0af6c3c2900f776 | 323 | rb | Ruby | samples/sprues/_mints.rb | mzemel/squib | f141c9773a12d49b1e9ac92baf64a153a82ede01 | [
"MIT"
] | 935 | 2015-01-02T17:43:36.000Z | 2022-03-23T02:38:01.000Z | samples/sprues/_mints.rb | mzemel/squib | f141c9773a12d49b1e9ac92baf64a153a82ede01 | [
"MIT"
] | 324 | 2015-01-02T16:36:25.000Z | 2022-03-25T17:26:35.000Z | samples/sprues/_mints.rb | mzemel/squib | f141c9773a12d49b1e9ac92baf64a153a82ede01 | [
"MIT"
] | 97 | 2015-01-01T03:20:22.000Z | 2022-03-15T11:21:52.000Z | require 'squib'
# An example deck that uses "mint" sized cards (e.g. Altoids).
# These cards are pretty small but comfortably fit in a mint tin
Squib::Deck.new(cards: 21, width: '54.0mm', height: '68.0mm') do
background color: :gray
rect
text str: (1..21).to_a
save_pdf sprue: 'my_sprues/us_letter_mints.yml'
end
| 26.916667 | 64 | 0.708978 |
2f0b82ce9be848a9e8b1872c48d14bdcb4f4a144 | 379 | js | JavaScript | dist/spa/js/2d0decf2.1c05082e.js | Mary-Tyler-Moore/VeeValidate-Quasar | e3672e420d96bb4e1eebd002c13cc81ea16f58d3 | [
"MIT"
] | null | null | null | dist/spa/js/2d0decf2.1c05082e.js | Mary-Tyler-Moore/VeeValidate-Quasar | e3672e420d96bb4e1eebd002c13cc81ea16f58d3 | [
"MIT"
] | null | null | null | dist/spa/js/2d0decf2.1c05082e.js | Mary-Tyler-Moore/VeeValidate-Quasar | e3672e420d96bb4e1eebd002c13cc81ea16f58d3 | [
"MIT"
] | null | null | null | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["2d0decf2"],{"86db":function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("q-page",{attrs:{padding:""}},[n("div",{staticClass:"text-h4"},[t._v("Nested Routing Demo")])])},a=[],c={},d=c,i=n("2877"),l=Object(i["a"])(d,s,a,!1,null,null,null);e["default"]=l.exports}}]); | 379 | 379 | 0.622691 |
6dfa68c86098b9d510b434a796b2880444c009a2 | 2,093 | dart | Dart | lib/common_widgets/question/QuestionButton.dart | teambeca/beca-app | 4a837c0d2344316a295201b5f555bf0e016c6acc | [
"MIT"
] | 2 | 2020-07-29T02:56:15.000Z | 2020-07-29T15:42:43.000Z | lib/common_widgets/question/QuestionButton.dart | teambeca/beca-app | 4a837c0d2344316a295201b5f555bf0e016c6acc | [
"MIT"
] | null | null | null | lib/common_widgets/question/QuestionButton.dart | teambeca/beca-app | 4a837c0d2344316a295201b5f555bf0e016c6acc | [
"MIT"
] | null | null | null | import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:beca_app/bloc/question_bloc.dart';
import 'package:flutter/material.dart';
class QuestionButton extends StatelessWidget {
const QuestionButton({
Key key,
@required List<int> answer,
}) : _answer = answer,
super(key: key);
final List<int> _answer;
@override
Widget build(BuildContext context) {
return BlocBuilder<QuestionBloc, QuestionState>(
builder: (context, questionState) => FutureBuilder(
future: Future.delayed(Duration(seconds: 2)),
builder: (context, snapshot) => Padding(
padding: const EdgeInsets.only(bottom: 20.0, left: 20.0, right: 20.0),
child: SizedBox(
width: double.infinity,
child: RaisedButton(
textColor: Colors.white,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10.0),
),
color: Theme.of(context).primaryColorDark,
padding: EdgeInsets.symmetric(vertical: 20),
onPressed: _onPressed(context, questionState, _answer, snapshot),
child: Text('İleri'),
),
),
),
),
);
}
}
Function _onPressed(BuildContext context, QuestionState questionState,
List<int> answer, AsyncSnapshot snapshot) {
if (answer.length != 1 && answer.contains(-1)) return null;
if (questionState is QuestionGetSuccess &&
snapshot.connectionState == ConnectionState.done) {
if (questionState.questionType == 3 && answer.length == 0) answer = [0];
return () => _postAnswer(context, questionState, answer);
} else {
return null;
}
}
void _postAnswer(
BuildContext context, QuestionGetSuccess questionState, List<int> answer) {
context.bloc<QuestionBloc>().add(
QuestionAnswerPost(
answer: answer,
questionId: questionState.question.id,
text: questionState.question.text,
type: questionState.question.type,
),
);
context.bloc<QuestionBloc>().add(QuestionGet());
}
| 32.2 | 80 | 0.635452 |
da9bcc11ecb51c296b61d4dc1e6008e03834b57f | 7,014 | swift | Swift | OceanComponents/Classes/Components/NavigationBar/Ocean+NavigationBar.swift | Pagnet/ocean-ds-ios | f0ef037883ad0cb70011a06ad8148e6cf36f3ae9 | [
"MIT"
] | 1 | 2020-08-27T17:01:00.000Z | 2020-08-27T17:01:00.000Z | OceanComponents/Classes/Components/NavigationBar/Ocean+NavigationBar.swift | Pagnet/ocean-ds-ios | f0ef037883ad0cb70011a06ad8148e6cf36f3ae9 | [
"MIT"
] | 1 | 2020-08-27T17:33:06.000Z | 2020-08-27T17:33:06.000Z | OceanComponents/Classes/Components/NavigationBar/Ocean+NavigationBar.swift | Pagnet/ocean-ds-ios | f0ef037883ad0cb70011a06ad8148e6cf36f3ae9 | [
"MIT"
] | 1 | 2020-08-26T17:07:59.000Z | 2020-08-26T17:07:59.000Z | //
// Ocean+NavigationBar.swift
// Blu
//
// Created by Pedro Azevedo on 27/02/21.
// Copyright © 2021 Blu. All rights reserved.
//
import OceanTokens
import UIKit
public protocol OceanNavigationBar: UIViewController {
var navigationBackImage: UIImage? { get }
var navigationTitle: String { get }
var navigationTintColor: UIColor { get }
var navigationBackButtonTitle: String { get }
var navigationBackgroundColor: UIColor? { get }
var navigationShadow: Bool { get }
var navigationLargeTitle: Bool { get }
}
public extension OceanNavigationBar {
var navigationBackImage: UIImage? {
return Ocean.icon.arrowLeftOutline?.tinted(with: navigationTintColor)
}
var navigationTitle: String {
return ""
}
var navigationTintColor: UIColor {
return Ocean.color.colorBrandPrimaryPure
}
var navigationBackButtonTitle: String {
return ""
}
var navigationBackgroundColor: UIColor? {
return Ocean.color.colorInterfaceLightPure
}
var navigationShadow: Bool {
return true
}
var navigationLargeTitle: Bool {
return false
}
func setupNavigation() {
navigationController?.navigationBar.tintColor = navigationTintColor
updateTitle(newTitle: navigationTitle)
let titleAttr = [
NSAttributedString.Key.foregroundColor: navigationTintColor,
NSAttributedString.Key.font: UIFont.init(name: Ocean.font.fontFamilyHighlightWeightExtraBold,
size: Ocean.font.fontSizeSm)!
]
let largeTitleAttr = [
NSAttributedString.Key.foregroundColor: navigationTintColor,
NSAttributedString.Key.font: UIFont.init(name: Ocean.font.fontFamilyHighlightWeightExtraBold,
size: Ocean.font.fontSizeMd)!
]
let navBarAppearance = UINavigationBarAppearance()
navBarAppearance.configureWithOpaqueBackground()
navBarAppearance.titleTextAttributes = titleAttr
navBarAppearance.largeTitleTextAttributes = largeTitleAttr
navBarAppearance.backgroundColor = navigationBackgroundColor
navBarAppearance.shadowImage = UIImage()
navBarAppearance.shadowColor = nil
navBarAppearance.setBackIndicatorImage(navigationBackImage, transitionMaskImage: navigationBackImage)
if navigationShadow {
navigationController?.navigationBar.ocean.shadow.applyLevel1()
navigationController?.navigationBar.layer.shadowOpacity = 0
}
navigationController?.navigationBar.standardAppearance = navBarAppearance
navigationController?.navigationBar.compactAppearance = navBarAppearance
navigationController?.navigationBar.scrollEdgeAppearance = navBarAppearance
navigationController?.navigationBar.prefersLargeTitles = navigationLargeTitle
navigationItem.backButtonTitle = navigationBackButtonTitle
self.navigationController?.navigationBar.setNeedsLayout()
self.navigationController?.navigationBar.layoutIfNeeded()
self.navigationController?.navigationBar.setNeedsDisplay()
}
func updateTitle(newTitle: String) {
navigationController?.title = newTitle
title = newTitle
navigationItem.title = newTitle
}
func showNavigation(animated: Bool = true) {
navigationController?.setNavigationBarHidden(false, animated: animated)
}
func hideNavigation(animated: Bool = true) {
navigationController?.setNavigationBarHidden(true, animated: animated)
}
func showNavigationShadow() {
navigationController?.navigationBar.layer.shadowOpacity = navigationShadow ? 1 : 0
}
func hideNavigationShadow() {
navigationController?.navigationBar.layer.shadowOpacity = 0
}
func showBackButton(animated: Bool = true) {
navigationItem.leftBarButtonItem = nil
navigationItem.setHidesBackButton(false, animated: animated)
}
func hideBackButton(animated: Bool = true) {
navigationItem.setHidesBackButton(true, animated: animated)
}
func addCloseButton(action: Selector?) {
let image = Ocean.icon.xOutline?.tinted(with: navigationTintColor)
navigationItem.leftBarButtonItem = UIBarButtonItem(image: image,
style: .plain,
target: self, action: action)
}
func addRightBarButtonItem(icon: UIImage? = Ocean.icon.dotsVerticalOutline,
icontTintColor: UIColor = Ocean.color.colorBrandPrimaryPure,
onTouch: Selector) {
let image = icon?.tinted(with: icontTintColor)
let barButtonItem = OceanBarButtonItem(image: image,
style: .plain,
target: self, action: nil)
barButtonItem.action = onTouch
navigationItem.rightBarButtonItem = barButtonItem
}
func addOptionsButton(options: [OceanNavigationBarOption]) {
let image = Ocean.icon.dotsVerticalOutline?.tinted(with: navigationTintColor)
let barButtonItem = OceanBarButtonItem(image: image,
style: .plain,
target: self, action: nil)
if #available(iOS 14.0, *) {
var children: [UIAction] = []
for item in options {
let action = UIAction(title: item.title, image: item.isDestructive ? item.image?.tinted(with: .systemRed) : item.image, attributes: item.isDestructive ? [.destructive] : [], handler: { _ in
item.action()
})
children.append(action)
}
barButtonItem.menu = UIMenu(title: "", children: children)
} else {
barButtonItem.options = options
barButtonItem.action = #selector(optionsClick(_:))
}
navigationItem.rightBarButtonItem = barButtonItem
}
func removeOptionsButton() {
navigationItem.rightBarButtonItem = nil
}
}
fileprivate extension UIViewController {
@objc func optionsClick(_ sender: Any) {
if let options = (sender as? OceanBarButtonItem)?.options {
let menu = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)
for item in options {
menu.addAction(UIAlertAction(title: item.title, style: item.isDestructive ? .destructive : .default, handler: { _ in
item.action()
}))
}
menu.addAction(UIAlertAction(title: "Cancelar", style: .cancel))
self.present(menu, animated: true, completion: nil)
}
}
}
| 38.538462 | 205 | 0.631024 |
6d882dbbcb247e85a0bf9723d60278554a5eb53a | 19,367 | h | C | include/craftd/protocols/survival/Packet.h | PrecipiceGames/craftd | 237b9ef3063736380414a459fe4261781570ef39 | [
"BSD-2-Clause"
] | 2 | 2015-07-08T08:22:13.000Z | 2016-04-23T13:34:46.000Z | include/craftd/protocols/survival/Packet.h | PrecipiceGames/craftd | 237b9ef3063736380414a459fe4261781570ef39 | [
"BSD-2-Clause"
] | null | null | null | include/craftd/protocols/survival/Packet.h | PrecipiceGames/craftd | 237b9ef3063736380414a459fe4261781570ef39 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2010-2011 Kevin M. Bowling, <[email protected]>, USA
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef CRAFTD_SURVIVAL_PACKET_H
#define CRAFTD_SURVIVAL_PACKET_H
#include <craftd/protocols/survival/common.h>
#define CRAFTD_PROTOCOL_VERSION (19)
typedef enum _SVPacketChain {
SVRequest,
SVResponse,
SVPing
} SVPacketChain;
typedef enum _SVPacketType {
SVKeepAlive = 0x00,
SVLogin = 0x01,
SVHandshake = 0x02,
SVChat = 0x03,
SVTimeUpdate = 0x04,
SVEntityEquipment = 0x05,
SVSpawnPosition = 0x06,
SVUseEntity = 0x07,
SVUpdateHealth = 0x08,
SVRespawn = 0x09,
SVOnGround = 0x0A,
SVPlayerPosition = 0x0B,
SVPlayerLook = 0x0C,
SVPlayerMoveLook = 0x0D,
SVPlayerDigging = 0x0E,
SVPlayerBlockPlacement = 0x0F,
SVHoldChange = 0x10,
SVUseBed = 0x11,
SVAnimation = 0x12,
SVEntityAction = 0x13,
SVNamedEntitySpawn = 0x14,
SVPickupSpawn = 0x15,
SVCollectItem = 0x16,
SVSpawnObject = 0x17,
SVSpawnMob = 0x18,
SVPainting = 0x19,
SVExperienceOrb = 0x1A,
SVStanceUpdate = 0x1B,
SVEntityVelocity = 0x1C,
SVEntityDestroy = 0x1D,
SVEntityCreate = 0x1E,
SVEntityRelativeMove = 0x1F,
SVEntityLook = 0x20,
SVEntityLookMove = 0x21,
SVEntityTeleport = 0x22,
SVEntityStatus = 0x26,
SVEntityAttach = 0x27,
SVEntityMetadata = 0x28,
SVEntityEffect = 0x29,
SVRemoveEntityEffect = 0x2A,
SVExperience = 0x2B,
SVPreChunk = 0x32,
SVMapChunk = 0x33,
SVMultiBlockChange = 0x34,
SVBlockChange = 0x35,
SVPlayNoteBlock = 0x36, //TODO: Needs to be changed to SVBlockAction
SVExplosion = 0x3C,
SVSoundEffect = 0x3D,
SVState = 0x46,
SVThunderbolt = 0x47,
SVOpenWindow = 0x64,
SVCloseWindow = 0x65,
SVWindowClick = 0x66,
SVSetSlot = 0x67,
SVWindowItems = 0x68,
SVUpdateProgressBar = 0x69,
SVTransaction = 0x6A,
SVCreativeInventoryAction = 0x6B,
SVUpdateSign = 0x82,
SVItemData = 0x83,
SVIncrementStatistic = 0xC8,
SVPlayerListItem = 0xC9,
SVListPing = 0xFE,
SVDisconnect = 0xFF
} SVPacketType;
/*
* Commonly used enums
*/
typedef enum _SVAnimationType {
SVNoAnimation = 0,
SVSwingArmAnimation = 1,
SVDamageAnimation = 2,
SVLeaveBedAnimation = 3,
SVUnknownAnimation = 102,
SVCrouchAnimation = 104,
SVUncrouchAnimation = 105
} SVAnimationType;
typedef enum _SVActionType {
SVCrouchAction = 1,
SVUncrouchAction = 2,
SVLeaveBedAction = 3,
SVStartSprintAction = 4,
SVStopSprintAction = 5
} SVActionType;
typedef enum _SVBlockFace {
SVFaceNegativeY = 0,
SVFacePositiveY = 1,
SVFaceNegativeZ = 2,
SVFacePositiveZ = 3,
SVFaceNegativeX = 4,
SVFacePositiveX = 5
} SVBlockFace;
typedef enum _SVEntityEffect {
SVIncreaseSpeed = 1,
SVDecreaseSpeed = 2,
SVIncreaseDigSpeed = 3,
SVDecreaseDigSpeed = 4,
SVDamageBoost = 5,
SVHeal = 6,
SVHarm = 7,
SVJump = 8,
SVConfusion = 9,
SVRegeneration = 10,
SVResistance = 11,
SVFireResistance = 12,
SVWaterBreathing = 13,
SVInvisibility = 14,
SVBlindness = 15,
SVNightVision = 16,
SVFoodPoisoning = 17,
SVWeakness = 18,
SVPoisoned = 19
} SVEffect;
typedef enum _SVDiggingStatus {
SVStartedDigging = 0,
SVDigging,
SVStoppedDigging = 2,
SVBlockBroken,
SVDropItem = 4,
SVArrowShot = 5
} SVDiggingStatus;
/*
* Packet stuff
*/
typedef struct _SVPacket {
SVPacketChain chain;
SVPacketType type;
CDPointer data;
} SVPacket;
typedef struct _SVPacketKeepAlive {
SVInteger keepAliveID;
} SVPacketKeepAlive;
typedef union _SVPacketLogin {
struct {
SVInteger version;
SVString username;
SVLong u1;
SVInteger u2;
SVByte u3;
SVByte u4;
SVByte u5;
SVByte u6;
} request;
struct {
SVInteger id;
SVString u1;
SVLong mapSeed;
SVInteger serverMode;
SVByte dimension;
SVByte u2;
SVUByte worldHeight;
SVUByte maxPlayers;
} response;
} SVPacketLogin;
typedef union _SVPacketHandshake {
struct {
SVString username;
} request;
struct {
SVString hash;
} response;
} SVPacketHandshake;
typedef union _SVPacketChat {
struct {
SVString message;
} request;
struct {
SVString message;
} response;
} SVPacketChat;
typedef union _SVPacketTimeUpdate {
struct {
SVLong time;
} response;
} SVPacketTimeUpdate;
typedef union _SVPacketEntityEquipment {
struct {
SVEntity entity;
SVShort slot;
SVShort item;
SVShort damage; // Still not sure about it
} response;
} SVPacketEntityEquipment;
typedef union _SVPacketSpawnPosition {
struct {
SVBlockPosition position;
} response;
} SVPacketSpawnPosition;
typedef union _SVPacketUseEntity {
struct {
SVInteger user;
SVInteger target;
SVBoolean leftClick;
} request;
} SVPacketUseEntity;
typedef union _SVPacketUpdateHealth {
struct {
SVShort health;
SVShort food;
SVFloat foodSaturation;
} response;
} SVPacketUpdateHealth;
typedef union _SVPacketRespawn {
struct { //Not entirely sure what is recieved, may be all 0's
SVByte world;
SVByte u1;
SVByte mode;
SVShort worldHeight;
SVLong mapSeed;
} request;
struct {
SVByte world;
SVByte u1;
SVByte mode;
SVShort worldHeight;
SVLong mapSeed;
} response;
} SVPacketRespawn;
typedef union _SVPacketOnGround {
struct {
SVBoolean onGround;
} request;
} SVPacketOnGround;
typedef union _SVPacketPlayerPosition {
struct {
SVPrecisePosition position;
SVDouble stance;
struct {
SVBoolean onGround;
} is;
} request;
} SVPacketPlayerPosition;
typedef union _SVPacketPlayerLook {
struct {
SVFloat yaw;
SVFloat pitch;
struct {
SVBoolean onGround;
} is;
} request;
} SVPacketPlayerLook;
typedef union _SVPacketPlayerMoveLook {
struct {
SVPrecisePosition position;
SVDouble stance;
SVFloat yaw;
SVFloat pitch;
struct {
SVBoolean onGround;
} is;
} request;
struct {
SVPrecisePosition position;
SVDouble stance;
SVFloat yaw;
SVFloat pitch;
struct {
SVBoolean onGround;
} is;
} response;
} SVPacketPlayerMoveLook;
typedef union _SVPacketPlayerDigging {
struct {
SVDiggingStatus status;
SVBlockPosition position;
SVBlockFace face;
} request;
} SVPacketPlayerDigging;
typedef union _SVPacketPlayerBlockPlacement {
struct {
SVBlockPosition position;
SVBlockFace direction;
SVItemStack item;
} request;
} SVPacketPlayerBlockPlacement;
typedef union _SVPacketHoldChange {
struct {
SVShort slot;
} request;
} SVPacketHoldChange;
typedef union _SVPacketUseBed {
struct {
SVEntity entity;
SVByte inBed;
SVBlockPosition position;
} response;
} SVPacketUseBed;
typedef union _SVPacketAnimation {
struct {
SVEntity entity;
SVAnimationType type;
} request;
struct {
SVEntity entity;
SVAnimationType type;
} response;
} SVPacketAnimation;
typedef union _SVPacketEntityAction {
struct {
SVEntity entity;
SVActionType type;
} request;
} SVPacketEntityAction;
typedef union _SVPacketNamedEntitySpawn {
struct {
SVEntity entity;
SVString name;
SVAbsolutePosition position;
SVByte rotation;
SVByte pitch;
SVShort itemId;
} response;
} SVPacketNamedEntitySpawn;
typedef union _SVPacketPickupSpawn {
struct {
SVEntity entity;
SVItemStack item;
SVAbsolutePosition position;
SVByte rotation;
SVByte pitch;
SVByte roll;
} response;
} SVPacketPickupSpawn;
typedef union _SVPacketCollectItem {
struct {
SVInteger collected;
SVInteger collector;
} response;
} SVPacketCollectItem;
typedef union _SVPacketSpawnObject {
struct {
SVEntity entity;
enum {
SVBoat = 1,
SVMinecart = 10,
SVStorageCart = 11,
SVPoweredCart = 12,
SVActivatedTNT = 50,
SVArrow = 60,
SVThrownSnowball = 61,
SVThrownEgg = 62,
SVFallingSand = 70,
SVFallingGravel = 71,
SVFishingFloat = 90
} type;
SVAbsolutePosition position;
SVInteger flag; //Unknown, if greater then 0, the next three shorts are sent
SVShort u1;
SVShort u2;
SVShort u3;
} response;
} SVPacketSpawnObject;
typedef union _SVPacketSpawnMob {
struct {
SVInteger id;
enum {
SVCreeper = 50, // metadata: possible values -1, 1
SVSkeleton = 51,
SVSpider = 52,
SVGiantZombie = 53,
SVZombie = 54,
SVSlime = 55,
SVGhast = 56,
SVZombiePigman = 57,
SVPig = 90, // metadata: possible values 0, 1
SVSheep = 91, // metadata: bit 0x10 indicates shearedness, the lower 4 bits indicate wool color.
SVCow = 92,
SVHen = 93,
SVSquid = 94,
SVWolf = 95
} type;
SVAbsolutePosition position;
SVByte yaw;
SVByte pitch;
SVMetadata* metadata;
} response;
} SVPacketSpawnMob;
typedef union _SVPacketPainting {
struct {
SVEntity entity;
SVString title;
SVBlockPosition position;
SVInteger direction;
} response;
} SVPacketPainting;
typedef union _SVPacketExperienceOrb {
struct {
SVEntity entity;
SVBlockPosition position;
SVShort count;
} response;
} SVPacketExperienceOrb;
typedef union _SVPacketStanceUpdate { //most likely not used
struct {
SVFloat u1;
SVFloat u2;
SVFloat u3;
SVFloat u4;
SVBoolean u5;
SVBoolean u6;
} request;
struct {
SVFloat u1;
SVFloat u2;
SVFloat u3;
SVFloat u4;
SVBoolean u5;
SVBoolean u6;
} response;
} SVPacketStanceUpdate;
typedef union _SVPacketEntityVelocity {
struct {
SVEntity entity;
SVVelocity velocity;
} response;
} SVPacketEntityVelocity;
typedef union _SVPacketEntityDestroy {
struct {
SVEntity entity;
} response;
} SVPacketEntityDestroy;
typedef union _SVPacketEntityCreate {
struct {
SVEntity entity;
} response;
} SVPacketEntityCreate;
typedef union _SVPacketEntityRelativeMove {
struct {
SVEntity entity;
SVRelativePosition position;
} response;
} SVPacketEntityRelativeMove;
typedef union _SVPacketEntityLook {
struct {
SVEntity entity;
SVByte yaw;
SVByte pitch;
} response;
} SVPacketEntityLook;
typedef union _SVPacketEntityLookMove {
struct {
SVEntity entity;
SVRelativePosition position;
SVByte yaw;
SVByte pitch;
} response;
} SVPacketEntityLookMove;
typedef union _SVPacketEntityTeleport {
struct {
SVEntity entity;
SVAbsolutePosition position;
SVByte rotation;
SVByte pitch;
} response;
} SVPacketEntityTeleport;
typedef union _SVPacketEntityStatus { // Not sure yet
struct {
SVEntity entity;
enum {
SVDrowning = 2,
SVDead = 3
} status;
} response;
} SVPacketEntityStatus;
typedef union _SVPacketEntityAttach {
struct {
SVEntity entity;
SVEntity vehicle;
} response;
} SVPacketEntityAttach;
typedef union _SVPacketEntityMetadata {
struct {
SVEntity entity;
SVMetadata* metadata;
} request;
struct {
SVEntity entity;
SVMetadata* metadata;
} response;
} SVPacketEntityMetadata;
typedef union _SVPacketEntityEffect {
struct {
SVEntity entity;
SVEffect effect;
SVByte amplifier;
SVShort duration;
} request;
struct {
SVEntity entity;
SVEffect effect;
SVByte amplifier;
SVShort duration;
} response;
} SVPacketEntityEffect;
typedef union _SVPacketRemoveEntityEffect {
struct {
SVEntity entity;
SVEffect effect;
} request;
struct {
SVEntity entity;
SVEffect effect;
} response;
} SVPacketRemoveEntityEffect;
typedef union _SVPacketExperience {
struct {
SVByte currentExperience;
SVByte level;
SVShort totalExperience;
} response;
} SVPacketExperience;
typedef union _SVPacketPreChunk {
struct {
SVChunkPosition position;
SVBoolean mode;
} response;
} SVPacketPreChunk;
typedef union _SVPacketMapChunk {
struct {
SVBlockPosition position;
SVSize size;
SVInteger length;
SVByte* item;
} response;
} SVPacketMapChunk;
typedef union _SVPacketMultiBlockChange {
struct {
SVChunkPosition position;
SVShort length;
SVShort* coordinate;
SVByte* type;
SVByte* metadata;
} response;
} SVPacketMultiBlockChange;
typedef union _SVPacketBlockChange {
struct {
SVBlockPosition position;
SVByte type;
SVByte metadata;
} response;
} SVPacketBlockChange;
typedef union _SVPacketPlayNoteBlock { //TODO: need to be renamed to _SVBlockAction
struct {
SVBlockPosition position;
/**
* Instrument Type (0-4)
* Piston State (0-1)
*/
SVByte data1;
/**
* Pitch (0-24)
* Pushing Direction (0-5)
*/
SVByte data2;
} response;
} SVPacketPlayNoteBlock;
typedef union _SVPacketExplosion { // Not sure yet
struct {
SVPrecisePosition position;
SVFloat radius; // unsure
SVInteger length;
SVRelativePosition* item;
} response;
} SVPacketExplosion;
typedef union _SVPacketSoundEffect {
struct {
enum {
SVClick1 = 1001,
SVClick2 = 1000,
SVFireBow = 1002,
SVDoorToggle = 1003,
SVExtinguish = 1004,
SVPlayRecord = 1005,
SVSmoke = 2000,
SVBlockBreak = 2001
} effect; //int
SVBlockPosition position;
enum {
SVSouthEast = 0,
SVSouth = 1,
SVSouthWest = 2,
SVEast = 3,
SVCenter = 4,
SVWest = 5,
SVNorthEast = 6,
SVNorth = 7,
SVNorthWest = 8
} data; //int
} response;
} SVPacketSoundEffect;
typedef union _SVPacketState {
struct {
//0-Invalid Bed 1/2-Start/Stop Rain 3-Game Mode
SVByte reason;
//0-survival 1-creative
SVByte gameMode;
} response;
} SVPacketState;
typedef union _SVPacketThunderbolt {
struct {
SVEntity entity;
SVBoolean u1; //always true
SVAbsolutePosition position;
} response;
} SVPacketThunderbolt;
typedef union _SVPacketOpenWindow {
struct {
SVByte id;
enum {
SVChest,
SVWorkbench,
SVFurnace,
SVDispenser
} type;
SVString title;
SVByte slots;
} response;
} SVPacketOpenWindow;
typedef union _SVPacketCloseWindow {
struct {
SVByte id;
} request;
struct {
SVByte id;
} response;
} SVPacketCloseWindow;
typedef union _SVPacketWindowClick {
struct {
SVByte id;
SVShort slot;
SVBoolean rightClick;
SVShort action;
SVBoolean shiftPressed;
SVItemStack item; // if the first of the 3 values is -1 the packet ends there
} request;
} SVPacketWindowClick;
typedef union _SVPacketSetSlot {
struct {
SVByte windowId;
SVItemStack item;
} response;
} SVPacketSetSlot;
typedef union _SVPacketWindowItems {
struct {
SVByte id;
SVShort length;
SVItemStack* item;
} response;
} SVPacketWindowItems;
typedef union _SVPacketUpdateProgressBar {
struct {
SVByte id;
SVShort bar;
SVShort value;
} response;
} SVPacketUpdateProgressBar;
typedef union _SVPacketTransaction {
struct {
SVByte id;
SVShort action;
SVBoolean accepted;
} request;
struct {
SVByte id;
SVShort action;
SVBoolean accepted;
} response;
} SVPacketTransaction;
typedef union _SVPacketCreativeInventoryAction {
struct {
SVShort slot;
SVShort itemId;
SVShort quantity;
SVShort damage;
} request;
struct {
SVShort slot;
SVShort itemId;
SVShort quantity;
SVShort damage;
} response;
} SVPacketCreativeInventoryAction;
typedef union _SVPacketUpdateSign {
struct {
SVBlockPosition position;
SVString first;
SVString second;
SVString third;
SVString fourth;
} request;
struct {
SVBlockPosition position;
SVString first;
SVString second;
SVString third;
SVString fourth;
} response;
} SVPacketUpdateSign;
typedef union _SVPacketItemData {
struct {
SVShort itemType;
SVShort itemId;
SVByte textLength; //This is unsigned!
SVByte* text;
} response;
} SVPacketItemData;
typedef union _SVPacketIncrementStatistic {
struct {
SVInteger id;
SVByte amount;
} request;
struct {
SVInteger id;
SVByte amount;
} response;
} SVPacketIncrementStatistic;
typedef union _SVPacketPlayerListItem {
struct {
SVString playerName;
SVBoolean online;
SVShort ping; //in milliseconds
} response;
} SVPacketPlayerListItem;
typedef struct _SVPacketListPing {
char empty;
} SVPacketListPing;
typedef union _SVPacketDisconnect {
struct {
SVString reason;
} request;
struct {
SVString reason;
} response;
struct {
SVString description;
} ping;
} SVPacketDisconnect;
/**
* Create a Packet from a Buffers object
*
* @param input The Buffer to read from
*
* @return The instantiated Packet object
*/
SVPacket* SV_PacketFromBuffers (CDBuffers* buffers, bool isResponse);
/**
* Destroy a Packet object
*/
void SV_DestroyPacket (SVPacket* self);
/**
* Destroy Packet data
*/
void SV_DestroyPacketData (SVPacket* self);
/**
* Generate a SVPacket* object from the given bufferevent and return it.
*
* This is used internally by SV_PacketFromEvent but can be used in other situations.
*
* @param input The Buffer where the input lays
*
* @return The instantiated Object cast to (CDPointer)
*/
CDPointer SV_GetPacketDataFromBuffer (SVPacket* self, CDBuffer* input);
/**
* Generate a Buffer version of the packet to send through the net
*
* @return The raw packet data
*/
CDBuffer* SV_PacketToBuffer (SVPacket* self);
#endif
| 20.06943 | 111 | 0.673155 |
60ce6a3aa97cbe28106d6122059537a7113d5831 | 60,900 | css | CSS | module.min.css | JoopSoft/JSImageRotator | 6f9489f25f93db73c1d121f26bbe669ad06d1e56 | [
"MIT"
] | null | null | null | module.min.css | JoopSoft/JSImageRotator | 6f9489f25f93db73c1d121f26bbe669ad06d1e56 | [
"MIT"
] | null | null | null | module.min.css | JoopSoft/JSImageRotator | 6f9489f25f93db73c1d121f26bbe669ad06d1e56 | [
"MIT"
] | null | null | null | @keyframes roll{0%{transform:rotate(0);}100%{transform:rotate(360deg);}}.JSRotator *{-webkit-box-sizing:border-box !important;-moz-box-sizing:border-box !important;-o-box-sizing:border-box !important;box-sizing:border-box !important;}.JSRotator .link-dev{float:right;font-size:12px;color:#fff;margin-top:6px;}.JSRotator .dnnForm fieldset{border:none;margin:0;padding:0;margin-bottom:10px;float:left;clear:both;width:100%;}.JSRotator .dnnForm .fieldset{float:left;padding:15px 0;margin:0;width:100%;}.JSRotator .dnnForm .fieldset:nth-child(even){background:rgba(59,30,119,.05);}.JSRotator .dnnForm .form-control{width:45%;height:35px;line-height:normal;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;box-shadow:none;}.JSRotator .dnnForm .form-control.teaser-txt{height:70px;}.JSRotator .dnnForm .form-control.body-txt{height:150px;}.JSRotator .dnnForm h1,.JSRotator .dnnForm h2,.JSRotator .dnnForm h3,.JSRotator .dnnForm h4,.JSRotator .dnnForm h5,.JSRotator .dnnForm h6{color:#3b1e77;}.JSRotator .dnnForm h3{font-size:1.571em;}.JSRotator .dnnForm h4{font-size:1.286em;}.JSRotator .dnnForm .dnnFormSectionHead{border-bottom:none;}.JSRotator .dnnForm .dnnFormSectionHead span{font-size:inherit;color:#fff;}.JSRotator .dnnForm .dnnFormSectionHead .dnnFormMessage{margin:0 0 30px;padding:15px;background-size:30px;font-weight:normal;line-height:normal;border:none;max-width:100%;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;}.JSRotator .dnnForm .dnnFormSectionHead .dnnFormMessage.dnnFormTitle{color:#fff;background-color:rgba(59,30,119,.8);}.JSRotator .dnnForm .dnnFormSectionHead .dnnFormMessage.dnnFormTitle.dnnFormIcon{padding:15px 15px 15px 55px;background-image:url(Images/Icons/h-icon.png);background-repeat:no-repeat;background-position:15px center;}.JSRotator .dnnForm .dnnFormSectionHead .dnnFormMessage.dnnFormInfo{color:#fff;background:rgba(59,30,119,.5);}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu{display:inline-block;margin:0;}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu .dnnFormTitle{float:left;background-color:rgba(59,30,119,.7);}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu .dnnFormTitle.error{background-color:#d9534f;}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu .dnnFormTitle.success{background-color:#27ae60;}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu .dnnFormMessage{padding:0 15px;min-width:45px;width:100%;height:45px;line-height:45px;font-size:1.286em;}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu .dnnFormMessage.no-controls{width:100%;}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu .dnnFormMessage.one-control{width:calc(100% - 45px);}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu .dnnFormMessage.two-controls{width:calc(100% - 90px);}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu .dnnFormMessage.three-controls{width:calc(100% - 135px);}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu .dnnFormMessage.four-controls{width:calc(100% - 180px);}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu a.btn{float:left;padding:0;margin:0;min-width:45px;height:45px;line-height:45px;font-size:1.286em;text-align:center;}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu a.btn.error{background-color:#d9534f;}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu a.btn.error:hover{background-color:rgba(217,83,79,.8);}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu a.btn.success{background-color:#27ae60;}.JSRotator .dnnForm .dnnFormSectionHead .JSRotatorMenu a.btn.success:hover{background-color:rgba(39,174,96,.8);}.JSRotator .dnnForm .dnnFormSectionHead .no-spacing{margin:0;}.JSRotator .dnnForm input[type=checkbox],.JSRotator .dnnForm input[type=radio]{visibility:hidden;display:none;}.JSRotator .dnnForm .dnnCheckbox img{display:inline-block;width:20px;height:18px;min-width:20px;vertical-align:middle;}.JSRotator .dnnForm .dnnCheckbox img{background:transparent url(Images/Icons/checkbox.png) no-repeat;}.JSRotator .dnnForm .dnnCheckbox img{background-position:0 0;}.JSRotator .dnnForm .dnnCheckbox-checked img{background-position:-50px 0;}.JSRotator .dnnForm .dnnCheckbox-disabled img{opacity:.5;}.JSRotator .dnnForm .dnnRadiobutton img{width:20px;height:18px;min-width:20px;vertical-align:middle;}.JSRotator .dnnForm .dnnRadiobutton img{background:transparent url(Images/Icons/radiobutton.png) no-repeat;}.JSRotator .dnnForm .dnnRadiobutton img{background-position:0 0;}.JSRotator .dnnForm .dnnRadiobutton-checked img{background-position:-50px 0;}.JSRotator .dnnForm .dnnRadiobutton-disabled img{opacity:.5;}.JSRotator .dnnForm .dnnFormItem{margin-top:15px;float:left;}.JSRotator .dnnForm .dnnFormItem:first-child{margin-top:0;}.JSRotator .dnnForm .dnnFormItem .rotator-image{width:auto;height:35px;float:left;}.JSRotator .dnnForm .dnnFormItem .btn{line-height:normal;border:none;padding:10px 15px;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;-webkit-transition:all 300ms ease-out;-moz-transition:all 300ms ease-out;-o-transition:all 300ms ease-out;transition:all 300ms ease-out;}.JSRotator .dnnForm .dnnFormItem .btn.btn-primary{background-color:rgba(59,30,119,.7);}.JSRotator .dnnForm .dnnFormItem .btn.btn-primary:hover,.JSRotator .dnnForm .dnnFormItem .btn.btn-primary:focus,.JSRotator .dnnForm .dnnFormItem .btn.btn-primary:active{background-color:rgba(59,30,119,.8);}.JSRotator .dnnForm .dnnFormItem .btn.btn-primary.disabled{background-color:rgba(59,30,119,.7);color:rgba(255,255,255,.7);opacity:.5;cursor:default;}.JSRotator .dnnForm .dnnFormItem .btn.btn-primary.disabled:hover{background-color:rgba(59,30,119,.7);}.JSRotator .dnnForm .dnnFormItem .btn.btn-default{color:rgba(59,30,119,.7);background:rgba(59,30,119,.15);}.JSRotator .dnnForm .dnnFormItem .btn.btn-default:hover,.JSRotator .dnnForm .dnnFormItem .btn.btn-default:focus,.JSRotator .dnnForm .dnnFormItem .btn.btn-default:active{color:#fff;background-color:rgba(59,30,119,.7);}.JSRotator .dnnForm .dnnFormItem .btn:hover,.JSRotator .dnnForm .dnnFormItem .btn:focus,.JSRotator .dnnForm .dnnFormItem .btn:active{border:none;outline:none;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;box-shadow:none;}.JSRotator .dnnForm .dnnFormItem .btn.no_more{color:rgba(255,255,255,.35) !important;background:rgba(59,30,119,.7);cursor:not-allowed;}.JSRotator .dnnForm .dnnFormItem .btn.no_more:hover,.JSRotator .dnnForm .dnnFormItem .btn.no_more:focus{background:rgba(59,30,119,.7);}.JSRotator .dnnForm .dnnFormItem .btn.active_page{background-color:rgba(59,30,119,.8);}.JSRotator .dnnForm .dnnFormItem .btn[disabled=disabled],.JSRotator .dnnForm .dnnFormItem .btn.aspNetDisabled,.JSRotator .dnnForm .dnnFormItem .btn.dnnDisabled{color:rgba(255,255,255,.5);}.JSRotator .dnnForm .dnnFormItem .btn[disabled=disabled]:hover,.JSRotator .dnnForm .dnnFormItem .btn.aspNetDisabled:hover,.JSRotator .dnnForm .dnnFormItem .btn.dnnDisabled:hover{background-color:rgba(59,30,119,.7);}.JSRotator .dnnForm .dnnFormItem select>option{color:#3b1e77;}.JSRotator .dnnForm .dnnFormItem label span,.JSRotator .dnnForm .dnnFormItem .dnnBoxLabel{color:rgba(59,30,119,.7);font-weight:bold;}.JSRotator .dnnForm .dnnFormItem>.dnnLabel,.JSRotator .dnnForm .dnnFormItem .dnnLabel{margin-top:5px;}.JSRotator .dnnForm .dnnFormItem>.dnnLabel+span,.JSRotator .dnnForm .dnnFormItem .dnnLabel+span{margin-top:0;margin-bottom:0;}.JSRotator .dnnForm .dnnFormItem.popup{position:fixed;top:0;left:0;margin:0;text-align:center;background:rgba(255,255,255,.7);width:100%;height:100%;z-index:9998;}.JSRotator .dnnForm .dnnFormItem.popup.confirm-box .popup-wrapper{top:calc((100% - 315px)/2);}.JSRotator .dnnForm .dnnFormItem.popup.auto-close-box .popup-wrapper{top:calc((100% - 275px)/2);}.JSRotator .dnnForm .dnnFormItem.popup.overlay .popup-wrapper{top:calc((100% - 520px)/2);position:relative;}.JSRotator .dnnForm .dnnFormItem.popup.overlay .popup-wrapper .popup-icon{color:rgba(59,30,119,.7);}.JSRotator .dnnForm .dnnFormItem.popup.overlay .popup-wrapper h1,.JSRotator .dnnForm .dnnFormItem.popup.overlay .popup-wrapper h2,.JSRotator .dnnForm .dnnFormItem.popup.overlay .popup-wrapper h3,.JSRotator .dnnForm .dnnFormItem.popup.overlay .popup-wrapper h4,.JSRotator .dnnForm .dnnFormItem.popup.overlay .popup-wrapper h5,.JSRotator .dnnForm .dnnFormItem.popup.overlay .popup-wrapper h6{color:rgba(59,30,119,.7);}.JSRotator .dnnForm .dnnFormItem.popup.overlay .popup-wrapper input[type=text]{height:100px;}.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper{position:relative;width:60%;left:20%;padding:15px;}.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper h1,.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper h2,.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper h3,.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper h4,.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper h5,.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper h6{border:none;padding:0;margin:0;}.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper .popup-icon{display:block;float:none;margin:0;}.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper .popup-icon .fa{font-size:15em;text-shadow:0 1px 0 #ccc,0 2px 0 #c9c9c9,0 3px 0 #bbb,0 4px 0 #b9b9b9,0 5px 0 #aaa,0 6px 1px rgba(0,0,0,.1),0 0 5px rgba(0,0,0,.1),0 1px 3px rgba(0,0,0,.3),0 3px 5px rgba(0,0,0,.2),0 5px 10px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.2),0 20px 20px rgba(0,0,0,.15);}.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper .popup-msg{display:block;margin:10px 0 0 0;word-wrap:break-word;word-break:break-all;}.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper .btn-group{margin-top:15px;}.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper .btn-group .btn{margin:0;}.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper .btn{border:none;margin:15px 0 0 0;float:none;}.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper .progress-bar{position:absolute;left:0;bottom:0;width:0;height:2px;-webkit-transition:width 3000ms ease-out;-moz-transition:width 3000ms ease-out;-o-transition:width 3000ms ease-out;transition:width 3000ms ease-out;-webkit-transition-delay:0;-moz-transition-delay:0;-o-transition-delay:0;transition-delay:0;}.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper .close-action{position:absolute;background-color:transparent;color:rgba(59,30,119,.7);border:none;top:-70px;right:-70px;padding:0;margin:0;width:70px;height:70px;line-height:70px;}.JSRotator .dnnForm .dnnFormItem.popup .popup-wrapper .close-action:hover{background-color:rgba(59,30,119,.7);color:#fff;}.JSRotator .dnnForm .dnnFormItem.popup.success .popup-wrapper .popup-icon{color:#27ae60;}.JSRotator .dnnForm .dnnFormItem.popup.success .popup-wrapper h1,.JSRotator .dnnForm .dnnFormItem.popup.success .popup-wrapper h2,.JSRotator .dnnForm .dnnFormItem.popup.success .popup-wrapper h3,.JSRotator .dnnForm .dnnFormItem.popup.success .popup-wrapper h4,.JSRotator .dnnForm .dnnFormItem.popup.success .popup-wrapper h5,.JSRotator .dnnForm .dnnFormItem.popup.success .popup-wrapper h6{color:#27ae60;}.JSRotator .dnnForm .dnnFormItem.popup.success .popup-wrapper .btn.close-action:hover{background-color:#27ae60;}.JSRotator .dnnForm .dnnFormItem.popup.success .popup-wrapper .progress-bar{background:#27ae60;}.JSRotator .dnnForm .dnnFormItem.popup.success .popup-wrapper .close-action{color:#27ae60;}.JSRotator .dnnForm .dnnFormItem.popup.success .popup-wrapper .close-action:hover{color:#fff;background-color:#27ae60;}.JSRotator .dnnForm .dnnFormItem.popup.warning .popup-wrapper .popup-icon{color:#d9534f;}.JSRotator .dnnForm .dnnFormItem.popup.warning .popup-wrapper h1,.JSRotator .dnnForm .dnnFormItem.popup.warning .popup-wrapper h2,.JSRotator .dnnForm .dnnFormItem.popup.warning .popup-wrapper h3,.JSRotator .dnnForm .dnnFormItem.popup.warning .popup-wrapper h4,.JSRotator .dnnForm .dnnFormItem.popup.warning .popup-wrapper h5,.JSRotator .dnnForm .dnnFormItem.popup.warning .popup-wrapper h6{color:#d9534f;}.JSRotator .dnnForm .dnnFormItem.popup.warning .popup-wrapper .btn.close-action:hover{background-color:#d9534f;}.JSRotator .dnnForm .dnnFormItem.popup.warning .popup-wrapper .progress-bar{background:#d9534f;}.JSRotator .dnnForm .dnnFormItem.popup.warning .popup-wrapper .close-action{color:#d9534f;}.JSRotator .dnnForm .dnnFormItem.popup.warning .popup-wrapper .close-action:hover{color:#fff;background-color:#d9534f;}.JSRotator .dnnForm .dnnFormItem.group{float:left;}.JSRotator .dnnForm .dnnFormItem.group .dnnCheckbox,.JSRotator .dnnForm .dnnFormItem.group .dnnRadiobutton{float:left;}.JSRotator .dnnForm .dnnFormItem.group input[type="text"],.JSRotator .dnnForm .dnnFormItem.group select,.JSRotator .dnnForm .dnnFormItem.group textarea,.JSRotator .dnnForm .dnnFormItem.group input[type="email"],.JSRotator .dnnForm .dnnFormItem.group input[type="search"],.JSRotator .dnnForm .dnnFormItem.group input[type="number"],.JSRotator .dnnForm .dnnFormItem.group input[type="date"]{float:left;height:35px;line-height:35px;width:50%;max-width:450px;}.JSRotator .dnnForm .dnnFormItem.group input[type="text"].grouped,.JSRotator .dnnForm .dnnFormItem.group select.grouped,.JSRotator .dnnForm .dnnFormItem.group textarea.grouped,.JSRotator .dnnForm .dnnFormItem.group input[type="email"].grouped,.JSRotator .dnnForm .dnnFormItem.group input[type="search"].grouped,.JSRotator .dnnForm .dnnFormItem.group input[type="number"].grouped,.JSRotator .dnnForm .dnnFormItem.group input[type="date"].grouped{border-right:none;}.JSRotator .dnnForm .dnnFormItem.group input[type="text"].grouped.squared-box,.JSRotator .dnnForm .dnnFormItem.group select.grouped.squared-box,.JSRotator .dnnForm .dnnFormItem.group textarea.grouped.squared-box,.JSRotator .dnnForm .dnnFormItem.group input[type="email"].grouped.squared-box,.JSRotator .dnnForm .dnnFormItem.group input[type="search"].grouped.squared-box,.JSRotator .dnnForm .dnnFormItem.group input[type="number"].grouped.squared-box,.JSRotator .dnnForm .dnnFormItem.group input[type="date"].grouped.squared-box{width:calc(50% - 45px);max-width:405px;margin-right:10px;border:1px solid rgba(59,30,119,.25);}.JSRotator .dnnForm .dnnFormItem.group input[type="text"].grouped.squared-box:focus,.JSRotator .dnnForm .dnnFormItem.group select.grouped.squared-box:focus,.JSRotator .dnnForm .dnnFormItem.group textarea.grouped.squared-box:focus,.JSRotator .dnnForm .dnnFormItem.group input[type="email"].grouped.squared-box:focus,.JSRotator .dnnForm .dnnFormItem.group input[type="search"].grouped.squared-box:focus,.JSRotator .dnnForm .dnnFormItem.group input[type="number"].grouped.squared-box:focus,.JSRotator .dnnForm .dnnFormItem.group input[type="date"].grouped.squared-box:focus{border:1px solid #3b1e77;}.JSRotator .dnnForm .dnnFormItem.group input[type="text"].ungrouped,.JSRotator .dnnForm .dnnFormItem.group select.ungrouped,.JSRotator .dnnForm .dnnFormItem.group textarea.ungrouped,.JSRotator .dnnForm .dnnFormItem.group input[type="email"].ungrouped,.JSRotator .dnnForm .dnnFormItem.group input[type="search"].ungrouped,.JSRotator .dnnForm .dnnFormItem.group input[type="number"].ungrouped,.JSRotator .dnnForm .dnnFormItem.group input[type="date"].ungrouped{border:1px solid rgba(59,30,119,.25);}.JSRotator .dnnForm .dnnFormItem.group input[type="text"].ungrouped:focus,.JSRotator .dnnForm .dnnFormItem.group select.ungrouped:focus,.JSRotator .dnnForm .dnnFormItem.group textarea.ungrouped:focus,.JSRotator .dnnForm .dnnFormItem.group input[type="email"].ungrouped:focus,.JSRotator .dnnForm .dnnFormItem.group input[type="search"].ungrouped:focus,.JSRotator .dnnForm .dnnFormItem.group input[type="number"].ungrouped:focus,.JSRotator .dnnForm .dnnFormItem.group input[type="date"].ungrouped:focus{border:1px solid #3b1e77;}.JSRotator .dnnForm .dnnFormItem.group input[type="text"].cb-group,.JSRotator .dnnForm .dnnFormItem.group select.cb-group,.JSRotator .dnnForm .dnnFormItem.group textarea.cb-group,.JSRotator .dnnForm .dnnFormItem.group input[type="email"].cb-group,.JSRotator .dnnForm .dnnFormItem.group input[type="search"].cb-group,.JSRotator .dnnForm .dnnFormItem.group input[type="number"].cb-group,.JSRotator .dnnForm .dnnFormItem.group input[type="date"].cb-group{width:calc(50% - 30px);max-width:420px;}.JSRotator .dnnForm .dnnFormItem.group input[type="text"].txt-img-url,.JSRotator .dnnForm .dnnFormItem.group select.txt-img-url,.JSRotator .dnnForm .dnnFormItem.group textarea.txt-img-url,.JSRotator .dnnForm .dnnFormItem.group input[type="email"].txt-img-url,.JSRotator .dnnForm .dnnFormItem.group input[type="search"].txt-img-url,.JSRotator .dnnForm .dnnFormItem.group input[type="number"].txt-img-url,.JSRotator .dnnForm .dnnFormItem.group input[type="date"].txt-img-url{margin-left:10px;}.JSRotator .dnnForm .dnnFormItem.group .btn{float:left;padding:0 10px;height:35px;line-height:35px;min-width:35px;text-align:center;}.JSRotator .dnnForm .dnnFormItem.group .btn-group{float:left;}.JSRotator .dnnForm .dnnFormItem.group .btn-group.cb-group{width:calc(50% - 30px) !important;max-width:420px;}.JSRotator .dnnForm .dnnFormItem .input-group{display:block;}.JSRotator .dnnForm .dnnFormItem .input-group .input-group-addon{float:left;width:35px;height:35px;line-height:35px;padding:0;background-color:transparent;border:1px solid rgba(59,30,119,.25);-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;}.JSRotator .dnnForm .dnnFormItem .input-group .input-group-addon i{height:33px;vertical-align:top;width:33px;}.JSRotator .dnnForm .dnnFormItem .txt-error-validate{font-style:italic;position:absolute;top:5px;left:calc(32.075% + 355px - 18px);color:#fff;background:#d9534f;height:25px;line-height:25px;min-width:110px;text-align:center;}.JSRotator .dnnForm.controls{margin:0;padding:10px 0 0 0;border-top:1px solid rgba(59,30,119,.25);float:left;}.JSRotator .dnnForm.add-img,.JSRotator .dnnForm.select,.JSRotator .dnnForm.edit,.JSRotator .dnnForm.settings{font-size:14px;min-height:475px;}.JSRotator .dnnForm.add-img .dnnFormItem button,.JSRotator .dnnForm.add-img .dnnFormItem input[type="button"],.JSRotator .dnnForm.add-img .dnnFormItem input[type="reset"],.JSRotator .dnnForm.add-img .dnnSecondaryAction,.JSRotator .dnnForm.add-img a.dnnSecondaryAction,.JSRotator .dnnForm.add-img ul.dnnAdminTabNav li a,.JSRotator .dnnForm.add-img .dnnLogin .LoginTabGroup span,.JSRotator .dnnForm.select .dnnFormItem button,.JSRotator .dnnForm.select .dnnFormItem input[type="button"],.JSRotator .dnnForm.select .dnnFormItem input[type="reset"],.JSRotator .dnnForm.select .dnnSecondaryAction,.JSRotator .dnnForm.select a.dnnSecondaryAction,.JSRotator .dnnForm.select ul.dnnAdminTabNav li a,.JSRotator .dnnForm.select .dnnLogin .LoginTabGroup span,.JSRotator .dnnForm.edit .dnnFormItem button,.JSRotator .dnnForm.edit .dnnFormItem input[type="button"],.JSRotator .dnnForm.edit .dnnFormItem input[type="reset"],.JSRotator .dnnForm.edit .dnnSecondaryAction,.JSRotator .dnnForm.edit a.dnnSecondaryAction,.JSRotator .dnnForm.edit ul.dnnAdminTabNav li a,.JSRotator .dnnForm.edit .dnnLogin .LoginTabGroup span,.JSRotator .dnnForm.settings .dnnFormItem button,.JSRotator .dnnForm.settings .dnnFormItem input[type="button"],.JSRotator .dnnForm.settings .dnnFormItem input[type="reset"],.JSRotator .dnnForm.settings .dnnSecondaryAction,.JSRotator .dnnForm.settings a.dnnSecondaryAction,.JSRotator .dnnForm.settings ul.dnnAdminTabNav li a,.JSRotator .dnnForm.settings .dnnLogin .LoginTabGroup span{margin:0;padding:0 10px;height:35px;line-height:35px;min-width:35px;color:#fff;background:rgba(59,30,119,.7);font-family:inherit;font-weight:normal;border:none;text-decoration:none;text-shadow:none;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;box-shadow:none;}.JSRotator .dnnForm.add-img .dnnFormItem button:hover,.JSRotator .dnnForm.add-img .dnnFormItem input[type="button"]:hover,.JSRotator .dnnForm.add-img .dnnFormItem input[type="reset"]:hover,.JSRotator .dnnForm.add-img .dnnSecondaryAction:hover,.JSRotator .dnnForm.add-img a.dnnSecondaryAction:hover,.JSRotator .dnnForm.add-img ul.dnnAdminTabNav li a:hover,.JSRotator .dnnForm.add-img .dnnLogin .LoginTabGroup span:hover,.JSRotator .dnnForm.select .dnnFormItem button:hover,.JSRotator .dnnForm.select .dnnFormItem input[type="button"]:hover,.JSRotator .dnnForm.select .dnnFormItem input[type="reset"]:hover,.JSRotator .dnnForm.select .dnnSecondaryAction:hover,.JSRotator .dnnForm.select a.dnnSecondaryAction:hover,.JSRotator .dnnForm.select ul.dnnAdminTabNav li a:hover,.JSRotator .dnnForm.select .dnnLogin .LoginTabGroup span:hover,.JSRotator .dnnForm.edit .dnnFormItem button:hover,.JSRotator .dnnForm.edit .dnnFormItem input[type="button"]:hover,.JSRotator .dnnForm.edit .dnnFormItem input[type="reset"]:hover,.JSRotator .dnnForm.edit .dnnSecondaryAction:hover,.JSRotator .dnnForm.edit a.dnnSecondaryAction:hover,.JSRotator .dnnForm.edit ul.dnnAdminTabNav li a:hover,.JSRotator .dnnForm.edit .dnnLogin .LoginTabGroup span:hover,.JSRotator .dnnForm.settings .dnnFormItem button:hover,.JSRotator .dnnForm.settings .dnnFormItem input[type="button"]:hover,.JSRotator .dnnForm.settings .dnnFormItem input[type="reset"]:hover,.JSRotator .dnnForm.settings .dnnSecondaryAction:hover,.JSRotator .dnnForm.settings a.dnnSecondaryAction:hover,.JSRotator .dnnForm.settings ul.dnnAdminTabNav li a:hover,.JSRotator .dnnForm.settings .dnnLogin .LoginTabGroup span:hover{background:rgba(59,30,119,.8);}.JSRotator .dnnForm.add-img a.dnnFormHelp,.JSRotator .dnnForm.select a.dnnFormHelp,.JSRotator .dnnForm.edit a.dnnFormHelp,.JSRotator .dnnForm.settings a.dnnFormHelp{color:rgba(59,30,119,.7);background:none;top:0;width:auto;height:auto;font-weight:normal;}.JSRotator .dnnForm.add-img .dnnFormItem input[type="checkbox"]+span,.JSRotator .dnnForm.add-img .dnnFormItem input[type="radio"]+span,.JSRotator .dnnForm.select .dnnFormItem input[type="checkbox"]+span,.JSRotator .dnnForm.select .dnnFormItem input[type="radio"]+span,.JSRotator .dnnForm.edit .dnnFormItem input[type="checkbox"]+span,.JSRotator .dnnForm.edit .dnnFormItem input[type="radio"]+span,.JSRotator .dnnForm.settings .dnnFormItem input[type="checkbox"]+span,.JSRotator .dnnForm.settings .dnnFormItem input[type="radio"]+span{margin:5px;}.JSRotator .dnnForm.add-img input[type="text"],.JSRotator .dnnForm.add-img select,.JSRotator .dnnForm.add-img textarea,.JSRotator .dnnForm.add-img input[type="email"],.JSRotator .dnnForm.add-img input[type="search"],.JSRotator .dnnForm.add-img input[type="number"],.JSRotator .dnnForm.add-img input[type="date"],.JSRotator .dnnForm.select input[type="text"],.JSRotator .dnnForm.select select,.JSRotator .dnnForm.select textarea,.JSRotator .dnnForm.select input[type="email"],.JSRotator .dnnForm.select input[type="search"],.JSRotator .dnnForm.select input[type="number"],.JSRotator .dnnForm.select input[type="date"],.JSRotator .dnnForm.edit input[type="text"],.JSRotator .dnnForm.edit select,.JSRotator .dnnForm.edit textarea,.JSRotator .dnnForm.edit input[type="email"],.JSRotator .dnnForm.edit input[type="search"],.JSRotator .dnnForm.edit input[type="number"],.JSRotator .dnnForm.edit input[type="date"],.JSRotator .dnnForm.settings input[type="text"],.JSRotator .dnnForm.settings select,.JSRotator .dnnForm.settings textarea,.JSRotator .dnnForm.settings input[type="email"],.JSRotator .dnnForm.settings input[type="search"],.JSRotator .dnnForm.settings input[type="number"],.JSRotator .dnnForm.settings input[type="date"]{margin:0;border:1px solid rgba(59,30,119,.25);color:rgba(59,30,119,.5);width:50%;height:35px;line-height:35px;max-width:450px;font-size:1em;padding:0 8px;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;box-shadow:none;-webkit-transition:all 300ms ease-out;-moz-transition:all 300ms ease-out;-o-transition:all 300ms ease-out;transition:all 300ms ease-out;}.JSRotator .dnnForm.add-img input[type="text"]:active,.JSRotator .dnnForm.add-img input[type="text"]:focus,.JSRotator .dnnForm.add-img select:active,.JSRotator .dnnForm.add-img select:focus,.JSRotator .dnnForm.add-img textarea:active,.JSRotator .dnnForm.add-img textarea:focus,.JSRotator .dnnForm.add-img input[type="email"]:active,.JSRotator .dnnForm.add-img input[type="email"]:focus,.JSRotator .dnnForm.add-img input[type="search"]:active,.JSRotator .dnnForm.add-img input[type="search"]:focus,.JSRotator .dnnForm.add-img input[type="number"]:active,.JSRotator .dnnForm.add-img input[type="number"]:focus,.JSRotator .dnnForm.add-img input[type="date"]:active,.JSRotator .dnnForm.add-img input[type="date"]:focus,.JSRotator .dnnForm.select input[type="text"]:active,.JSRotator .dnnForm.select input[type="text"]:focus,.JSRotator .dnnForm.select select:active,.JSRotator .dnnForm.select select:focus,.JSRotator .dnnForm.select textarea:active,.JSRotator .dnnForm.select textarea:focus,.JSRotator .dnnForm.select input[type="email"]:active,.JSRotator .dnnForm.select input[type="email"]:focus,.JSRotator .dnnForm.select input[type="search"]:active,.JSRotator .dnnForm.select input[type="search"]:focus,.JSRotator .dnnForm.select input[type="number"]:active,.JSRotator .dnnForm.select input[type="number"]:focus,.JSRotator .dnnForm.select input[type="date"]:active,.JSRotator .dnnForm.select input[type="date"]:focus,.JSRotator .dnnForm.edit input[type="text"]:active,.JSRotator .dnnForm.edit input[type="text"]:focus,.JSRotator .dnnForm.edit select:active,.JSRotator .dnnForm.edit select:focus,.JSRotator .dnnForm.edit textarea:active,.JSRotator .dnnForm.edit textarea:focus,.JSRotator .dnnForm.edit input[type="email"]:active,.JSRotator .dnnForm.edit input[type="email"]:focus,.JSRotator .dnnForm.edit input[type="search"]:active,.JSRotator .dnnForm.edit input[type="search"]:focus,.JSRotator .dnnForm.edit input[type="number"]:active,.JSRotator .dnnForm.edit input[type="number"]:focus,.JSRotator .dnnForm.edit input[type="date"]:active,.JSRotator .dnnForm.edit input[type="date"]:focus,.JSRotator .dnnForm.settings input[type="text"]:active,.JSRotator .dnnForm.settings input[type="text"]:focus,.JSRotator .dnnForm.settings select:active,.JSRotator .dnnForm.settings select:focus,.JSRotator .dnnForm.settings textarea:active,.JSRotator .dnnForm.settings textarea:focus,.JSRotator .dnnForm.settings input[type="email"]:active,.JSRotator .dnnForm.settings input[type="email"]:focus,.JSRotator .dnnForm.settings input[type="search"]:active,.JSRotator .dnnForm.settings input[type="search"]:focus,.JSRotator .dnnForm.settings input[type="number"]:active,.JSRotator .dnnForm.settings input[type="number"]:focus,.JSRotator .dnnForm.settings input[type="date"]:active,.JSRotator .dnnForm.settings input[type="date"]:focus{color:#3b1e77;background:#fff;border:1px solid #3b1e77;outline:none;-moz-box-shadow:0 0 6px 1px rgba(59,30,119,.5);-webkit-box-shadow:0 0 6px 1px rgba(59,30,119,.5);-o-box-shadow:0 0 6px 1px rgba(59,30,119,.5);box-shadow:0 0 6px 1px rgba(59,30,119,.5);}.JSRotator .dnnForm.add-img input[type="text"][disabled="disabled"],.JSRotator .dnnForm.add-img select[disabled="disabled"],.JSRotator .dnnForm.add-img textarea[disabled="disabled"],.JSRotator .dnnForm.add-img input[type="email"][disabled="disabled"],.JSRotator .dnnForm.add-img input[type="search"][disabled="disabled"],.JSRotator .dnnForm.add-img input[type="number"][disabled="disabled"],.JSRotator .dnnForm.add-img input[type="date"][disabled="disabled"],.JSRotator .dnnForm.select input[type="text"][disabled="disabled"],.JSRotator .dnnForm.select select[disabled="disabled"],.JSRotator .dnnForm.select textarea[disabled="disabled"],.JSRotator .dnnForm.select input[type="email"][disabled="disabled"],.JSRotator .dnnForm.select input[type="search"][disabled="disabled"],.JSRotator .dnnForm.select input[type="number"][disabled="disabled"],.JSRotator .dnnForm.select input[type="date"][disabled="disabled"],.JSRotator .dnnForm.edit input[type="text"][disabled="disabled"],.JSRotator .dnnForm.edit select[disabled="disabled"],.JSRotator .dnnForm.edit textarea[disabled="disabled"],.JSRotator .dnnForm.edit input[type="email"][disabled="disabled"],.JSRotator .dnnForm.edit input[type="search"][disabled="disabled"],.JSRotator .dnnForm.edit input[type="number"][disabled="disabled"],.JSRotator .dnnForm.edit input[type="date"][disabled="disabled"],.JSRotator .dnnForm.settings input[type="text"][disabled="disabled"],.JSRotator .dnnForm.settings select[disabled="disabled"],.JSRotator .dnnForm.settings textarea[disabled="disabled"],.JSRotator .dnnForm.settings input[type="email"][disabled="disabled"],.JSRotator .dnnForm.settings input[type="search"][disabled="disabled"],.JSRotator .dnnForm.settings input[type="number"][disabled="disabled"],.JSRotator .dnnForm.settings input[type="date"][disabled="disabled"]{color:#3b1e77;width:calc(50% - 50px);display:inline-block;border:none;background:none;padding:0;cursor:default;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;box-shadow:none;}.JSRotator .dnnForm.add-img select,.JSRotator .dnnForm.select select,.JSRotator .dnnForm.edit select,.JSRotator .dnnForm.settings select{padding:0 5px;width:100px;}.JSRotator .dnnForm.add-img .dnnFormItem .bs-searchbox input[type="text"],.JSRotator .dnnForm.add-img .dnnFormItem .bs-searchbox select,.JSRotator .dnnForm.add-img .dnnFormItem .bs-searchbox textarea,.JSRotator .dnnForm.add-img .dnnFormItem .bs-searchbox input[type="email"],.JSRotator .dnnForm.add-img .dnnFormItem .bs-searchbox input[type="search"],.JSRotator .dnnForm.add-img .dnnFormItem .bs-searchbox input[type="number"],.JSRotator .dnnForm.add-img .dnnFormItem .bs-searchbox input[type="date"],.JSRotator .dnnForm.select .dnnFormItem .bs-searchbox input[type="text"],.JSRotator .dnnForm.select .dnnFormItem .bs-searchbox select,.JSRotator .dnnForm.select .dnnFormItem .bs-searchbox textarea,.JSRotator .dnnForm.select .dnnFormItem .bs-searchbox input[type="email"],.JSRotator .dnnForm.select .dnnFormItem .bs-searchbox input[type="search"],.JSRotator .dnnForm.select .dnnFormItem .bs-searchbox input[type="number"],.JSRotator .dnnForm.select .dnnFormItem .bs-searchbox input[type="date"],.JSRotator .dnnForm.edit .dnnFormItem .bs-searchbox input[type="text"],.JSRotator .dnnForm.edit .dnnFormItem .bs-searchbox select,.JSRotator .dnnForm.edit .dnnFormItem .bs-searchbox textarea,.JSRotator .dnnForm.edit .dnnFormItem .bs-searchbox input[type="email"],.JSRotator .dnnForm.edit .dnnFormItem .bs-searchbox input[type="search"],.JSRotator .dnnForm.edit .dnnFormItem .bs-searchbox input[type="number"],.JSRotator .dnnForm.edit .dnnFormItem .bs-searchbox input[type="date"],.JSRotator .dnnForm.settings .dnnFormItem .bs-searchbox input[type="text"],.JSRotator .dnnForm.settings .dnnFormItem .bs-searchbox select,.JSRotator .dnnForm.settings .dnnFormItem .bs-searchbox textarea,.JSRotator .dnnForm.settings .dnnFormItem .bs-searchbox input[type="email"],.JSRotator .dnnForm.settings .dnnFormItem .bs-searchbox input[type="search"],.JSRotator .dnnForm.settings .dnnFormItem .bs-searchbox input[type="number"],.JSRotator .dnnForm.settings .dnnFormItem .bs-searchbox input[type="date"]{width:100%;}.JSRotator .dnnForm.edit .dnnFormItem table{border:none;width:100%;margin:0;}.JSRotator .dnnForm.edit .dnnFormItem table.scroll th{float:left;width:calc((100% - 492px)/4);}.JSRotator .dnnForm.edit .dnnFormItem table.scroll th.add-custom{width:16px;height:50px;}.JSRotator .dnnForm.edit .dnnFormItem table thead,.JSRotator .dnnForm.edit .dnnFormItem table tbody{clear:both;display:block;}.JSRotator .dnnForm.edit .dnnFormItem table thead tr{display:block;}.JSRotator .dnnForm.edit .dnnFormItem table thead tr>th{padding-top:15px;padding-bottom:15px;}.JSRotator .dnnForm.edit .dnnFormItem table thead tr>th input[type="checkbox"]+span,.JSRotator .dnnForm.edit .dnnFormItem table thead tr>th input[type="radio"]+span{margin:0 5px;}.JSRotator .dnnForm.edit .dnnFormItem table tbody{max-height:185px;overflow-y:auto;overflow-x:hidden;}.JSRotator .dnnForm.edit .dnnFormItem table tbody input[type="checkbox"]+span,.JSRotator .dnnForm.edit .dnnFormItem table tbody input[type="radio"]+span{margin:7.5px 5px;}.JSRotator .dnnForm.edit .dnnFormItem table tbody tr{width:100%;float:left;}.JSRotator .dnnForm.edit .dnnFormItem table tr th,.JSRotator .dnnForm.edit .dnnFormItem table tr td{display:block;float:left;width:calc((100% - 475px)/4);vertical-align:middle;}.JSRotator .dnnForm.edit .dnnFormItem table tr th:nth-child(1),.JSRotator .dnnForm.edit .dnnFormItem table tr td:nth-child(1){width:45px;}.JSRotator .dnnForm.edit .dnnFormItem table tr th:nth-child(2),.JSRotator .dnnForm.edit .dnnFormItem table tr td:nth-child(2){width:60px;}.JSRotator .dnnForm.edit .dnnFormItem table tr th:nth-child(9),.JSRotator .dnnForm.edit .dnnFormItem table tr td:nth-child(9){width:70px;}.JSRotator .dnnForm.edit .dnnFormItem table tr th.custom-fx,.JSRotator .dnnForm.edit .dnnFormItem table tr td.custom-fx{width:150px;}.JSRotator .dnnForm.edit .dnnFormItem table tr>th{color:rgba(255,255,255,.8);background-color:rgba(59,30,119,.8);border:none;}.JSRotator .dnnForm.edit .dnnFormItem table tr>th .dnnCheckbox img{background-position:-100px 0;}.JSRotator .dnnForm.edit .dnnFormItem table tr>th .dnnCheckbox-checked img{background-position:-150px 0;}.JSRotator .dnnForm.edit .dnnFormItem table tr>td{word-break:break-all;word-wrap:break-word;word-spacing:normal;}.JSRotator .dnnForm.edit .dnnFormItem table tr>td input[type="text"],.JSRotator .dnnForm.edit .dnnFormItem table tr>td select,.JSRotator .dnnForm.edit .dnnFormItem table tr>td textarea,.JSRotator .dnnForm.edit .dnnFormItem table tr>td input[type="email"],.JSRotator .dnnForm.edit .dnnFormItem table tr>td input[type="search"],.JSRotator .dnnForm.edit .dnnFormItem table tr>td input[type="number"],.JSRotator .dnnForm.edit .dnnFormItem table tr>td input[type="date"]{width:100%;}.JSRotator .dnnForm.edit .dnnFormItem table tr>td input[type="text"][disabled="disabled"],.JSRotator .dnnForm.edit .dnnFormItem table tr>td select[disabled="disabled"],.JSRotator .dnnForm.edit .dnnFormItem table tr>td textarea[disabled="disabled"],.JSRotator .dnnForm.edit .dnnFormItem table tr>td input[type="email"][disabled="disabled"],.JSRotator .dnnForm.edit .dnnFormItem table tr>td input[type="search"][disabled="disabled"],.JSRotator .dnnForm.edit .dnnFormItem table tr>td input[type="number"][disabled="disabled"],.JSRotator .dnnForm.edit .dnnFormItem table tr>td input[type="date"][disabled="disabled"]{padding:0;height:35px;line-height:35px;}.JSRotator .dnnForm.edit .dnnFormItem table tr>td a{width:50%;min-width:25px;height:35px;line-height:35px;margin:0;padding:0;text-align:center;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active{position:fixed;z-index:9999;width:95%;left:2.5%;top:calc((100% + 30px)/2);background-color:rgba(59,30,119,.7);color:#fff;-moz-box-shadow:0 8px 30px -6px #000;-webkit-box-shadow:0 8px 30px -6px #000;-o-box-shadow:0 8px 30px -6px #000;box-shadow:0 8px 30px -6px #000;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td{background:none;border:none;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="text"],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td select,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td textarea,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="email"],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="search"],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="number"],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="date"]{border:none;background:none;color:#fff;cursor:pointer;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="text"]:hover,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td select:hover,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td textarea:hover,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="email"]:hover,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="search"]:hover,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="number"]:hover,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="date"]:hover{background:rgba(255,255,255,.15);}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="text"]:focus,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td select:focus,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td textarea:focus,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="email"]:focus,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="search"]:focus,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="number"]:focus,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="date"]:focus{background-color:#fff;color:#3b1e77;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="text"][disabled=disabled],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td select[disabled=disabled],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td textarea[disabled=disabled],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="email"][disabled=disabled],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="search"][disabled=disabled],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="number"][disabled=disabled],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="date"][disabled=disabled]{color:#fff;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="text"].error,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td select.error,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td textarea.error,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="email"].error,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="search"].error,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="number"].error,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td input[type="date"].error{background:rgba(217,83,79,.7);}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td ::-webkit-input-placeholder{color:#fff;font-style:italic;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td :-moz-placeholder{color:#fff;font-style:italic;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td ::-moz-placeholder{color:#fff;font-style:italic;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td :-ms-input-placeholder{color:#fff;font-style:italic;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell{display:block;float:left;width:100%;padding:3px;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell input[type="text"],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell select,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell textarea,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell input[type="email"],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell input[type="search"],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell input[type="number"],.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell input[type="date"]{max-width:calc(100% - 50px);line-height:50px;height:50px;padding:0 15px;float:left;background-color:#fff;color:#3b1e77;cursor:text;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;box-shadow:none;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell ::-webkit-input-placeholder{color:rgba(59,30,119,.25);font-style:italic;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell :-moz-placeholder{color:rgba(59,30,119,.25);font-style:italic;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell ::-moz-placeholder{color:rgba(59,30,119,.25);font-style:italic;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell :-ms-input-placeholder{color:rgba(59,30,119,.25);font-style:italic;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell select{cursor:default;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell .btn{min-width:50px;padding:0;height:50px;color:rgba(59,30,119,.7);background:#fff;float:left;line-height:normal;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.edit-cell .btn:hover{background:#fff;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td.no-edit-cell{display:none;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .btn{background-color:transparent;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .btn:hover{background:rgba(255,255,255,.15);}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .btn[aria-expanded=true]{background-color:rgba(59,30,119,.7);color:#fff;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .dropdown-menu{background-color:rgba(59,30,119,.5);border:none;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .dropdown-menu>li>a{width:100%;padding:0 10px;text-align:left;color:#fff;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .dropdown-menu>li>a:focus,.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .dropdown-menu>li>a:hover{background-color:rgba(255,255,255,.8);color:#3b1e77;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .dropdown-menu>li>a span.text{margin:0;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .dropdown-menu>li>a span.check-mark{color:#3b1e77;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .dropdown-menu>li.selected a{background-color:rgba(255,255,255,.8);color:#3b1e77;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .dropdown-menu>li.selected a span.check-mark{top:0;right:7px;margin:0;line-height:30px;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .dnnCheckbox img{background-position:-100px 0;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active>td .dnnCheckbox-checked img{background-position:-150px 0;}.JSRotator .dnnForm.edit .dnnFormItem table tr.active .btn.disabled,.JSRotator .dnnForm.edit .dnnFormItem table tr.active .btn.aspNetDisabled{color:rgba(255,255,255,.5);}.JSRotator .dnnForm.edit .dnnFormItem table .btn.disabled{background-color:transparent;color:#3b1e77;opacity:.5;cursor:default;padding:0;}.JSRotator .dnnForm.edit .dnnFormItem table .btn.disabled:hover{background-color:transparent;}.JSRotator .dnnForm.edit .dnnFormItem img.row-img{height:35px;width:auto;max-width:100% !important;}.JSRotator .dnnForm.select .dnnFormItem table{border:none;width:100%;margin:0;}.JSRotator .dnnForm.select .dnnFormItem table.scroll th{float:left;width:calc((100% - 81px)/6);}.JSRotator .dnnForm.select .dnnFormItem table.scroll th.add-custom{width:16px;height:50px;}.JSRotator .dnnForm.select .dnnFormItem table thead,.JSRotator .dnnForm.select .dnnFormItem table tbody{clear:both;display:block;}.JSRotator .dnnForm.select .dnnFormItem table thead tr{display:block;}.JSRotator .dnnForm.select .dnnFormItem table thead tr>th{padding-top:15px;padding-bottom:15px;}.JSRotator .dnnForm.select .dnnFormItem table tbody{max-height:245px;overflow-y:auto;overflow-x:hidden;}.JSRotator .dnnForm.select .dnnFormItem table tbody tr{width:100%;float:left;}.JSRotator .dnnForm.select .dnnFormItem table tbody tr td span{width:100%;min-height:40px;display:block;}.JSRotator .dnnForm.select .dnnFormItem table tr th,.JSRotator .dnnForm.select .dnnFormItem table tr td{display:block;float:left;width:calc((100% - 65px)/6);vertical-align:middle;}.JSRotator .dnnForm.select .dnnFormItem table tr th:nth-child(1),.JSRotator .dnnForm.select .dnnFormItem table tr td:nth-child(1){width:65px;}.JSRotator .dnnForm.select .dnnFormItem table tr>th{color:rgba(255,255,255,.8);background-color:rgba(59,30,119,.8);border:none;}.JSRotator .dnnForm.select .dnnFormItem table tr>td{word-break:break-all;word-wrap:break-word;word-spacing:normal;line-height:40px;}.JSRotator .dnnForm.select .dnnFormItem img.row-img{height:40px;width:auto;max-width:100%;}.JSRotator .dnnForm.select .link-delete{margin-right:10px;float:right;}.JSRotator .dnnForm.settings .dnnFormItem table{width:auto;}.JSRotator .dnnForm.settings .dnnFormItem table tbody{height:auto;}.JSRotator .dnnForm.settings .dnnFormItem table tr>th{border:none;}.JSRotator .dnnForm.settings .dnnFormItem table tr>th:last-child{min-width:70px;}.JSRotator .dnnForm.settings .dnnFormItem table tr>td{border:none;}.JSRotator .dnnForm.settings .dnnFormItem table tr>td:last-child{min-width:70px;}.JSRotator .pnlControlHolder .pnl-info{background:rgba(0,0,0,.5);float:left;}.JSRotator .pnlControlHolder .pnl-info h1,.JSRotator .pnlControlHolder .pnl-info h2,.JSRotator .pnlControlHolder .pnl-info h3,.JSRotator .pnlControlHolder .pnl-info h4,.JSRotator .pnlControlHolder .pnl-info h5,.JSRotator .pnlControlHolder .pnl-info h6{color:#fff;float:left;}.JSRotator .pnlControlHolder .pnl-info span{display:block;color:#fff;float:left;}.JSRotator .pnlControlHolder .pnl-info a{color:#fff;}.JSRotator .pnlControlHolder .btn-group{float:left;text-align:center;}.JSRotator .pnlControlHolder .btn-group .btn{background-color:rgba(0,0,0,.5);padding:0;}.JSRotator .pnlControlHolder .btn-group .btn:hover,.JSRotator .pnlControlHolder .btn-group .btn:focus,.JSRotator .pnlControlHolder .btn-group .btn:active,.JSRotator .pnlControlHolder .btn-group .btn.active{background-color:rgba(0,0,0,.8);}.JSRotator .pnlControlHolder.body{position:fixed;bottom:10px;left:10px;}.JSRotator .pnlControlHolder.body .pnl-info{height:50px;line-height:50px;}.JSRotator .pnlControlHolder.body .pnl-info h1,.JSRotator .pnlControlHolder.body .pnl-info h2,.JSRotator .pnlControlHolder.body .pnl-info h3,.JSRotator .pnlControlHolder.body .pnl-info h4,.JSRotator .pnlControlHolder.body .pnl-info h5,.JSRotator .pnlControlHolder.body .pnl-info h6{height:50px;line-height:45px;margin:0 10px;}.JSRotator .pnlControlHolder.body .pnl-info span{margin-right:10px;}.JSRotator .pnlControlHolder.body .btn-group{padding:0;}.JSRotator .pnlControlHolder.body .btn-group .btn{width:50px;height:50px;line-height:60px;}.JSRotator .pnlControlHolder.container{position:absolute;bottom:0;left:0;padding:0;width:100%;}.JSRotator .pnlControlHolder.container .pnl-info{height:30px;line-height:30px;}.JSRotator .pnlControlHolder.container .pnl-info h1,.JSRotator .pnlControlHolder.container .pnl-info h2,.JSRotator .pnlControlHolder.container .pnl-info h3,.JSRotator .pnlControlHolder.container .pnl-info h4,.JSRotator .pnlControlHolder.container .pnl-info h5,.JSRotator .pnlControlHolder.container .pnl-info h6{height:30px;line-height:28px;margin:0 10px;}.JSRotator .pnlControlHolder.container .pnl-info h3{font-size:1.571em;}.JSRotator .pnlControlHolder.container .pnl-info span{margin-right:10px;}.JSRotator .pnlControlHolder.container .btn-group{padding:0;}.JSRotator .pnlControlHolder.container .btn-group .btn{width:30px;height:30px;line-height:30px;}.JSRotator .btn-group.form-control{width:50%;max-width:450px;}.JSRotator .btn-group:focus{outline:none;border:none;}.JSRotator .btn-group .btn+.btn,.JSRotator .btn-group .btn+.btn-group,.JSRotator .btn-group .btn-group+.btn,.JSRotator .btn-group .btn-group+.btn-group{margin-left:0;}.JSRotator .btn-group .btn+.btn:focus,.JSRotator .btn-group .btn+.btn-group:focus,.JSRotator .btn-group .btn-group+.btn:focus,.JSRotator .btn-group .btn-group+.btn-group:focus{outline:none;border:none;}.JSRotator .dropup .dropdown-menu{border:1px solid rgba(59,30,119,.7);border-bottom:none;margin-bottom:0;}.JSRotator .bs-actionsbox,.JSRotator .bs-donebutton,.JSRotator .bs-searchbox{padding:0;}.JSRotator .bs-searchbox+.bs-actionsbox{padding:0;}.JSRotator .input-group .input-group-addon{height:60px;line-height:60px;padding:0 20px;border:none;background-color:rgba(59,30,119,.7);color:#fff;cursor:default;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;}.JSRotator .input-group .input-group-addon i{height:33px;width:33px;line-height:33px;display:block;}.JSRotator .input-group .input-group-addon strong{color:#fff;}.JSRotator .input-group input[type=text]{border:1px solid rgba(59,30,119,.7);border-left:none;padding:20px 10px;height:inherit;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;box-shadow:none;}.JSRotator .input-group input[type=text][disabled=disabled],.JSRotator .input-group input[type=text].aspNetDisabled{border:none;background:rgba(59,30,119,.7);color:#fff;cursor:default;}.JSRotator .pnl-owner-info{text-align:left;background:rgba(59,30,119,.8);}.JSRotator .pnl-owner-info .owner-wrapper{padding:10px 15px;}.JSRotator .pnl-owner-info .owner-wrapper span,.JSRotator .pnl-owner-info .owner-wrapper strong,.JSRotator .pnl-owner-info .owner-wrapper a,.JSRotator .pnl-owner-info .owner-wrapper a:link,.JSRotator .pnl-owner-info .owner-wrapper .btn{color:#fff;}.JSRotator .pnl-owner-info .owner-wrapper span{display:block;line-height:30px;}.JSRotator .popup{position:fixed;top:0;left:0;margin:0;text-align:center;background:rgba(255,255,255,.7);width:100%;height:100%;z-index:9998;}.JSRotator .popup.confirm-box .popup-wrapper{top:calc((100% - 315px)/2);}.JSRotator .popup.auto-close-box .popup-wrapper{top:calc((100% - 274px)/2);}.JSRotator .popup.overlay .popup-wrapper{top:100px;position:relative;}.JSRotator .popup.overlay .popup-wrapper .popup-icon{color:rgba(59,30,119,.7);}.JSRotator .popup.overlay .popup-wrapper h1,.JSRotator .popup.overlay .popup-wrapper h2,.JSRotator .popup.overlay .popup-wrapper h3,.JSRotator .popup.overlay .popup-wrapper h4,.JSRotator .popup.overlay .popup-wrapper h5,.JSRotator .popup.overlay .popup-wrapper h6{color:rgba(59,30,119,.7);}.JSRotator .popup.overlay .popup-wrapper h3{font-size:1rem;}.JSRotator .popup.overlay .popup-wrapper h4{font-size:.85rem;}.JSRotator .popup.overlay .popup-wrapper input[type=text]{height:60px;line-height:60px;padding:0 10px;text-align:center;font-size:1.5em;border:none;background:rgba(59,30,119,.7);color:#fff;}.JSRotator .popup.overlay .popup-wrapper input[type=text]:focus{background:rgba(59,30,119,.8);}.JSRotator .popup.overlay .popup-wrapper input[type=text]::-webkit-input-placeholder{color:rgba(255,255,255,.35) !important;font-style:italic;}.JSRotator .popup.overlay .popup-wrapper input[type=text]:-moz-placeholder{color:rgba(255,255,255,.35) !important;font-style:italic;}.JSRotator .popup.overlay .popup-wrapper input[type=text]::-moz-placeholder{color:rgba(255,255,255,.35) !important;font-style:italic;}.JSRotator .popup.overlay .popup-wrapper input[type=text]:-ms-input-placeholder{color:rgba(255,255,255,.35) !important;font-style:italic;}.JSRotator .popup .popup-wrapper{position:relative;width:60%;left:20%;padding:15px;}.JSRotator .popup .popup-wrapper h1,.JSRotator .popup .popup-wrapper h2,.JSRotator .popup .popup-wrapper h3,.JSRotator .popup .popup-wrapper h4,.JSRotator .popup .popup-wrapper h5,.JSRotator .popup .popup-wrapper h6{border:none;padding:0;margin:0;}.JSRotator .popup .popup-wrapper .popup-icon{display:block;}.JSRotator .popup .popup-wrapper .popup-icon .fa{font-size:15em;text-shadow:0 1px 0 #ccc,0 2px 0 #c9c9c9,0 3px 0 #bbb,0 4px 0 #b9b9b9,0 5px 0 #aaa,0 6px 1px rgba(0,0,0,.1),0 0 5px rgba(0,0,0,.1),0 1px 3px rgba(0,0,0,.3),0 3px 5px rgba(0,0,0,.2),0 5px 10px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.2),0 20px 20px rgba(0,0,0,.15);}.JSRotator .popup .popup-wrapper .popup-msg{display:block;margin:10px 0 10px 0;word-wrap:break-word;word-break:break-all;}.JSRotator .popup .popup-wrapper .input-group-btn .btn{height:60px;line-height:70px;margin:0;padding:0 15px;}.JSRotator .popup .popup-wrapper .input-group-btn .fa{font-size:2em;}.JSRotator .popup .popup-wrapper .alert{margin:15px 0 0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;}.JSRotator .popup .popup-wrapper .btn-group{margin-top:15px;}.JSRotator .popup .popup-wrapper .btn-group .btn{margin:0;}.JSRotator .popup .popup-wrapper .btn-group.more-space-top{margin-top:30px;}.JSRotator .popup .popup-wrapper .btn-group.no-spacing{margin:0;}.JSRotator .popup .popup-wrapper .btn{border:none;margin:15px 0 0 0;padding:10px 15px;}.JSRotator .popup .popup-wrapper .btn.active{background:rgba(59,30,119,.8);}.JSRotator .popup .popup-wrapper .progress-bar{position:absolute;left:0;bottom:0;width:0;height:2px;-webkit-transition:width 3000ms ease-out;-moz-transition:width 3000ms ease-out;-o-transition:width 3000ms ease-out;transition:width 3000ms ease-out;-webkit-transition-delay:0;-moz-transition-delay:0;-o-transition-delay:0;transition-delay:0;}.JSRotator .popup .popup-wrapper .close-action{position:absolute;background-color:transparent;color:rgba(59,30,119,.7);border:none;top:-70px;right:-70px;padding:0;margin:0;width:70px;height:70px;line-height:70px;}.JSRotator .popup .popup-wrapper .close-action:hover{background-color:rgba(59,30,119,.7);color:#fff;}.JSRotator .popup.success .popup-wrapper .popup-icon{color:#27ae60;}.JSRotator .popup.success .popup-wrapper h1,.JSRotator .popup.success .popup-wrapper h2,.JSRotator .popup.success .popup-wrapper h3,.JSRotator .popup.success .popup-wrapper h4,.JSRotator .popup.success .popup-wrapper h5,.JSRotator .popup.success .popup-wrapper h6{color:#27ae60;}.JSRotator .popup.success .popup-wrapper .btn.close-action:hover{background-color:#27ae60;}.JSRotator .popup.success .popup-wrapper .progress-bar{background:#27ae60;}.JSRotator .popup.success .popup-wrapper .pnl-owner-info{background:#27ae60;}.JSRotator .popup.success .popup-wrapper .close-action{color:#27ae60;}.JSRotator .popup.success .popup-wrapper .close-action:hover{color:#fff;background-color:#27ae60;}.JSRotator .popup.warning .popup-wrapper .popup-icon{color:#d9534f;}.JSRotator .popup.warning .popup-wrapper h1,.JSRotator .popup.warning .popup-wrapper h2,.JSRotator .popup.warning .popup-wrapper h3,.JSRotator .popup.warning .popup-wrapper h4,.JSRotator .popup.warning .popup-wrapper h5,.JSRotator .popup.warning .popup-wrapper h6{color:#d9534f;}.JSRotator .popup.warning .popup-wrapper .btn{background:#d9534f;}.JSRotator .popup.warning .popup-wrapper .btn.close-action{background:none;}.JSRotator .popup.warning .popup-wrapper .btn.close-action:hover{background-color:#d9534f;}.JSRotator .popup.warning .popup-wrapper .btn:hover{background-color:#c9302c;}.JSRotator .popup.warning .popup-wrapper .progress-bar{background:#d9534f;}.JSRotator .popup.warning .popup-wrapper .input-group-addon{background:#d9534f;}.JSRotator .popup.warning .popup-wrapper input[type=text]{background:#d9534f;}.JSRotator .popup.warning .popup-wrapper input[type=text]:focus{background:#c9302c;}.JSRotator .popup.warning .popup-wrapper .pnl-owner-info{background:#d9534f;}.JSRotator .popup.warning .popup-wrapper .close-action{color:#d9534f;background-color:none;}.JSRotator .popup.warning .popup-wrapper .close-action:hover{color:#fff;background-color:#d9534f;}.JSRotator .pnl-admin .btn.btn-primary{background-color:rgba(0,0,0,.5);}.JSRotator .pnl-admin .btn.btn-primary:hover,.JSRotator .pnl-admin .btn.btn-primary:focus,.JSRotator .pnl-admin .btn.btn-primary:active,.JSRotator .pnl-admin .btn.btn-primary.active{background-color:rgba(0,0,0,.8);}.JSRotator .pnl-admin .content-holder{float:left;color:#fff;background-color:rgba(0,0,0,.5);padding:10px 15px;}.JSRotator .pnl-admin .content-holder.success{background-color:#5cb85c;}.JSRotator .pnl-admin .content-holder.warning{background-color:#d9534f;}.JSRotator .btn{line-height:normal;border:none;padding:10px 15px;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;-webkit-transition:all 300ms ease-out;-moz-transition:all 300ms ease-out;-o-transition:all 300ms ease-out;transition:all 300ms ease-out;}.JSRotator .btn.btn-primary{background-color:rgba(59,30,119,.7);color:#fff;}.JSRotator .btn.btn-primary:hover,.JSRotator .btn.btn-primary:focus,.JSRotator .btn.btn-primary:active,.JSRotator .btn.btn-primary.active{background-color:rgba(59,30,119,.8);text-decoration:none;}.JSRotator .btn.btn-default{color:rgba(59,30,119,.7);background:rgba(59,30,119,.15);}.JSRotator .btn.btn-default:hover,.JSRotator .btn.btn-default:focus,.JSRotator .btn.btn-default:active{color:#fff;background-color:rgba(59,30,119,.7);}.JSRotator .btn:hover,.JSRotator .btn:focus,.JSRotator .btn:active{border:none;outline:none;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;box-shadow:none;}.JSRotator .btn[disabled=disabled],.JSRotator .btn.aspNetDisabled,.JSRotator .btn.dnnDisabled{color:rgba(255,255,255,.5);}.JSRotator .btn[disabled=disabled]:hover,.JSRotator .btn.aspNetDisabled:hover,.JSRotator .btn.dnnDisabled:hover{background-color:rgba(59,30,119,.7);}.JSRotator .dropdown-menu{border:1px solid rgba(59,30,119,.7);border-top:none;box-shadow:none;margin-top:0;padding:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;}.JSRotator .dropdown-menu>li>a{color:rgba(59,30,119,.7);padding:8px;outline:none;}.JSRotator .dropdown-menu>li>a:hover{color:#3b1e77;}.JSRotator .bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark{margin-top:10px;color:rgba(59,30,119,.7);}.JSRotator .bootstrap-select.btn-group.show-tick .dropdown-menu li.disabled a{color:#ccc;background:rgba(59,30,119,.05);}.JSRotator .bootstrap-select.btn-group.show-tick .dropdown-menu li.disabled a span.check-mark{color:#ccc;}.JSRotator .tooltip{z-index:9999;}.JSRotator .tooltip.in{filter:alpha(opacity=100);opacity:1;}.JSRotator .tooltip.top .tooltip-arrow{border-top-color:rgba(0,0,0,.8);}.JSRotator .tooltip.top-left .tooltip-arrow{border-top-color:rgba(0,0,0,.8);}.JSRotator .tooltip.top-right .tooltip-arrow{border-top-color:rgba(0,0,0,.8);}.JSRotator .tooltip.right .tooltip-arrow{border-right-color:rgba(0,0,0,.8);}.JSRotator .tooltip.left .tooltip-arrow{border-left-color:rgba(0,0,0,.8);}.JSRotator .tooltip.bottom .tooltip-arrow{border-bottom-color:rgba(0,0,0,.8);}.JSRotator .tooltip.bottom-left .tooltip-arrow{border-bottom-color:rgba(0,0,0,.8);}.JSRotator .tooltip.bottom-right .tooltip-arrow{border-bottom-color:rgba(0,0,0,.8);}.JSRotator .tooltip .tooltip-inner{background-color:rgba(0,0,0,.8);-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;}.JSRotator .ellipsis{overflow:hidden;text-overflow:ellipsis;}.JSRotator .hidden{display:none !important;visibility:hidden !important;}.JSRotator .aspNetDisabled,.JSRotator a.aspNetDisabled,.JSRotator .dnnDisabled,.JSRotator a.dnnDisabled,.JSRotator [disabled=disabled]{color:rgba(59,30,119,.25);cursor:default;}.JSRotator .popover{z-index:9999;}.JSRotator .row{margin:0;}.JSRotator .row>div{padding:0;}.JSRotator .scroll-action{position:fixed;bottom:0;right:15px;display:none;z-index:9999;}.JSRotator .scroll-action.btn{padding:0;width:50px;height:50px;line-height:50px;border-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;-webkit-transition:background-color 300ms ease-out;-moz-transition:background-color 300ms ease-out;-o-transition:background-color 300ms ease-out;transition:background-color 300ms ease-out;}.JSRotator .scroll-action.btn.btn-primary{background-color:rgba(59,30,119,.7);border-color:transparent;}.JSRotator .scroll-action.btn.btn-primary:hover{background-color:rgba(59,30,119,.8);border-color:transparent;}.JSRotator .scroll-action.btn:hover{border-color:transparent;}.JSRotator .scroll-action.btn:active{-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;box-shadow:none;}.JSRotator .dnnForm .dnnFormItem select option[disabled="disabled"],.JSRotator .dnnForm .dnnFormItem select option[disabled]{color:#ccc;}.JSRotator .view .pnl-admin{text-align:right;float:right;}.JSRotator .view .pnl-admin .form-control{width:25%;height:39px;line-height:normal;float:left;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;box-shadow:none;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;}.JSRotator .view .pnl-admin strong{color:#fff;}.JSRotator ::-webkit-input-placeholder{color:rgba(59,30,119,.25);font-style:italic;}.JSRotator :-moz-placeholder{color:rgba(59,30,119,.25);font-style:italic;}.JSRotator ::-moz-placeholder{color:rgba(59,30,119,.25);font-style:italic;}.JSRotator :-ms-input-placeholder{color:rgba(59,30,119,.25);font-style:italic;}.vegas-timer-progress{background:#fff;position:relative;z-index:9999;}.mark,mark{padding:0 !important;background-color:transparent !important;}.dnnDropDownList .selected-item{margin:0 0 0 15px !important;}.dnnDropDownList .selected-item a{height:auto !important;}.dnnDropDownList .selected-item a:link,.dnnDropDownList .selected-item a:visited,.dnnDropDownList .selected-item a:hover,.dnnDropDownList .selected-item a:active{height:auto !important;}.dnnPermissionsGrid>.dnnFormItem li.token-input-token-facebook{margin:3px !important;padding:3px 5px !important;}.dnnPermissionsGrid>.dnnFormItem li.token-input-input-token-facebook{margin:4px 0 !important;padding:4px 0 !important;} | 60,900 | 60,900 | 0.790131 |
dd5db830793416316a0c80e82605925ff03b8fe6 | 1,984 | java | Java | pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/filesystem/BaseFileOperation.java | WangCHX/pinot | ae02ecefa4b4367fc3547fa5bfb718d63b45b477 | [
"Apache-2.0"
] | 2,144 | 2015-06-10T16:02:11.000Z | 2018-11-08T07:59:13.000Z | pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/filesystem/BaseFileOperation.java | WangCHX/pinot | ae02ecefa4b4367fc3547fa5bfb718d63b45b477 | [
"Apache-2.0"
] | 1,894 | 2015-06-11T05:17:48.000Z | 2018-11-09T19:22:27.000Z | pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/filesystem/BaseFileOperation.java | WangCHX/pinot | ae02ecefa4b4367fc3547fa5bfb718d63b45b477 | [
"Apache-2.0"
] | 418 | 2015-06-10T15:53:06.000Z | 2018-11-09T00:05:06.000Z | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.pinot.tools.admin.command.filesystem;
import java.util.HashMap;
import java.util.Map;
import org.apache.pinot.spi.env.PinotConfiguration;
import org.apache.pinot.spi.filesystem.PinotFSFactory;
import org.apache.pinot.tools.Command;
import org.apache.pinot.tools.admin.command.FileSystemCommand;
import org.apache.pinot.tools.admin.command.QuickstartRunner;
import org.apache.pinot.tools.utils.PinotConfigUtils;
import picocli.CommandLine;
/**
* Base class for file operation classes
*/
public abstract class BaseFileOperation implements Command {
@CommandLine.ParentCommand
protected FileSystemCommand _parent;
public BaseFileOperation setParent(FileSystemCommand parent) {
_parent = parent;
return this;
}
protected void initialPinotFS()
throws Exception {
String configFile = _parent.getConfigFile();
Map<String, Object> configs =
configFile == null ? new HashMap<>() : PinotConfigUtils.readConfigFromFile(configFile);
PinotFSFactory.init(new PinotConfiguration(configs));
QuickstartRunner.registerDefaultPinotFS();
}
@Override
public boolean getHelp() {
return _parent.getHelp();
}
}
| 33.627119 | 95 | 0.762601 |
2d6e2eb6dcf027ec01cb4ad5de59c46c3f7c2fe3 | 3,388 | css | CSS | css/timeline.css | sharmaashish/Timeline-Bootstrap | c3837390c68c273f1d41fc542d7e2ba59955bbd7 | [
"Apache-2.0"
] | null | null | null | css/timeline.css | sharmaashish/Timeline-Bootstrap | c3837390c68c273f1d41fc542d7e2ba59955bbd7 | [
"Apache-2.0"
] | null | null | null | css/timeline.css | sharmaashish/Timeline-Bootstrap | c3837390c68c273f1d41fc542d7e2ba59955bbd7 | [
"Apache-2.0"
] | 1 | 2021-11-15T15:30:22.000Z | 2021-11-15T15:30:22.000Z | /*
Copyright (C) 2013 Shaohuan Li <[email protected]>, Ashish Sharma <[email protected]>
This file is part of A Timeline Viewer of Patient Medical Records developed under the Google of Summer of Code 2013 program.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/
.gray{
color:gray;
}
.dashed{
border:1px #cccccc dashed;
}
.right{
text-align: right;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.left{
text-align: left;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.right:hover{
border-color: #9c0001;
-webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
-moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}
.left:hover{
border-color: #9c0001;
-webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
-moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}
.label-corner{
position: relative;
left:48%;
top:-30px;
}
.timeline{
background-image: url("../img/timeline.png");
background-repeat:repeat-y;
background-position:center;
}
.right blockquote{
border-right: 5px solid #eeeeee;
}
.left blockquote{
border-left: 5px solid #eeeeee;
}
.detail{
padding-bottom: 30px;
}
.date {
display: inline;
padding: .2em .6em .3em;
font-size: 120%;
font-weight: bold;
line-height: 1;
color: #ffffff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25em;
}
p{
padding-top: 10px;
}
.date-plan{
background-color: #C0C0C0;
}
.date-encounter{
background-color: #00CCFF;
}
.date-problem{
background-color: #FFCC66;
}
.date-procedure{
background-color: #33CC66;
}
.date-immunization{
background-color: #9966CC;
}
.date-medication{
background-color: #3366CC;
}
.lab{
border-style: none none solid none;
border-width: 2px;
border-color: #E0E0E0;
}
.unit{
color:#C8C8C8;
}
.value-unit{
text-align: right;
margin:8px 0px 0px;
}
.value{
width: 60px;
color:white;
padding: 5px 10px 5px 10px;
margin: 0px 5px;
height: 30px;
width: 100px;
}
.healthy{
background-color: #00CC99;
}
.unhealthy{
background-color: #FFCC66;
}
.very-unhealthy{
background-color: #993333;
}
.slide-unit{
background-color: #D8D8D8;
padding: 0px 0px 10px 0px;
margin: 5px 0px 0px 0px;
height: 30px;
}
.slide-unit .min{
color:black;
position: absolute;
left:20%;
}
.slide-unit .max{
color:black;
position: absolute;
left:50%;
}
.slide-unit .percentage{
padding: 5px 0px;
background-color: rgba(0,200,100,0.2);
position: absolute;
left:20%;
width:30%;
height:30px;
}
.slide-unit .position{
background-color: gray;
position:absolute;
left:40%;
width: 3px;
height: 15px;
} | 21.858065 | 305 | 0.695396 |
99bba7c66a329f6731967e8732406513dd9a39cf | 163 | sql | SQL | Union - Copy.sql | StarcadeDesigns/SQL-Learning | f7eb2730f40f43e18c141e62f43c2f0b83b8561f | [
"MIT"
] | null | null | null | Union - Copy.sql | StarcadeDesigns/SQL-Learning | f7eb2730f40f43e18c141e62f43c2f0b83b8561f | [
"MIT"
] | null | null | null | Union - Copy.sql | StarcadeDesigns/SQL-Learning | f7eb2730f40f43e18c141e62f43c2f0b83b8561f | [
"MIT"
] | null | null | null | --2 queries - 1 result- 1 table
select id, name, age
from Adventurer
where age >45
or age <20
union all
select id, name, age
from adventurer
where MagicYN = 1 | 13.583333 | 31 | 0.717791 |
f434eb77f2d7f612596cb5e65f6b85dc1919c8a7 | 5,298 | cs | C# | SaTeatar.Mobile/SaTeatar.Mobile/ViewModels/KorpaViewModel.cs | eminafit/SaTeatar | 1906906888d663b1369ea2f4f50a1cf8a74941e9 | [
"MIT"
] | null | null | null | SaTeatar.Mobile/SaTeatar.Mobile/ViewModels/KorpaViewModel.cs | eminafit/SaTeatar | 1906906888d663b1369ea2f4f50a1cf8a74941e9 | [
"MIT"
] | null | null | null | SaTeatar.Mobile/SaTeatar.Mobile/ViewModels/KorpaViewModel.cs | eminafit/SaTeatar | 1906906888d663b1369ea2f4f50a1cf8a74941e9 | [
"MIT"
] | 1 | 2021-09-25T09:11:11.000Z | 2021-09-25T09:11:11.000Z | using QRCoder;
using SaTeatar.Mobile.Helpers;
using SaTeatar.Model.Models;
using SaTeatar.Model.Requests;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
namespace SaTeatar.Mobile.ViewModels
{
public class KorpaViewModel : BaseViewModel
{
private readonly APIService _karteService = new APIService("karte");
private readonly APIService _kupciService = new APIService("kupci");
private readonly APIService _narudzbaService = new APIService("narudzba");
private readonly APIService _narudzbaStavkeService = new APIService("narudzbaStavke");
private readonly int _idKupca = PrijavljeniKupac.Kupac.KupacId;
public KorpaViewModel()
{
RezervisiCommand = new Command(async () => await Rezervisi());
IsprazniKorpuCommand = new Command(() =>
{
KorpaList.Clear();
CartService.Cart.Clear();
IsBusy = false;
PraznaKorpa = true;
});
}
public ObservableCollection<IzvodjenjeDetaljiViewModel> KorpaList { get; set; } = new ObservableCollection<IzvodjenjeDetaljiViewModel>();
public mNarudzba Narudzba = new mNarudzba();
public List<mNarudzbaStavke> NarudzbaStavkeList = new List<mNarudzbaStavke>();
public List<mKarta> KarteList = new List<mKarta>();
decimal _ukupniIznos = 0;
public decimal UkupniIznos
{
get { return _ukupniIznos; }
set { SetProperty(ref _ukupniIznos, value); }
}
public ICommand PromijenjenaKolicnaCommand { get; set; }
public ICommand RezervisiCommand { get; set; }
public ICommand IsprazniKorpuCommand { get; set; }
bool _praznaKorpa = false;
public bool PraznaKorpa
{
get { return _praznaKorpa; }
set { SetProperty(ref _praznaKorpa, value); }
}
public void Init()
{
KorpaList.Clear();
if (CartService.Cart.Count>0)
{
IsBusy = true;
PraznaKorpa = false;
foreach (var cartValue in CartService.Cart.Values)
{
KorpaList.Add(cartValue);
UkupniIznos += cartValue.UkupnaCijena;
}
}
else
{
IsBusy = false;
PraznaKorpa = true;
}
}
public void PromijenjenaKolicina()
{
UkupniIznos = 0;
foreach (var cartValue in CartService.Cart.Values)
{
UkupniIznos += cartValue.UkupnaCijena;
}
}
byte[] GenerisiQrCode(string InputText)
{
if (string.IsNullOrEmpty(InputText))
InputText = "";
QRCodeGenerator qrGenerator = new QRCodeGenerator();
QRCodeData qrCodeData = qrGenerator.CreateQrCode(InputText, QRCodeGenerator.ECCLevel.M);
PngByteQRCode qRCode = new PngByteQRCode(qrCodeData);
return qRCode.GetGraphic(20);
}
public async Task Rezervisi()
{
if (CartService.Cart.Count > 0)
{
var narudzbaInsert = new rNarudzbaInsert()
{
BrNarudzbe = Guid.NewGuid(),
KupacId = _idKupca,
Datum = DateTime.Now,
Iznos = UkupniIznos,
PaymentId = string.Empty
};
var narudzba = await _narudzbaService.Insert<mNarudzba>(narudzbaInsert);
Narudzba = narudzba;
foreach (var cartValue in CartService.Cart.Values)
{
for (int i = 0; i < cartValue.Kolicina; i++)
{
var karta = new rKartaInsert()
{
KupacId = _idKupca,
IzvodjenjeId = cartValue.Izvodjenje.IzvodjenjeId,
IzvodjenjeZonaId = cartValue.IzvodjenjeZone.IzvodjenjeZonaId,
Placeno = false,
BrKarte =Guid.NewGuid()
};
karta.Qrcode = GenerisiQrCode(karta.BrKarte.ToString());
var mkarta = await _karteService.Insert<mKarta>(karta);
KarteList.Add(mkarta);
var ns = new rNarudzbaStavkeInsert()
{
KartaId = mkarta.KartaId,
NarudzbaId = narudzba.NarudzbaId
};
var mns = await _narudzbaStavkeService.Insert<mNarudzbaStavke>(ns);
NarudzbaStavkeList.Add(mns);
}
}
CartService.Cart.Clear();
}
}
}
}
| 34.855263 | 146 | 0.506984 |
4f219fc69e9791d8097b1f72c3b7145dc3001596 | 1,310 | ps1 | PowerShell | chocolatey-visualstudio.extension/extensions/Get-VisualStudioInstance.ps1 | kc/ChocolateyPackages | a81267a008d6be8d37aaad09e4e470f260e98c77 | [
"MIT"
] | null | null | null | chocolatey-visualstudio.extension/extensions/Get-VisualStudioInstance.ps1 | kc/ChocolateyPackages | a81267a008d6be8d37aaad09e4e470f260e98c77 | [
"MIT"
] | null | null | null | chocolatey-visualstudio.extension/extensions/Get-VisualStudioInstance.ps1 | kc/ChocolateyPackages | a81267a008d6be8d37aaad09e4e470f260e98c77 | [
"MIT"
] | null | null | null | function Get-VisualStudioInstance
{
<#
.SYNOPSIS
Returns information about installed Visual Studio instances.
.DESCRIPTION
For each Visual Studio instance installed on the machine, this function returns an object
containing the basic properties of the instance.
.OUTPUTS
A System.Management.Automation.PSObject with the following properties:
InstallationPath (System.String)
InstallationVersion (System.Version)
ProductId (System.String; Visual Studio 2017 only)
ChannelId (System.String; Visual Studio 2017 only)
#>
[CmdletBinding()]
Param
(
)
Get-WillowInstalledProducts | Where-Object { $_ -ne $null } | ForEach-Object {
$props = @{
InstallationPath = $_.installationPath
InstallationVersion = [version]$_.installationVersion
ProductId = $_.productId
ChannelId = $_.channelId
}
$obj = New-Object -TypeName PSObject -Property $props
Write-Output $obj
}
Get-VSLegacyInstance | Where-Object { $_ -ne $null } | ForEach-Object {
$props = @{
InstallationPath = $_.Path
InstallationVersion = $_.Version
ProductId = $null
ChannelId = $null
}
$obj = New-Object -TypeName PSObject -Property $props
Write-Output $obj
}
}
| 29.111111 | 89 | 0.660305 |
a4634041fbac6e67b8e758a898facc0251da6b69 | 791 | php | PHP | src/Core/Migration/Migration1592466717AddKeywordIndex.php | logTom/platform | c4abfdc17d4583d3efd76498be395f5ec376828d | [
"MIT"
] | 1 | 2021-01-13T21:58:08.000Z | 2021-01-13T21:58:08.000Z | src/Core/Migration/Migration1592466717AddKeywordIndex.php | logTom/platform | c4abfdc17d4583d3efd76498be395f5ec376828d | [
"MIT"
] | 243 | 2020-08-05T07:54:54.000Z | 2022-03-25T17:53:20.000Z | src/Core/Migration/Migration1592466717AddKeywordIndex.php | logTom/platform | c4abfdc17d4583d3efd76498be395f5ec376828d | [
"MIT"
] | 1 | 2021-01-13T21:58:10.000Z | 2021-01-13T21:58:10.000Z | <?php declare(strict_types=1);
namespace Shopware\Core\Migration;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\DBALException;
use Shopware\Core\Framework\Migration\MigrationStep;
class Migration1592466717AddKeywordIndex extends MigrationStep
{
public function getCreationTimestamp(): int
{
return 1592466717;
}
public function update(Connection $connection): void
{
try {
$connection->executeUpdate('ALTER TABLE `product_search_keyword` ADD INDEX `idx.product_search_keyword.keyword_language` (`keyword`, `language_id`);');
} catch (DBALException $e) {
// index already exists
}
}
public function updateDestructive(Connection $connection): void
{
// implement update destructive
}
}
| 26.366667 | 163 | 0.696587 |
8e428ef1cb2b558287d6a9c977cdb3b0b9e23478 | 402 | rb | Ruby | extensions/archetype-bundled/lib/archetype-bundled.rb | ima007/archetype | df7109fc33051b87c8e2f241708756838d1bb946 | [
"Apache-2.0"
] | 17 | 2015-02-08T02:28:53.000Z | 2020-07-31T12:34:16.000Z | extensions/archetype-bundled/lib/archetype-bundled.rb | ima007/archetype | df7109fc33051b87c8e2f241708756838d1bb946 | [
"Apache-2.0"
] | 4 | 2015-01-16T20:36:42.000Z | 2015-02-18T00:45:24.000Z | extensions/archetype-bundled/lib/archetype-bundled.rb | ima007/archetype | df7109fc33051b87c8e2f241708756838d1bb946 | [
"Apache-2.0"
] | 8 | 2015-02-10T00:15:32.000Z | 2019-11-24T17:14:51.000Z | require 'archetype'
require 'archetype-base'
require 'archetype-base-h5bp'
require 'archetype-base-hybrid'
require 'archetype-base-normalize'
require 'archetype-base-reset'
require 'archetype-grid'
require 'archetype-theme'
#
# register as an Archetype extension
#
Archetype::Extensions.register(
File.basename(__FILE__, '.rb'),
:path => File.expand_path(File.join(File.dirname(__FILE__), ".."))
) | 25.125 | 68 | 0.761194 |
a3e36be18945885a4911f67fa70403ce094618f1 | 1,654 | java | Java | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/PersonDetailTests.java | martyanova/java_pft | e050e1bd690ddd318fbcf04dcc8ad8b003a1db7f | [
"Apache-2.0"
] | null | null | null | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/PersonDetailTests.java | martyanova/java_pft | e050e1bd690ddd318fbcf04dcc8ad8b003a1db7f | [
"Apache-2.0"
] | null | null | null | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/PersonDetailTests.java | martyanova/java_pft | e050e1bd690ddd318fbcf04dcc8ad8b003a1db7f | [
"Apache-2.0"
] | null | null | null | package ru.stqa.pft.addressbook.tests;
import org.hamcrest.CoreMatchers;
import org.hamcrest.MatcherAssert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import ru.stqa.pft.addressbook.model.PersonData;
import java.util.Arrays;
import java.util.stream.Collectors;
/**
* Created by Саша on 14.12.2016.
*/
public class PersonDetailTests extends TestBase {
@BeforeMethod
public void ensurePreconditions(){
app.goTo().personPage();
if (app.person().all().size()==0){
app.person().create(new PersonData().withFirstname("test_1").withLastname("test2").withHome("8312568978")
.withMobile("895012345678").withWork("+4951234578").withAddress("Бульвар Южный")
.withEmail1("[email protected]").withEmail2("[email protected]").withEmail3("[email protected]"));
}
}
@Test
public void testPersonAddress() {
app.goTo().personPage();
PersonData person = app.person().all().iterator().next();
PersonData personInfoFromEditForm = app.person().infoFromEditForm(person);
PersonData personInfoDetails = app.person().infoDetailForm(person);
MatcherAssert.assertThat((merge(personInfoDetails)), CoreMatchers.equalTo(merge(personInfoDetails)));
}
private String merge(PersonData person) {
return Arrays.asList(person.getLastname(), person.getFirstname(), person.getAddress(),
person.getHome(), person.getMobile(), person.getWork(), person.getEmail1(), person.getEmail2(), person.getEmail3()).stream()
.filter((s) -> !s.equals("")).collect(Collectors.joining("\n"));
}
} | 37.590909 | 140 | 0.674728 |
fd80bef78c39f8523dbc08401e00bb0f1e2370da | 3,585 | swift | Swift | weather/Classes/PresentationLayer/UserStories/WeatherUserStory/Modules/WeatherFeed/View/WeatherFeedViewController.swift | trykovyura/Swift-Viper-Weather-App | 1e995f1c78bdf12369c2d993afd427e04e9a7b82 | [
"MIT"
] | 23 | 2017-10-01T13:37:46.000Z | 2021-11-22T09:18:46.000Z | weather/Classes/PresentationLayer/UserStories/WeatherUserStory/Modules/WeatherFeed/View/WeatherFeedViewController.swift | trykovyura/Swift-Viper-Weather-App | 1e995f1c78bdf12369c2d993afd427e04e9a7b82 | [
"MIT"
] | null | null | null | weather/Classes/PresentationLayer/UserStories/WeatherUserStory/Modules/WeatherFeed/View/WeatherFeedViewController.swift | trykovyura/Swift-Viper-Weather-App | 1e995f1c78bdf12369c2d993afd427e04e9a7b82 | [
"MIT"
] | 1 | 2018-05-03T07:00:58.000Z | 2018-05-03T07:00:58.000Z | //
// WeatherFeedWeatherFeedViewController.swift
// weather
//
// Created by trykov on 24/08/2017.
// Copyright © 2017 trykov. All rights reserved.
//
import UIKit
import RxDataSources
import RxSwift
import RxCocoa
class WeatherFeedViewController: UIViewController, WeatherFeedViewInput, UISearchBarDelegate {
@IBOutlet var searchBar: UISearchBar!
@IBOutlet var tableView: UITableView!
var output: WeatherFeedViewOutput!
let dataSource = RxTableViewSectionedReloadDataSource<WeatherFeedSection>(
configureCell: { _, tableView, _, item in
let reuseIdentifier = String(describing: WeatherFeedCell.self)
var cell = tableView.dequeueReusableCell(withIdentifier: reuseIdentifier)
if cell == nil {
let nib = UINib(nibName: reuseIdentifier, bundle: nil)
tableView.register(nib, forCellReuseIdentifier: reuseIdentifier)
cell = tableView.dequeueReusableCell(withIdentifier: reuseIdentifier)
}
if let currentCell = cell as? WeatherFeedCell {
currentCell.configure(with: item)
}
return cell!
})
var disposeBag = DisposeBag()
// MARK: Life cycle
override func viewDidLoad() {
super.viewDidLoad()
output.viewIsReady()
}
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
output.didTriggerViewWillAppear()
}
override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
output.didTriggerViewWillDisappear()
}
// MARK: WeatherFeedViewInput
func setupInitialState() {
configureTableView()
configureSearchBar()
}
private func configureTableView() {
let refreshControl = UIRefreshControl()
refreshControl.addTarget(self, action: #selector(refresh(_:)), for: .valueChanged)
tableView.refreshControl = refreshControl
}
@objc func refresh(_ refreshControl: UIRefreshControl) {
output.didTriggerPullToRefresh()
}
private func configureSearchBar() {
searchBar.delegate = self
}
func configureWithItems(items: [WeatherFeedCellObject]) {
disposeBag = DisposeBag() //Cancel item select subscribe
tableView.dataSource = nil
tableView.delegate = nil
tableView?.refreshControl?.endRefreshing()
Observable.just([WeatherFeedSection(items: items)])
.bind(to: tableView.rx.items(dataSource: dataSource))
.disposed(by: disposeBag)
tableView.rx.modelSelected(WeatherFeedCellObject.self)
.subscribe(onNext: { [weak self] item in
self?.output.didTapCity(item.city)
if let index = self?.tableView.indexPathForSelectedRow {
self?.tableView.deselectRow(at: index, animated: true)
}
})
.disposed(by: disposeBag)
}
// MARK: UISearchBarDelegate
func searchBarTextDidBeginEditing(_ searchBar: UISearchBar) {
searchBar.showsCancelButton = true
}
func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
searchBar.text = ""
searchBar.showsCancelButton = false
searchBar.resignFirstResponder()
output.didTriggerSearchEvent("")
}
func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String) {
output.didTriggerSearchEvent(searchText)
}
}
| 32.590909 | 94 | 0.64463 |
31526599d94ba61a8f1d68bd30407a03c9b2aa2b | 2,590 | sh | Shell | install-all.sh | fernanj4/trustedx-ubuntu | b5cfe500040289df5b11f849a510a61ec09a14ca | [
"MIT"
] | null | null | null | install-all.sh | fernanj4/trustedx-ubuntu | b5cfe500040289df5b11f849a510a61ec09a14ca | [
"MIT"
] | null | null | null | install-all.sh | fernanj4/trustedx-ubuntu | b5cfe500040289df5b11f849a510a61ec09a14ca | [
"MIT"
] | null | null | null | #!/bin/bash
everything() {
if which tput >/dev/null 2>&1; then
ncolors=$(tput colors)
fi
if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then
RED="$(tput setaf 1)"
GREEN="$(tput setaf 2)"
YELLOW="$(tput setaf 3)"
BLUE="$(tput setaf 4)"
BOLD="$(tput bold)"
NORMAL="$(tput sgr0)"
else
RED=""
GREEN=""
YELLOW=""
BLUE=""
BOLD=""
NORMAL=""
fi
set -e
# Currently Xenial local repositories are slow (?).
# Pass to U.S. servers for faster install
# Remove this if not needed anymore
# printf "${BLUE}Switching to U.S. archive servers...${NORMAL}\n"
# sudo sed -i "s@/es.@/us.@" /etc/apt/sources.list
# Install begins
BRANCH="master"
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-distroupdate.sh -O -)"
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-basepackages.sh -O -)"
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-vmguest.sh -O -)"
# git+minimal config
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-git.sh -O -)"
# Byobu+ZSH
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-byobu.sh -O -)"
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-powerlinefonts.sh -O -)"
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-golang.sh -O -)"
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-visualstudiocode.sh -O -)"
# Docker, Docker Compose, Docker Machine
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-docker.sh -O -)"
# Java
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-java.sh -O -)"
# Google Chrome
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-chrome.sh -O -)"
# ZSH+Oh-my-ZSH
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-zsh.sh -O -)"
bash -c "$(wget https://raw.githubusercontent.com/juancarlosfernandez/trustedx-ubuntu/$BRANCH/install-eclipse.sh -O -)"
# Final recommendations
printf "${YELLOW}Installation finished. A REBOOT is recommended now.${NORMAL}\n"
}
everything
| 37.536232 | 130 | 0.694208 |
ef6a97523f57adc77c0daa2c25d9e4dc25b8ab65 | 99 | js | JavaScript | src/fs_related/isFileExtEq.sub.js | jaandrle/jaaCSS-cli | 4b5edc33728477d0debccc12b4a0976d40066ef6 | [
"MIT"
] | null | null | null | src/fs_related/isFileExtEq.sub.js | jaandrle/jaaCSS-cli | 4b5edc33728477d0debccc12b4a0976d40066ef6 | [
"MIT"
] | 1 | 2021-05-29T18:50:10.000Z | 2021-05-29T18:50:10.000Z | src/fs_related/isFileExtEq.sub.js | jaandrle/jaaCSS-cli | 4b5edc33728477d0debccc12b4a0976d40066ef6 | [
"MIT"
] | null | null | null | function isFileExtEq(file, target= "scss"){
return file.slice(-target.length-1)==="."+target;
} | 33 | 53 | 0.676768 |
e277c83f669dcff60d45f42e154fb1183a26d8d6 | 22,437 | py | Python | glearn/nerualnetworks/nn.py | ggutierrez545/neuralnetworks | 891fc622515af765b8529091b99e377215e195ca | [
"MIT"
] | null | null | null | glearn/nerualnetworks/nn.py | ggutierrez545/neuralnetworks | 891fc622515af765b8529091b99e377215e195ca | [
"MIT"
] | 7 | 2020-07-17T23:58:40.000Z | 2020-08-17T21:28:21.000Z | glearn/nerualnetworks/nn.py | ggutierrez545/neuralnetworks | 891fc622515af765b8529091b99e377215e195ca | [
"MIT"
] | null | null | null | import numpy as np
from ..utils.activation import activation, loss
class NeuralNetwork(object):
"""Base class representation of a neural network.
Contains the logic and framework to build any fully connected,
feed-forward neural network.
Parameters
----------
seed : int
Seed for pseudo random number generation.
l_rate : float
Learning rate for gradient descent back propagation.
m_factor : float
Momentum factor for gradient descent back propagation.
Attributes
----------
seed
l_rate
m_factor
input_layer : :obj:`None` or :obj:`InputLayer`
None when `NeuralNetwork` class is initialized.
`InputLayer` instance once user calls `add_input_layer` method.
layers : :obj:`list` of :obj:`InputLayer` and :obj:`ConnectedLayer`
List containing the `InputLayer` and `ConnectedLayer`
instances that form the architecture of the `NeuralNetwork`.
First element in list is an `InputLayer` instance and
all subsequent elements are `ConnectedLayer` instances.
segments : list
List containing `ConnectedSegment` instances which contain much of the
primary feed forward / back propagation logic.
Methods
-------
input_layer()
Get or set the current `InputLayer` instance.
add_input_layer(size)
Add an `InputLayer` instance to the `NeuralNetwork` and append it to the `layers` attribute.
add_connected_layer(size)
Add an `InputLayer` instance to the `NeuralNetwork' and append it to the `layers` attribute.
nn_feedforward(x, a_function='relu')
Feed the `NeuralNetwork` an example to make a prediction on.
nn_backpropagate(truth, a_function='relu', updater='sgd', batch_size=50, momentum=True)
Back propagate the resulting error from a `nn_feedforward` pass.
"""
def __init__(self, seed=10, l_rate=0.01, m_factor=0.9, loss_func='mean-squared'):
self.seed = seed
self.l_rate = l_rate
self.m_factor = m_factor
self.input_layer = None
self.layers = []
self.segments = []
self.loss_func = loss_func
np.random.seed(seed)
@property
def input_layer(self):
""":obj:`InputLayer` : `InputLayer` instance serving as the first layer in the `NeuralNetwork`.
Setter method ensures input_layer must be `InputLayer` instance.
Raises
------
AssertionError
If input_layer attempted is not `InputLayer` instance.
"""
return self.__input_layer
@input_layer.setter
def input_layer(self, input_layer):
if input_layer is None:
self.__input_layer = None
else:
assert type(input_layer) is InputLayer, f"Cannot set input_layer with {type(input_layer)}; must be InputLayer instance"
self.__input_layer = input_layer
def add_input_layer(self, size):
"""Method to add an input layer of inputted size.
Parameters
----------
size : int or tuple
Number of neurons in input layer or shape of input image.
Raises
------
AssertionError
If `NeuralNetwork` instance already contains an `InputLayer` in the `layers` attribute.
Notes
-----
Method does not return anything. Instead, it sets the `input_layer` attribute to an `InputLayer`
instance and appends it to the beginning of the `layers` attribute.
"""
# Before adding an InputLayer, verify one has not already been initialized
if [type(i) for i in self.layers].__contains__(InputLayer):
raise AssertionError("NeuralNetwork instance already contains InputLayer")
else:
# Accessibility of InputLayer makes feedforward method much easier. Same instance of InputLayer class is
# referenced in both self.input_layer and self.layers
self.input_layer = InputLayer(size, parent=self.__class__)
self.layers.append(self.input_layer)
def add_connected_layer(self, size, activation_function='relu'):
"""Method to add `ConnectedLayer` of inputted size.
Parameters
----------
size : int
Number of neurons in connected layer.
activation_function : str
Keyword indicating the activation function to use for the layer.
Raises
------
AssertionError
If `NeuralNetwork` does not already contain an `InputLayer` instance.
"""
# Before adding ConnectedLayer, verify an InputLayer has already been initialized
if [type(i) for i in self.layers].__contains__(InputLayer):
self.layers.append(ConnectedLayer(size, activation=activation_function))
# After each ConnectedLayer is added, create a ConnectedSegment from the last two elements in self.layers.
# Using elements from self.layers to create the ConnectedSegment instance allows the chain of InputLayer and
# ConnectedLayer references to be maintained. This is crucial for this architecture
self.segments.append(ConnectedSegment(*self.layers[-2:]))
else:
raise AssertionError("NeuralNetwork instance must contain an InputLayer before adding a ConnectedLayer")
def feedforward(self, x):
"""Method to feed forward an example through the `NeuralNetwork` and make a prediction.
Parameters
----------
x : `numpy.ndarray`
Numpy array containing training example input data.
Notes
-----
`x` overwrites the `act_vals` attribute in the `NeuralNetwork` instance's `InputLayer` allowing the information
to be transfered to the `ConnectedSegment` instance containing the `InputLayer` as well, thereby making the
feed forward process very simple.
"""
# Update the InputLayer instance with a new set of values. This update will now be available in the first
# ConnectedSegment instance in the self.segments list.
self.input_layer.act_vals = x
# And just simply iterate through each ConnectedSegment instance, calling the forward_pass method
# on each which will update the relevant ConnectedLayer for use in the next ConnectedSegment
for segment in self.segments:
segment.forward_pass()
def backpropagate(self, truth, updater='sgd', batch_size=50, momentum=True):
"""Method to back propagate the error from a training example
Parameters
----------
truth : `np.ndarray`
Array depicting the training example's actual value.
updater : :obj:str, default 'sgd'
String keyword for weights and biases updater method. Support keywords are 'sgd' and 'mini-batch'.
batch_size : :obj:int, default 50
Size of the mini-batch to update.
momentum : :obj:bool, default `True`
Toggle to include momentum calculation in updater method.
"""
cost = loss(self.layers[-1].act_vals, truth, loss_type=self.loss_func)
delta = None
for segment in reversed(self.segments):
if delta is None:
activated = activation(segment.back.raw_vals, func=segment.back.a_func, derivative=True)
if self.loss_func == 'cross-entropy':
delta = (cost.T @ activated).reshape(-1, 1)
else:
delta = cost * activated
segment.back_propagate(delta)
delta = segment.setup_next_delta(delta)
segment.update_weights(self.l_rate, self.m_factor, updater=updater, batch_size=batch_size, momentum=momentum)
class InputLayer(object):
"""Simple class depicting the first layer in a neural network.
Serves as base class for :obj:`ConnectedLayer`.
Parameters
----------
size : int
Number of neurons in the layer.
Attributes
----------
size : int
Number of neurons or rows of neurons in input layer.
shape : tuple
Shape of the layer as an array.
act_vals : :obj:`None` or :obj:`numpy.ndarray`
Array of activation values.
"""
def __init__(self, size, parent):
self._size_shape(size)
self.act_vals = None
self._parent = parent
def _size_shape(self, size):
"""Determine if input is a vector or an array, i.e. if an image or not.
Parameters
----------
size : int or tuple
"""
if type(size) is tuple:
self.shape = size
else:
self.shape = (size, 1)
self.size = int(np.prod(self.shape))
@property
def act_vals(self):
"""Array container for activation values.
Setter method has a number of checks to ensure the new `act_vals` is the same size and shape as the
previous `act_vals`. This is to maintain dimensional continuity within the `NeuralNetwork` instance.
Raises
------
AssertionError
If number of neurons in new `act_vals` does not match previous neuron count.
ValueError
If new `act_vals` array shape does not match previous `act_vals` array shape.
"""
return self.__act_vals
@act_vals.setter
def act_vals(self, act_vals):
try:
assert np.prod(act_vals.shape) == self.size, f"New layer size, {len(act_vals)}, != initial layer size {self.size}"
if self._parent is NeuralNetwork:
self.__act_vals = act_vals.reshape(-1, 1)
else:
self.__act_vals = act_vals
except AttributeError:
self.__act_vals = None
class ConnectedLayer(InputLayer):
"""Child class of `InputLayer` depicting connected layers in a neural network.
Parameters
----------
size : int
Number of neurons in the connected layer.
activation : str
Keyword indicating the type of activation function to use.
Attributes
----------
raw_vals : :obj:`None` or :obj:`numpy.array`
Layer's raw values, i.e. before passing through activation function.
biases : `numpy.array`
Bias value associated with each neuron in the layer.
See Also
--------
`InputLayer`
"""
def __init__(self, size, activation='', parent=''):
super().__init__(size, parent=parent)
self.raw_vals = None
self.biases = np.zeros((size, 1)) + 0.01
self.a_func = activation
@property
def raw_vals(self):
"""Array container for layer values pre-activation function.
Setter method verifies the new `raw_vals` array shape matches the old `raw_vals` array shape. If the attempted
`raw_vals` is not an array and does not have a `shape` method, `raw_vals` is set to `None`.
Raises
------
AssertionError
If new `raw_vals` array shape is not equal to previous shape.
"""
return self.__raw_vals
@raw_vals.setter
def raw_vals(self, raw_vals):
try:
assert raw_vals.shape == self.shape, f"Raw layer shape, {raw_vals.shape}, != initial shape {self.shape}"
self.__raw_vals = raw_vals
self.act_vals = activation(self.raw_vals, func=self.a_func)
except AttributeError:
self.__raw_vals = None
@property
def biases(self):
"""Array container for neurons' bias terms.
Setter method verifies attempted `biases` array shape matches old shape.
Raises
------
AssertionError
If attempted `biases` shape does not match original shape.
"""
return self.__biases
@biases.setter
def biases(self, biases):
assert biases.shape == self.shape, f"New biases shape, {biases.shape}, != shape of layer {self.shape}"
self.__biases = biases
class ConnectedSegment(object):
"""Container class for two layers in a `NeuralNetwork` instance.
`ConnectedSegment` instances contain the weights between two layers in the neural network, as well as much of the logic
for the feed forward and back propagation methods of the `NeuralNetwork` class. Consecutive `ConnectedSegment` instances
have overlapping `front` and `back` layers (i.e they are the same `ConnectedLayer` instance). This architecture
allows for easy access to either preceding or following layers when making calculations and allows the `NeSegment`
class to contain simplified logic feed forward and back propagation applications.
Parameters
----------
input_layer : :obj:`InputLayer` or :obj:`ConnectedLayer`
The first layer in the `ConnectedSegment` instance.
output_layer : `ConnectedLayer`
The last layer in the `ConnectedSegment` instance.
Attributes
----------
front : :obj:`InputLayer` or :obj:`ConnectedLayer`
The first layer in the `ConnectedSegment` instance.
back : `ConnectedLayer`
The last layer in the `ConnectedSegment` instance.
weights : `ndarray`
Weights of connections between front and back layers.
shape : tuple
Shape of the weights array.
w_updates : :obj:`None` or :obj:`ndarray`
Array containing each weights' update calculated from back propagation.
prev_w_updates : :obj:`int` or :obj:`ndarray`
Array containing previous weights' update for use with momentum.
w_batch : :obj:`None` or :obj:`ndarray`
Array containing sum of weight updates for mini-batch sgd.
b_updates : :obj:`None` or :obj:`ndarray`
Array containing each biases' update calculated from back propagation.
prev_b_updates : :obj:`int` or :obj:`ndarray`
Array containing previous biases' update for use with momentum.
b_batch : :obj:`None` or :obj:`ndarray`
Array containing sum of bias updates for mini-batch sgd.
forward_passes : int
Number of times a training example has been fed forward.
Methods
-------
forward_pass(activation='')
Calculate a forward pass from the front layer to the back layer.
back_propagate(delta)
Calculate the weight updates via back propagation.
setup_next_delta(delta, activation='')
Setup delta value for use in next `NegSegment` instance.
update_weights(l_rate, m_factor, updater='', batch_size=50, momentum=True)
Update the weights based on back propagation pass.
activation(val, func='', derivative=False)
Static method to access various activation functions.
"""
def __init__(self, input_layer, output_layer):
self.front = input_layer
self.back = output_layer
self.shape = None
self.weights = None
self._create_weights()
self.w_updates = None
self.prev_w_updates = 0
self.w_batch = None
self.b_updates = None
self.prev_b_updates = 0
self.b_batch = None
self.forward_passes = 0
self.weight_hist = []
def _create_weights(self):
if type(self.front) in [InputLayer, ConnectedLayer]:
self.weights = np.random.randn(self.back.size, self.front.size) * np.sqrt(1 / self.front.size)
else:
self.weights = np.random.randn(self.back.size, self.front.output_size) * np.sqrt(1 / self.front.output_size)
self.shape = self.weights.shape
@property
def weights(self):
"""Array container for the weights connecting the front layer to the back layer.
Setter method contains logic to ensure consistent dimensions when updating weights.
Raises
------
ValueError
If attempting to set weights array that does not match original shape of weights array.
"""
return self.__weights
@weights.setter
def weights(self, weights):
if self.shape is not None:
try:
if weights.shape != self.shape:
raise ValueError(f"Updated weights shape, {weights.shape}, != initial weights shape {self.shape}")
else:
self.__weights = weights
except AttributeError:
self.__weights = weights
else:
self.__weights = weights
@property
def w_updates(self):
"""Array container for updates to each weight calculated via back propagation.
Setter method contains logic to ensure consistent dimensions with original weight array.
Raises
------
AssertionError
If attempting to set `w_updates` with dimensionally inconsistent array.
"""
return self.__w_updates
@w_updates.setter
def w_updates(self, w_updates):
try:
assert w_updates.shape == self.shape, f"Weight updates shape, {w_updates.shape}, != initial weights shape {self.shape}"
self.__w_updates = w_updates
except AttributeError:
self.__w_updates = None
@property
def b_updates(self):
"""Array container for `ConnectedSegment` back layer's bias updates.
Setter method contains logic to ensure dimensional consistency with back layer's bias array.
Raises
------
AssertionError
If attempting to set `b_updates` with dimensionally inconsistent array.
"""
return self.__b_updates
@b_updates.setter
def b_updates(self, b_updates):
try:
assert b_updates.shape == self.back.shape, f"Bias updates shape, {b_updates.shape}, != initial shape {self.back.shape}"
self.__b_updates = b_updates
except AttributeError:
self.__b_updates = None
def forward_pass(self):
"""Fundamental logic to calculate a forward pass between two layers in a `NeuralNetwork` instance.
"""
if type(self.front) in [InputLayer, ConnectedLayer]:
self.back.raw_vals = self.weights @ self.front.act_vals + self.back.biases
else:
self.back.raw_vals = self.weights @ self.front.raveled_output + self.back.biases
self.forward_passes += 1
def back_propagate(self, delta):
"""Fundamental logic to calculate weight and bias updates from back propagation in a `NeuralNetwork` instance.
Parameters
----------
delta : :obj:`ndarray`
Array containing necessary computations from earlier portions of back propagation.
"""
if type(self.front) in [InputLayer, ConnectedLayer]:
self.w_updates = delta @ self.front.act_vals.T
else:
self.w_updates = delta @ self.front.raveled_output.T
self.b_updates = delta
def setup_next_delta(self, delta):
"""Logic to calculate new deltas for each layer in back propagation calculation.
Parameters
----------
delta : :obj:`ndarray`
Array containing necessary computations from earlier portions of back propagation.
Returns
-------
NoneType
When back propagation has reached `InputLayer` instance.
:obj:`ndarray`
Delta array to use for next layer in back propagation computation.
"""
# If self.front is an InputLayer, i.e. we've backpropagated to the initial layer, there will be an
# AttributeError because InputLayers do not have `raw_vals`. Catch this error and pass because backpropagation
# is complete.
if type(self.front) is InputLayer:
return None
elif type(self.front) is ConnectedLayer:
return (self.weights.T @ delta) * activation(self.front.raw_vals, func=self.front.a_func, derivative=True)
else:
try:
activated = activation(self.front.raw_output, func=self.front.a_func, derivative=True)
return (self.weights.T @ delta).reshape(*self.front.shape) * activated
except AttributeError:
return (self.weights.T @ delta).reshape(*self.front.shape)
def update_weights(self, l_rate, m_factor, updater='', batch_size=50, momentum=True):
"""Function to update `ConnectedSegment` instance's weights and biases based on user input.
Parameters
----------
l_rate : float
The `NeuralNetwork`s learning rate.
m_factor : float
The `NeuralNetwork`s momentum factor.
updater : str
Keyword conveying type of activation function to use.
batch_size : int
Size of batch for mini-batch gradient descent.
momentum : bool
Whether or not to include momentum optimization.
Raises
------
KeyError
If `updater` is unsupported.
"""
self.weight_hist.append(self.weights.max())
if updater == 'sgd':
w_update = (l_rate * self.w_updates) + (m_factor * self.prev_w_updates)
b_update = (l_rate * self.b_updates) + (m_factor * self.prev_b_updates)
self.weights -= w_update
self.back.biases -= b_update
if momentum:
self.prev_w_updates = -w_update
self.prev_b_updates = -b_update
elif updater == 'mini_batch':
if self.forward_passes % batch_size != 0:
try:
self.w_batch += self.w_updates
self.b_batch += self.b_updates
except TypeError:
self.w_batch = self.w_updates
self.b_batch = self.b_updates
else:
w_update = (l_rate * (self.w_batch/batch_size)) + (m_factor * self.prev_w_updates)
b_update = (l_rate * (self.b_batch/batch_size)) + (m_factor * self.prev_b_updates)
self.weights -= w_update
self.back.biases -= b_update
if momentum:
self.prev_w_updates -= w_update
self.prev_b_updates -= b_update
self.w_batch = self.w_updates
self.b_batch = self.b_updates
else:
raise KeyError(f"Unrecognized updater: {updater}")
| 37.457429 | 131 | 0.627045 |
7be50855d3181a2efa58a3b2d49fbd7a36a69d6d | 435 | rb | Ruby | aem/recipes/master.rb | vivafish/opsworks-cookbooks | 8e03c495005019e1f0025a5d6e422b6cd86a7915 | [
"Apache-2.0"
] | null | null | null | aem/recipes/master.rb | vivafish/opsworks-cookbooks | 8e03c495005019e1f0025a5d6e422b6cd86a7915 | [
"Apache-2.0"
] | null | null | null | aem/recipes/master.rb | vivafish/opsworks-cookbooks | 8e03c495005019e1f0025a5d6e422b6cd86a7915 | [
"Apache-2.0"
] | null | null | null | # Create an aem user
#user node['adobe-aem']['master']['user'] do
# home node['adobe-aem']['master']['home']
#end
# Create the aem group
#group node['adobe-aem']['master']['group'] do
# members node['adobe-aem']['master']['user']
#end
# We want Oracle Java 7
node.set['java']['install_flavor'] = 'oracle'
node.set['java']['oracle']['accept_oracle_download_terms'] = true
node.set['java']['jdk_version'] = 7
include_recipe "java"
| 25.588235 | 65 | 0.664368 |
53348810a7b3e4abea9590b55bb646f6800eaeb7 | 42 | rs | Rust | src/utils/mod.rs | littleTitan/feo-math | 7bfc2b4e55ddcf8b1c13db30b23e60d69b581f14 | [
"MIT"
] | 1 | 2022-02-09T21:07:08.000Z | 2022-02-09T21:07:08.000Z | src/utils/mod.rs | littleTitan/feo-math | 7bfc2b4e55ddcf8b1c13db30b23e60d69b581f14 | [
"MIT"
] | null | null | null | src/utils/mod.rs | littleTitan/feo-math | 7bfc2b4e55ddcf8b1c13db30b23e60d69b581f14 | [
"MIT"
] | null | null | null | //! Higher level Utilities.
pub mod space; | 21 | 27 | 0.738095 |
393e0447e3fa7fdd02cccdf98e4027ae98ed8a66 | 7,632 | py | Python | tests/chainer_tests/functions_tests/pooling_tests/test_max_pooling_2d.py | lanpa/chainer-tensorboard-example | 33f0c6c1d414fd4e866179d77455ee8739e1f6d2 | [
"MIT"
] | 2 | 2018-02-05T07:25:48.000Z | 2018-08-28T20:29:45.000Z | tests/chainer_tests/functions_tests/pooling_tests/test_max_pooling_2d.py | lanpa/chainer-tensorboard-example | 33f0c6c1d414fd4e866179d77455ee8739e1f6d2 | [
"MIT"
] | null | null | null | tests/chainer_tests/functions_tests/pooling_tests/test_max_pooling_2d.py | lanpa/chainer-tensorboard-example | 33f0c6c1d414fd4e866179d77455ee8739e1f6d2 | [
"MIT"
] | null | null | null | import unittest
import mock
import numpy
import six
import chainer
from chainer import cuda
from chainer import functions
from chainer import gradient_check
from chainer import testing
from chainer.testing import attr
from chainer.testing import condition
@testing.parameterize(*testing.product({
'cover_all': [True, False],
'dtype': [numpy.float16, numpy.float32, numpy.float64],
}))
class TestMaxPooling2D(unittest.TestCase):
def setUp(self):
# Avoid unstability of numerical gradient
self.x = numpy.arange(
2 * 3 * 4 * 3, dtype=self.dtype).reshape(2, 3, 4, 3)
numpy.random.shuffle(self.x)
self.x = 2 * self.x / self.x.size - 1
if self.cover_all:
self.gy = numpy.random.uniform(
-1, 1, (2, 3, 3, 2)).astype(self.dtype)
else:
self.gy = numpy.random.uniform(
-1, 1, (2, 3, 2, 2)).astype(self.dtype)
def check_forward(self, x_data, use_cudnn='always'):
x = chainer.Variable(x_data)
with chainer.using_config('use_cudnn', use_cudnn):
y = functions.max_pooling_2d(x, 3, stride=2, pad=1,
cover_all=self.cover_all)
self.assertEqual(y.data.dtype, self.dtype)
y_data = cuda.to_cpu(y.data)
self.assertEqual(self.gy.shape, y_data.shape)
for k in six.moves.range(2):
for c in six.moves.range(3):
x = self.x[k, c]
if self.cover_all:
expect = numpy.array([
[x[0:2, 0:2].max(), x[0:2, 1:3].max()],
[x[1:4, 0:2].max(), x[1:4, 1:3].max()],
[x[3:4, 0:2].max(), x[3:4, 1:3].max()]])
else:
expect = numpy.array([
[x[0:2, 0:2].max(), x[0:2, 1:3].max()],
[x[1:4, 0:2].max(), x[1:4, 1:3].max()]])
testing.assert_allclose(expect, y_data[k, c])
@condition.retry(3)
def test_forward_cpu(self):
self.check_forward(self.x)
def test_forward_cpu_wide(self): # see #120
x_data = numpy.random.rand(2, 3, 15, 15).astype(self.dtype)
x = chainer.Variable(x_data)
functions.max_pooling_2d(x, 6, stride=6, pad=0)
def test_forward_output_size_zero_cpu(self):
with six.assertRaisesRegex(
self, AssertionError,
'Height in the output should be positive.'):
x_data = numpy.random.rand(4, 4, 1, 4).astype(self.dtype)
x = chainer.Variable(x_data)
functions.max_pooling_2d(x, 3, stride=2)
with six.assertRaisesRegex(
self, AssertionError,
'Width in the output should be positive.'):
x_data = numpy.random.rand(4, 4, 4, 1).astype(self.dtype)
x = chainer.Variable(x_data)
functions.max_pooling_2d(x, 3, stride=2)
@attr.gpu
@condition.retry(3)
def test_forward_gpu(self):
self.check_forward(cuda.to_gpu(self.x))
@attr.gpu
@condition.retry(3)
def test_forward_gpu_non_contiguous(self):
self.check_forward(cuda.cupy.asfortranarray(cuda.to_gpu(self.x)))
@attr.gpu
@condition.retry(3)
def test_forward_gpu_no_cudnn(self):
self.check_forward(cuda.to_gpu(self.x), 'never')
@attr.gpu
def test_forward_output_size_zero_gpu(self):
with six.assertRaisesRegex(
self, AssertionError,
'Height in the output should be positive.'):
x_data = cuda.cupy.random.rand(4, 4, 1, 4).astype(self.dtype)
x = chainer.Variable(x_data)
with chainer.using_config('use_cudnn', 'never'):
functions.max_pooling_2d(x, 3, stride=2)
with six.assertRaisesRegex(
self, AssertionError,
'Width in the output should be positive.'):
x_data = cuda.cupy.random.rand(4, 4, 4, 1).astype(self.dtype)
x = chainer.Variable(x_data)
with chainer.using_config('use_cudnn', 'never'):
functions.max_pooling_2d(x, 3, stride=2)
@attr.cudnn
def test_forward_output_size_zero_cudnn(self):
with six.assertRaisesRegex(
self, AssertionError,
'Height in the output should be positive.'):
x_data = cuda.cupy.random.rand(4, 4, 1, 4).astype(self.dtype)
x = chainer.Variable(x_data)
with chainer.using_config('use_cudnn', 'always'):
functions.max_pooling_2d(x, 3, stride=2)
with six.assertRaisesRegex(
self, AssertionError,
'Width in the output should be positive.'):
x_data = cuda.cupy.random.rand(4, 4, 4, 1).astype(self.dtype)
x = chainer.Variable(x_data)
with chainer.using_config('use_cudnn', 'always'):
functions.max_pooling_2d(x, 3, stride=2)
def check_backward(self, x_data, y_grad, use_cudnn='always'):
with chainer.using_config('use_cudnn', use_cudnn):
gradient_check.check_backward(
functions.MaxPooling2D(
3, stride=2, pad=1, cover_all=self.cover_all),
x_data, y_grad, dtype='d', atol=1e-4, rtol=1e-3)
@condition.retry(3)
def test_backward_cpu(self):
self.check_backward(self.x, self.gy)
@attr.gpu
@condition.retry(3)
def test_backward_gpu(self):
self.check_backward(cuda.to_gpu(self.x), cuda.to_gpu(self.gy))
@attr.gpu
@condition.retry(3)
def test_backward_gpu_non_contiguous(self):
self.check_backward(
cuda.cupy.asfortranarray(cuda.to_gpu(self.x)),
cuda.cupy.asfortranarray(cuda.to_gpu(self.gy)))
@attr.gpu
@condition.retry(3)
def test_backward_gpu_no_cudnn(self):
self.check_backward(cuda.to_gpu(self.x), cuda.to_gpu(self.gy), 'never')
def test_backward_cpu_more_than_once(self):
func = functions.MaxPooling2D(
3, stride=2, pad=1, cover_all=self.cover_all)
func(self.x)
func.backward_cpu((self.x,), (self.gy,))
func.backward_cpu((self.x,), (self.gy,))
@testing.parameterize(*testing.product({
'use_cudnn': ['always', 'auto', 'never'],
'dtype': [numpy.float16, numpy.float32, numpy.float64],
}))
@attr.cudnn
class TestMaxPooling2DCudnnCall(unittest.TestCase):
def setUp(self):
self.x = cuda.cupy.arange(
2 * 3 * 4 * 3, dtype=self.dtype).reshape(2, 3, 4, 3)
self.gy = cuda.cupy.random.uniform(-1, 1,
(2, 3, 2, 2)).astype(self.dtype)
def forward(self):
x = chainer.Variable(self.x)
return functions.max_pooling_2d(
x, 3, stride=2, pad=1, cover_all=False)
def test_call_cudnn_forward(self):
with chainer.using_config('use_cudnn', self.use_cudnn):
with mock.patch('cupy.cudnn.cudnn.poolingForward') as func:
self.forward()
self.assertEqual(func.called,
chainer.should_use_cudnn('>=auto'))
def test_call_cudnn_backward(self):
with chainer.using_config('use_cudnn', self.use_cudnn):
expect = chainer.should_use_cudnn('>=auto')
y = self.forward()
# should be consistent to forward regardless of use_cudnn config
y.grad = self.gy
with mock.patch('cupy.cudnn.cudnn.poolingBackward') as func:
y.backward()
self.assertEqual(func.called, expect)
testing.run_module(__name__, __file__)
| 37.596059 | 79 | 0.587788 |
5e1c0d49bf2f877b637b2b54a3851d7a02ce6148 | 25 | rb | Ruby | p2/ch7/inspection/s1/list_string.rb | CaddyDz/Ruby | 7e17185b60e618c1452d312924172da648029d6f | [
"Unlicense"
] | null | null | null | p2/ch7/inspection/s1/list_string.rb | CaddyDz/Ruby | 7e17185b60e618c1452d312924172da648029d6f | [
"Unlicense"
] | null | null | null | p2/ch7/inspection/s1/list_string.rb | CaddyDz/Ruby | 7e17185b60e618c1452d312924172da648029d6f | [
"Unlicense"
] | null | null | null | puts String.methods.sort
| 12.5 | 24 | 0.84 |
38881596cfea6da1a730cbd33931df3f623cf433 | 311 | php | PHP | resources/views/includes/frontend/footer/info.blade.php | codingdriver15/LaravelAjaxCrud | 8735ffc4b68e692c5d03aa57d9cf817d7baa4800 | [
"MIT"
] | 1 | 2021-07-04T07:25:17.000Z | 2021-07-04T07:25:17.000Z | resources/views/includes/frontend/footer/info.blade.php | codingdriver15/LaravelAjaxCrud | 8735ffc4b68e692c5d03aa57d9cf817d7baa4800 | [
"MIT"
] | null | null | null | resources/views/includes/frontend/footer/info.blade.php | codingdriver15/LaravelAjaxCrud | 8735ffc4b68e692c5d03aa57d9cf817d7baa4800 | [
"MIT"
] | null | null | null | <div class="footer-info">
<h3>Rapid</h3>
<p>Cras fermentum odio eu feugiat lide par naso tierra. Justo eget nada terra videa magna derita valies darta donna mare fermentum iaculis eu non diam phasellus. Scelerisque felis imperdiet proin fermentum leo. Amet volutpat consequat mauris nunc congue.</p>
</div>
| 62.2 | 260 | 0.778135 |
bb4c0e1e9038a7f0b0066486910916f4fb0abe52 | 2,798 | cs | C# | sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongRunningOperation/ServerVulnerabilityAssessmentCreateOrUpdateOperation.cs | ElleTojaroon/azure-sdk-for-net | 225c56c1b7d7e00c701a48642c31780b69d1e547 | [
"MIT"
] | 3,268 | 2015-01-08T04:21:52.000Z | 2022-03-31T11:10:48.000Z | sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongRunningOperation/ServerVulnerabilityAssessmentCreateOrUpdateOperation.cs | meiling222/azure-sdk-for-net | 70ab0ee81d812683c767f2f1fef1a6bdc8e186e2 | [
"MIT"
] | 18,748 | 2015-01-06T00:12:22.000Z | 2022-03-31T23:55:50.000Z | sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongRunningOperation/ServerVulnerabilityAssessmentCreateOrUpdateOperation.cs | meiling222/azure-sdk-for-net | 70ab0ee81d812683c767f2f1fef1a6bdc8e186e2 | [
"MIT"
] | 4,179 | 2015-01-07T20:13:22.000Z | 2022-03-31T09:09:02.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.ResourceManager.Core;
using Azure.ResourceManager.Sql;
namespace Azure.ResourceManager.Sql.Models
{
/// <summary> Creates or updates the server's vulnerability assessment. Learn more about setting SQL vulnerability assessment with managed identity - https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage. </summary>
public partial class ServerVulnerabilityAssessmentCreateOrUpdateOperation : Operation<ServerVulnerabilityAssessment>
{
private readonly OperationOrResponseInternals<ServerVulnerabilityAssessment> _operation;
/// <summary> Initializes a new instance of ServerVulnerabilityAssessmentCreateOrUpdateOperation for mocking. </summary>
protected ServerVulnerabilityAssessmentCreateOrUpdateOperation()
{
}
internal ServerVulnerabilityAssessmentCreateOrUpdateOperation(ArmResource operationsBase, Response<ServerVulnerabilityAssessmentData> response)
{
_operation = new OperationOrResponseInternals<ServerVulnerabilityAssessment>(Response.FromValue(new ServerVulnerabilityAssessment(operationsBase, response.Value), response.GetRawResponse()));
}
/// <inheritdoc />
public override string Id => _operation.Id;
/// <inheritdoc />
public override ServerVulnerabilityAssessment Value => _operation.Value;
/// <inheritdoc />
public override bool HasCompleted => _operation.HasCompleted;
/// <inheritdoc />
public override bool HasValue => _operation.HasValue;
/// <inheritdoc />
public override Response GetRawResponse() => _operation.GetRawResponse();
/// <inheritdoc />
public override Response UpdateStatus(CancellationToken cancellationToken = default) => _operation.UpdateStatus(cancellationToken);
/// <inheritdoc />
public override ValueTask<Response> UpdateStatusAsync(CancellationToken cancellationToken = default) => _operation.UpdateStatusAsync(cancellationToken);
/// <inheritdoc />
public override ValueTask<Response<ServerVulnerabilityAssessment>> WaitForCompletionAsync(CancellationToken cancellationToken = default) => _operation.WaitForCompletionAsync(cancellationToken);
/// <inheritdoc />
public override ValueTask<Response<ServerVulnerabilityAssessment>> WaitForCompletionAsync(TimeSpan pollingInterval, CancellationToken cancellationToken = default) => _operation.WaitForCompletionAsync(pollingInterval, cancellationToken);
}
}
| 45.868852 | 268 | 0.756969 |
3d052e5a0477d31ad623d5afb140dc57645e2f28 | 3,086 | swift | Swift | src/common/extensions/UIColor+Extensions.swift | danielruuth/Mpiddy-iOS | 03187f08aaf73370013b7dca40570485db5fdfa0 | [
"MIT"
] | 32 | 2019-03-08T18:36:27.000Z | 2021-05-18T08:40:19.000Z | src/common/extensions/UIColor+Extensions.swift | danielruuth/Mpiddy-iOS | 03187f08aaf73370013b7dca40570485db5fdfa0 | [
"MIT"
] | 3 | 2019-11-04T20:41:08.000Z | 2020-11-13T07:21:30.000Z | src/common/extensions/UIColor+Extensions.swift | danielruuth/Mpiddy-iOS | 03187f08aaf73370013b7dca40570485db5fdfa0 | [
"MIT"
] | 3 | 2019-09-10T12:38:14.000Z | 2020-12-28T14:06:19.000Z | import UIKit
extension UIColor {
// MARK: - Initializers
public convenience init(rgb: Int32, alpha: CGFloat) {
let red = ((CGFloat)((rgb & 0xFF0000) >> 16)) / 255
let green = ((CGFloat)((rgb & 0x00FF00) >> 8)) / 255
let blue = ((CGFloat)(rgb & 0x0000FF)) / 255
self.init(red: red, green: green, blue: blue, alpha: alpha)
}
public convenience init(rgb: Int32) {
self.init(rgb: rgb, alpha: 1)
}
func inverted() -> UIColor {
var red: CGFloat = 0, green: CGFloat = 0, blue: CGFloat = 0, alpha: CGFloat = 0
getRed(&red, green: &green, blue: &blue, alpha: &alpha)
return UIColor(red: 1 - red, green: 1 - green, blue: 1 - blue, alpha: 1)
}
func isBlackOrWhite() -> Bool {
var red: CGFloat = 0, green: CGFloat = 0, blue: CGFloat = 0, alpha: CGFloat = 0
getRed(&red, green: &green, blue: &blue, alpha: &alpha)
if red > 0.91 && green > 0.91 && blue > 0.91 {
return true // white
}
if red < 0.09 && green < 0.09 && blue < 0.09 {
return true // black
}
return false
}
func isDark() -> Bool {
var red: CGFloat = 0, green: CGFloat = 0, blue: CGFloat = 0, alpha: CGFloat = 0
getRed(&red, green: &green, blue: &blue, alpha: &alpha)
let lum = 0.2126 * red + 0.7152 * green + 0.0722 * blue
if lum < 0.5 {
return true
}
return false
}
func colorWithMinimumSaturation(_ minSaturation: CGFloat) -> UIColor {
var hue: CGFloat = 0, sat: CGFloat = 0, val: CGFloat = 0, alpha: CGFloat = 0
getHue(&hue, saturation: &sat, brightness: &val, alpha: &alpha)
if sat < minSaturation {
return UIColor(hue: hue, saturation: sat, brightness: val, alpha: alpha)
}
return self
}
func isDistinct(fromColor compareColor: UIColor) -> Bool {
var red1: CGFloat = 0, green1: CGFloat = 0, blue1: CGFloat = 0, alpha1: CGFloat = 0
var red2: CGFloat = 0, green2: CGFloat = 0, blue2: CGFloat = 0, alpha2: CGFloat = 0
getRed(&red1, green: &green1, blue: &blue1, alpha: &alpha1)
compareColor.getRed(&red2, green: &green2, blue: &blue2, alpha: &alpha2)
let threshold: CGFloat = 0.25
if abs(red1 - red2) > threshold || abs(green1 - green2) > threshold || abs(blue1 - blue2) > threshold || abs(alpha1 - alpha2) > threshold {
// check for grays, prevent multiple gray colors
if abs(red1 - green1) < 0.03 && abs(red1 - blue1) < 0.03 {
if abs(red2 - green2) < 0.03 && abs(red2 - blue2) < 0.03 {
return false
}
}
return true
}
return false
}
func isContrasted(fromColor color: UIColor) -> Bool {
var red1: CGFloat = 0, green1: CGFloat = 0, blue1: CGFloat = 0, alpha1: CGFloat = 0
var red2: CGFloat = 0, green2: CGFloat = 0, blue2: CGFloat = 0, alpha2: CGFloat = 0
getRed(&red1, green: &green1, blue: &blue1, alpha: &alpha1)
color.getRed(&red2, green: &green2, blue: &blue2, alpha: &alpha2)
let lum1 = 0.2126 * red1 + 0.7152 * green1 + 0.0722 * blue1
let lum2 = 0.2126 * red2 + 0.7152 * green2 + 0.0722 * blue2
var contrast: CGFloat = 0
if lum1 > lum2 {
contrast = (lum1 + 0.05) / (lum2 + 0.05)
} else {
contrast = (lum2 + 0.05) / (lum1 + 0.05)
}
return contrast > 1.6
}
}
| 30.86 | 141 | 0.622813 |
0af7f97357e64cdfa51492340f30499b302a3e53 | 445 | cs | C# | Timer.Web.Core/Controllers/Dto/JobHistoryViewModel.cs | whelshion/Timer | 6b994bfd096002b7c1c9512b73f40669b7ad29ef | [
"MIT"
] | 5 | 2018-05-06T08:16:36.000Z | 2021-02-22T20:09:15.000Z | Timer.Web.Core/Controllers/Dto/JobHistoryViewModel.cs | whelshion/Timer | 6b994bfd096002b7c1c9512b73f40669b7ad29ef | [
"MIT"
] | null | null | null | Timer.Web.Core/Controllers/Dto/JobHistoryViewModel.cs | whelshion/Timer | 6b994bfd096002b7c1c9512b73f40669b7ad29ef | [
"MIT"
] | 1 | 2018-07-08T11:12:58.000Z | 2018-07-08T11:12:58.000Z | using System.Collections.Generic;
namespace Timer.Web.Core.Controllers.Dto
{
public class JobHistoryViewModel
{
public JobHistoryViewModel(IReadOnlyList<JobHistoryEntryDto> entries, string errorMessage)
{
HistoryEntries = entries;
ErrorMessage = errorMessage;
}
public IReadOnlyList<JobHistoryEntryDto> HistoryEntries { get; }
public string ErrorMessage { get; }
}
} | 27.8125 | 98 | 0.676404 |
f44710272a70588d8c062b59f7826e1c3b0dcbaa | 2,581 | cshtml | C# | Golf.Tournament/Views/Tournament/DetailsTeam.cshtml | judgie79/iGolfTournament | eee2ce85fa667f2cc38d69bcf365f7386c08a68a | [
"MIT"
] | null | null | null | Golf.Tournament/Views/Tournament/DetailsTeam.cshtml | judgie79/iGolfTournament | eee2ce85fa667f2cc38d69bcf365f7386c08a68a | [
"MIT"
] | null | null | null | Golf.Tournament/Views/Tournament/DetailsTeam.cshtml | judgie79/iGolfTournament | eee2ce85fa667f2cc38d69bcf365f7386c08a68a | [
"MIT"
] | null | null | null | @model Golf.Tournament.ViewModels.TeamTournamentDetailsViewModel
@{
ViewBag.Title = "Details";
ViewBag.ShowHoles = true;
}
<div class="row">
<div class="col-md-6">
<h2>@Html.DisplayFor(model => model.Tournament.Title)</h2>
<h3>@Html.DisplayFor(model => Model.Tournament.Club.Name)</h3>
@Html.DisplayFor(model => model.Tournament.Date)
<hr />
</div>
<div class="col-md-6">
@Html.Panel("Local Rules",
@<div>
<p>@Html.Raw(Model.Tournament.Club.LocalRules)</p>
</div>,
string.Empty, isCollapsible: true, isCollapsed: true)
</div>
</div>
<div class="row">
<div class="col-md-10">
@Html.Panel(Model.Tournament.Course.Name,
@<div class="row">
<div class="col-md-12">
@Html.DisplayFor(model => model.Tournament.Course.TeeBoxes)
</div>
</div>
, string.Empty, panelClass: "panel-default", isCollapsible: true, isCollapsed: true)
</div>
</div>
<div class="row">
<div class="col-md-10">
@Html.Panel("Participants",
@<div class="row">
<div class="col-md-12">
@Html.Partial("ParticipantTable", new TournamentParticipantListViewModel(Model.Tournament) { EditEnabled = false })
</div>
</div>
, string.Empty, panelClass: "panel-default", isCollapsible: true, isCollapsed: true)
</div>
</div>
<p>
@if (!Model.Tournament.HasStarted)
{
@Html.ActionLink("Edit", "Edit", new { id = Model.Tournament.Id }, new { @class = "btn btn-xs btn-primary" })
}
@if (!Model.Tournament.HasStarted && !Model.Tournament.HasFinished)
{
@Html.ActionLink("Start", "Start", new { id = Model.Tournament.Id }, new { @class = "btn btn-xs btn-success" })
}
@if (Model.Tournament.HasStarted && !Model.Tournament.HasFinished)
{
@Html.ActionLink("Scorecards", "Scorecards", new { id = Model.Tournament.Id }, new { @class = "btn btn-xs btn-primary" })
}
@Html.ActionLink("Back to List", "Index", new { }, new { @class = "btn btn-xs btn-default" })
@Html.ActionLink("Show Participants", "Index", "Participant", new { tournamentId = Model.Tournament.Id }, new { @class = "btn btn-xs btn-default" })
@if (Model.Tournament.TournamentType == Golf.Tournament.Models.TournamentType.Team)
{
@Html.ActionLink("Show Teams", "Index", "Team", new { tournamentId = Model.Tournament.Id }, new { @class = "btn btn-xs btn-default" })
}
</p>
| 35.356164 | 153 | 0.587757 |
54cb383a615b086cfdb18f4bbba37276851288a3 | 130 | css | CSS | src/components-examples/material/checkbox/checkbox-overview/checkbox-overview-example.css | tungyingwaltz/components | db126b579760263ea8de30689c54c4d32fa2137a | [
"MIT"
] | 19,494 | 2016-01-04T18:52:26.000Z | 2019-04-25T17:20:25.000Z | src/components-examples/material/checkbox/checkbox-overview/checkbox-overview-example.css | tungyingwaltz/components | db126b579760263ea8de30689c54c4d32fa2137a | [
"MIT"
] | 24,061 | 2019-04-25T19:39:27.000Z | 2022-03-31T17:22:43.000Z | src/components-examples/material/checkbox/checkbox-overview/checkbox-overview-example.css | tungyingwaltz/components | db126b579760263ea8de30689c54c4d32fa2137a | [
"MIT"
] | 6,150 | 2016-01-04T19:01:46.000Z | 2019-04-25T16:03:42.000Z | .example-section {
margin: 12px 0;
}
.example-margin {
margin: 0 12px;
}
ul {
list-style-type: none;
margin-top: 4px;
}
| 10 | 24 | 0.615385 |
0d280211ca54e503ff0c1849e70a1f1cc4728cae | 28,792 | h | C | include/ExynosCamera.h | Exynos7580/android_hardware_samsung_slsi_exynos5 | 3f00062f02f255c38e217a411f6d1711c287fb54 | [
"Apache-2.0"
] | null | null | null | include/ExynosCamera.h | Exynos7580/android_hardware_samsung_slsi_exynos5 | 3f00062f02f255c38e217a411f6d1711c287fb54 | [
"Apache-2.0"
] | null | null | null | include/ExynosCamera.h | Exynos7580/android_hardware_samsung_slsi_exynos5 | 3f00062f02f255c38e217a411f6d1711c287fb54 | [
"Apache-2.0"
] | 1 | 2020-02-02T00:36:55.000Z | 2020-02-02T00:36:55.000Z | /*
**
** Copyright 2008, The Android Open Source Project
** Copyright 2010, Samsung Electronics Co. LTD
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed toggle an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
/*!
* \file ExynosCamera.h
* \brief hearder file for CAMERA HAL MODULE
* \author thun.hwang([email protected])
* \date 2010/06/03
*
* <b>Revision History: </b>
* - 2011/12/31 : thun.hwang([email protected]) \n
* Initial version
*
* - 2012/01/18 : Sangwoo, Park([email protected]) \n
* Adjust Doxygen Document
*
* - 2012/02/01 : Sangwoo, Park([email protected]) \n
* Adjust libv4l2
* Adjust struct ExynosCameraInfo
* External ISP feature
*
* - 2012/03/14 : sangwoo.park([email protected]) \n
* Change file, class name to ExynosXXX.
*/
#ifndef EXYNOS_CAMERA_H__
#define EXYNOS_CAMERA_H__
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <sys/poll.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <videodev2.h>
#include <videodev2_exynos_camera.h>
#include <linux/vt.h>
#include <utils/RefBase.h>
#include <utils/String8.h>
#include "cutils/properties.h"
#include "exynos_format.h"
#include "ExynosBuffer.h"
#include "ExynosRect.h"
#include "ExynosJpegEncoderForCamera.h"
#include "ExynosExif.h"
#include "exynos_v4l2.h"
#define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1))
namespace android {
#define GAIA_FW_BETA 1
/* FIXME: This is for test. We remove this after test */
#define USE_DIGITAL_ZOOM
//! struct for Camera sensor information
/*!
* \ingroup Exynos
*/
struct ExynosCameraInfo
{
public:
// Google Official API : Camera.Parameters
// http://developer.android.com/reference/android/hardware/Camera.Parameters.html
int previewW;
int previewH;
int previewColorFormat;
int videoW;
int videoH;
int videoColorFormat;
int pictureW;
int pictureH;
int pictureColorFormat;
int thumbnailW;
int thumbnailH;
int antiBandingList;
int antiBanding;
int effectList;
int effect;
int flashModeList;
int flashMode;
int focusModeList;
int focusMode;
int sceneModeList;
int sceneMode;
int whiteBalanceList;
int whiteBalance;
bool autoWhiteBalanceLockSupported;
bool autoWhiteBalanceLock;
int rotation;
int minExposure;
int maxExposure;
int exposure;
bool autoExposureLockSupported;
bool autoExposureLock;
int fps;
int focalLengthNum;
int focalLengthDen;
bool supportVideoStabilization;
bool applyVideoStabilization;
bool videoStabilization;
int maxNumMeteringAreas;
int maxNumDetectedFaces;
int maxNumFocusAreas;
int maxZoom;
bool hwZoomSupported;
int zoom;
long gpsLatitude;
long gpsLongitude;
long gpsAltitude;
long gpsTimestamp;
// Additional API.
int angle;
bool antiShake;
bool beautyShot;
int brightness;
int contrast;
bool gamma;
bool odc;
int hue;
int iso;
int metering;
bool objectTracking;
bool objectTrackingStart;
int saturation;
int sharpness;
int shotMode;
bool slowAE;
bool smartAuto;
bool touchAfStart;
bool wdr;
bool tdnr;
public:
ExynosCameraInfo();
};
struct ExynosCameraInfoM5M0 : public ExynosCameraInfo
{
public:
ExynosCameraInfoM5M0();
};
struct ExynosCameraInfoS5K6A3 : public ExynosCameraInfo
{
public:
ExynosCameraInfoS5K6A3();
};
struct ExynosCameraInfoS5K4E5 : public ExynosCameraInfo
{
public:
ExynosCameraInfoS5K4E5();
};
struct ExynosCameraInfoS5K3H7 : public ExynosCameraInfo
{
public:
ExynosCameraInfoS5K3H7();
};
//! ExynosCamera
/*!
* \ingroup Exynos
*/
class ExynosCamera : public virtual RefBase {
///////////////////////////////////////////////////
// Google Official API : Camera.Parameters
// http://developer.android.com/reference/android/hardware/Camera.Parameters.html
///////////////////////////////////////////////////
public:
//! Camera ID
enum CAMERA_ID {
CAMERA_ID_BACK = 0, //!<
CAMERA_ID_FRONT = 1, //!<
};
//! Anti banding
enum {
ANTIBANDING_AUTO = (1 << 0), //!< \n
ANTIBANDING_50HZ = (1 << 1), //!< \n
ANTIBANDING_60HZ = (1 << 2), //!< \n
ANTIBANDING_OFF = (1 << 3), //!< \n
};
//! Effect
enum {
EFFECT_NONE = (1 << 0), //!< \n
EFFECT_MONO = (1 << 1), //!< \n
EFFECT_NEGATIVE = (1 << 2), //!< \n
EFFECT_SOLARIZE = (1 << 3), //!< \n
EFFECT_SEPIA = (1 << 4), //!< \n
EFFECT_POSTERIZE = (1 << 5), //!< \n
EFFECT_WHITEBOARD = (1 << 6), //!< \n
EFFECT_BLACKBOARD = (1 << 7), //!< \n
EFFECT_AQUA = (1 << 8), //!< \n
};
//! Flash mode
enum {
FLASH_MODE_OFF = (1 << 0), //!< \n
FLASH_MODE_AUTO = (1 << 1), //!< \n
FLASH_MODE_ON = (1 << 2), //!< \n
FLASH_MODE_RED_EYE = (1 << 3), //!< \n
FLASH_MODE_TORCH = (1 << 4), //!< \n
};
//! Focus mode
enum {
FOCUS_MODE_AUTO = (1 << 0), //!< \n
FOCUS_MODE_INFINITY = (1 << 1), //!< \n
FOCUS_MODE_MACRO = (1 << 2), //!< \n
FOCUS_MODE_FIXED = (1 << 3), //!< \n
FOCUS_MODE_EDOF = (1 << 4), //!< \n
FOCUS_MODE_CONTINUOUS_VIDEO = (1 << 5), //!< \n
FOCUS_MODE_CONTINUOUS_PICTURE = (1 << 6), //!< \n
FOCUS_MODE_TOUCH = (1 << 7), //!< \n
};
//! Scene mode
enum {
SCENE_MODE_AUTO = (1 << 0), //!< \n
SCENE_MODE_ACTION = (1 << 1), //!< \n
SCENE_MODE_PORTRAIT = (1 << 2), //!< \n
SCENE_MODE_LANDSCAPE = (1 << 3), //!< \n
SCENE_MODE_NIGHT = (1 << 4), //!< \n
SCENE_MODE_NIGHT_PORTRAIT = (1 << 5), //!< \n
SCENE_MODE_THEATRE = (1 << 6), //!< \n
SCENE_MODE_BEACH = (1 << 7), //!< \n
SCENE_MODE_SNOW = (1 << 8), //!< \n
SCENE_MODE_SUNSET = (1 << 9), //!< \n
SCENE_MODE_STEADYPHOTO = (1 << 10), //!< \n
SCENE_MODE_FIREWORKS = (1 << 11), //!< \n
SCENE_MODE_SPORTS = (1 << 12), //!< \n
SCENE_MODE_PARTY = (1 << 13), //!< \n
SCENE_MODE_CANDLELIGHT = (1 << 14), //!< \n
};
//! White balance
enum {
WHITE_BALANCE_AUTO = (1 << 0), //!< \n
WHITE_BALANCE_INCANDESCENT = (1 << 1), //!< \n
WHITE_BALANCE_FLUORESCENT = (1 << 2), //!< \n
WHITE_BALANCE_WARM_FLUORESCENT = (1 << 3), //!< \n
WHITE_BALANCE_DAYLIGHT = (1 << 4), //!< \n
WHITE_BALANCE_CLOUDY_DAYLIGHT = (1 << 5), //!< \n
WHITE_BALANCE_TWILIGHT = (1 << 6), //!< \n
WHITE_BALANCE_SHADE = (1 << 7), //!< \n
};
//! Jpeg Qualtiy
enum JPEG_QUALITY {
JPEG_QUALITY_MIN = 0, //!<
JPEG_QUALITY_ECONOMY = 70, //!<
JPEG_QUALITY_NORMAL = 80, //!<
JPEG_QUALITY_SUPERFINE = 90, //!<
JPEG_QUALITY_MAX = 100, //!<
};
private:
//! Constructor
ExynosCamera();
//! Destructor
virtual ~ExynosCamera();
public:
//! Gets the Camera instance
static ExynosCamera* createInstance(void)
{
static ExynosCamera singleton;
return &singleton;
}
//! Create the instance
bool create(int cameraId);
//! Destroy the instance
bool destroy(void);
//! Check if the instance was created
bool flagCreate(void);
//! Gets current camera_id
int getCameraId(void);
//! Gets camera sensor name
char *getCameraName(void);
//! Gets file descriptor by gotten open() for preview
int getPreviewFd(void);
//! Gets file descriptor by gotten open() for recording
int getVideoFd(void);
//! Gets file descriptor by gotten open() for snapshot
int getPictureFd(void);
//! Starts capturing and drawing preview frames to the screen.
bool startPreview(void);
//! Stop preview
bool stopPreview(void);
//! Check preview start
bool flagStartPreview(void);
//! Gets preview's max buffer
int getPreviewMaxBuf(void);
//! Sets preview's buffer
bool setPreviewBuf(ExynosBuffer *buf);
//! Gets preview's buffer
bool getPreviewBuf(ExynosBuffer *buf);
//! Put(dq) preview's buffer
bool putPreviewBuf(ExynosBuffer *buf);
//! Sets video's width, height
bool setVideoSize(int w, int h);
//! Gets video's width, height
bool getVideoSize(int *w, int *h);
//! Sets video's color format
bool setVideoFormat(int colorFormat);
//! Gets video's color format
int getVideoFormat(void);
//! Start video
bool startVideo(void);
//! Stop video
bool stopVideo(void);
//! Check video start
bool flagStartVideo(void);
//! Gets video's buffer
int getVideoMaxBuf(void);
//! Sets video's buffer
bool setVideoBuf(ExynosBuffer *buf);
//! Gets video's buffer
bool getVideoBuf(ExynosBuffer *buf);
//! Put(dq) video's buffer
bool putVideoBuf(ExynosBuffer *buf);
//! Start snapshot
bool startPicture(void);
//! Stop snapshot
bool stopPicture(void);
//! Check snapshot start
bool flagStartPicture(void);
//! Gets snapshot's buffer
int getPictureMaxBuf(void);
//! Sets snapshot's buffer
bool setPictureBuf(ExynosBuffer *buf);
//! Gets snapshot's buffer
bool getPictureBuf(ExynosBuffer *buf);
//! Put(dq) snapshot's buffer
bool putPictureBuf(ExynosBuffer *buf);
//! Encode JPEG from YUV
bool yuv2Jpeg(ExynosBuffer *yuvBuf, ExynosBuffer *jpegBuf, ExynosRect *rect);
//! Starts camera auto-focus and registers a callback function to run when the camera is focused.
bool autoFocus(void);
//! Cancel auto-focus operation
bool cancelAutoFocus(void);
//! Gets auto-focus result whether success or not
int getFucusModeResult(void);
//! Starts the face detection.
bool startFaceDetection(void);
//! Stop face detection
bool stopFaceDetection(void);
//! Gets the face detection started
bool flagStartFaceDetection(void);
//! Lock or unlock face detection operation
bool setFaceDetectLock(bool toggle);
//! Zooms to the requested value smoothly.
bool startSmoothZoom(int value);
//! Stop the face detection.
bool stopSmoothZoom(void);
//! Gets the current antibanding setting.
int getAntibanding(void);
//! Gets the state of the auto-exposure lock.
bool getAutoExposureLock(void);
//! Gets the state of the auto-white balance lock.
bool getAutoWhiteBalanceLock(void);
//! Gets the current color effect setting.
int getColorEffect(void);
//! Gets the detected faces areas.
int getDetectedFacesAreas(int num, int *id, int *score, ExynosRect *face, ExynosRect *leftEye, ExynosRect *rightEye, ExynosRect *mouth);
//! Gets the detected faces areas. (Using ExynosRect2)
int getDetectedFacesAreas(int num, int *id, int *score, ExynosRect2 *face, ExynosRect2 *leftEye, ExynosRect2 *rightEye, ExynosRect2 *mouth);
//! Gets the current exposure compensation index.
int getExposureCompensation(void);
//! Gets the exposure compensation step.
float getExposureCompensationStep(void);
//! Gets the current flash mode setting.
int getFlashMode(void);
//! Gets the focal length (in millimeter) of the camera.
bool getFocalLength(int *num, int *den);
//! Gets the current focus areas.
int getFocusAreas(ExynosRect *rects);
//! Gets the distances from the camera to where an object appears to be in focus.
int getFocusDistances(float *output);
//! Gets the current focus mode setting.
int getFocusMode(void);
//! Gets the horizontal angle of view in degrees.
float getHorizontalViewAngle(void);
//int getInt(String key);
//! Returns the quality setting for the JPEG picture.
int getJpegQuality(void);
//! Returns the quality setting for the EXIF thumbnail in Jpeg picture.
int getJpegThumbnailQuality(void);
//! Returns the dimensions for EXIF thumbnail in Jpeg picture.
bool getJpegThumbnailSize(int *w, int *h);
//! Gets the maximum exposure compensation index.
int getMaxExposureCompensation(void);
//! Gets the maximum number of detected faces supported.
int getMaxNumDetectedFaces(void);
//! Gets the maximum number of focus areas supported.
int getMaxNumFocusAreas(void);
//! Gets the maximum number of metering areas supported.
int getMaxNumMeteringAreas(void);
//! Gets the maximum zoom value allowed for snapshot.
int getMaxZoom(void);
//! Gets the current metering areas.
int getMeteringAreas(ExynosRect *rects);
//! Gets the minimum exposure compensation index.
int getMinExposureCompensation(void);
//! Returns the image format for pictures.
int getPictureFormat(void);
//! Returns the dimension setting for pictures.
bool getPictureSize(int *w, int *h);
//Camera.Size getPreferredPreviewSizeForVideo();
//! Returns the image format for preview frames got from Camera.PreviewCallback.
int getPreviewFormat(void);
//! Returns the current minimum and maximum preview fps.
bool getPreviewFpsRange(int *min, int *max);
//! This method is deprecated. replaced by getPreviewFpsRange(int[])
int getPreviewFrameRate(void);
//! Returns the dimensions setting for preview pictures.
bool getPreviewSize(int *w, int *h);
//! Gets scene mode
int getSceneMode(void);
//! Gets the supported antibanding values.
int getSupportedAntibanding(void);
//! Gets the supported color effects.
int getSupportedColorEffects(void);
//! Check whether the target support Flash
int getSupportedFlashModes(void);
//! Gets the supported focus modes.
int getSupportedFocusModes(void);
//! Gets the supported jpeg thumbnail sizes.
bool getSupportedJpegThumbnailSizes(int *w, int *h);
// List<Integer> getSupportedPictureFormats()
//! Gets the supported picture sizes.
bool getSupportedPictureSizes(int *w, int *h);
//List<Integer> getSupportedPreviewFormats()
//List<int[]> getSupportedPreviewFpsRange()
//List<Integer> getSupportedPreviewFrameRates()
//! Gets the supported preview sizes.
bool getSupportedPreviewSizes(int *w, int *h);
//! Gets the supported scene modes.
int getSupportedSceneModes(void);
//! Gets the supported video frame sizes that can be used by MediaRecorder.
bool getSupportedVideoSizes(int *w, int *h);
//! Gets the supported white balance.
int getSupportedWhiteBalance(void);
//! Gets the vertical angle of view in degrees.
float getVerticalViewAngle(void);
//! Gets the current state of video stabilization.
bool getVideoStabilization(void);
//! Gets the current white balance setting.
int getWhiteBalance(void);
//! Gets current zoom value.
int getZoom(void);
//List<Integer> getZoomRatios()
//! Gets max zoom ratio
int getMaxZoomRatio(void);
//! Returns true if auto-exposure locking is supported.
bool isAutoExposureLockSupported(void);
//! Returns true if auto-white balance locking is supported.
bool isAutoWhiteBalanceLockSupported(void);
//! Returns true if smooth zoom is supported.
bool isSmoothZoomSupported(void);
//! Returns true if video snapshot is supported.
bool isVideoSnapshotSupported(void);
//! Returns true if video stabilization is supported.
bool isVideoStabilizationSupported(void);
//! Returns true if zoom is supported.
bool isZoomSupported(void);
//void remove(String key)
//void removeGpsData()
//void set(String key, String value)
//void set(String key, int value)
//! Sets the antibanding.
bool setAntibanding(int value);
//! Sets the auto-exposure lock state.
bool setAutoExposureLock(bool toggle);
//! Sets the auto-white balance lock state.
bool setAutoWhiteBalanceLock(bool toggle);
//! Sets the current color effect setting.
bool setColorEffect(int value);
//! Sets the exposure compensation index.
bool setExposureCompensation(int value);
//! Sets the flash mode.
bool setFlashMode(int value);
//! Sets focus z.
bool setFocusAreas(int num, ExynosRect* rects, int *weights);
//! Sets focus areas. (Using ExynosRect2)
bool setFocusAreas(int num, ExynosRect2* rect2s, int *weights);
//! Sets the focus mode.
bool setFocusMode(int value);
//! Sets GPS altitude.
bool setGpsAltitude(const char *gpsAltitude);
//! Sets GPS latitude coordinate.
bool setGpsLatitude(const char *gpsLatitude);
//! Sets GPS longitude coordinate.
bool setGpsLongitude(const char *gpsLongitude);
//! Sets GPS processing method.
bool setGpsProcessingMethod(const char *gpsProcessingMethod);
//! Sets GPS timestamp.
bool setGpsTimeStamp(const char *gpsTimestamp);
//! Sets Jpeg quality of captured picture.
bool setJpegQuality(int quality);
//! Sets the quality of the EXIF thumbnail in Jpeg picture.
bool setJpegThumbnailQuality(int quality);
//! Sets the dimensions for EXIF thumbnail in Jpeg picture.
bool setJpegThumbnailSize(int w, int h);
//! Sets metering areas.
bool setMeteringAreas(int num, ExynosRect *rects, int *weights);
//! Sets metering areas.(Using ExynosRect2)
bool setMeteringAreas(int num, ExynosRect2 *rect2s, int *weights);
//! Cancel metering areas.
bool cancelMeteringAreas();
//! Sets the image format for pictures.
bool setPictureFormat(int colorFormat);
//! Sets the dimensions for pictures.
bool setPictureSize(int w, int h);
//! Sets the image format for preview pictures.
bool setPreviewFormat(int colorFormat);
//void setPreviewFpsRange(int min, int max)
// ! This method is deprecated. replaced by setPreviewFpsRange(int, int)
bool setPreviewFrameRate(int fps);
//! Sets the dimensions for preview pictures.
bool setPreviewSize(int w, int h);
//! Sets recording mode hint.
bool setRecordingHint(bool hint);
//! Sets the rotation angle in degrees relative to the orientation of the camera.
bool setRotation(int rotation);
//! Gets the rotation angle in degrees relative to the orientation of the camera.
int getRotation(void);
//! Sets the scene mode.
bool setSceneMode(int value);
//! Enables and disables video stabilization.
bool setVideoStabilization(bool toggle);
//! Sets the white balance.
bool setWhiteBalance(int value);
//! Sets current zoom value.
bool setZoom(int value);
//void unflatten(String flattened)
private:
enum MODE
{
PREVIEW_MODE = 0,
VIDEO_MODE,
PICTURE_MODE,
};
struct devInfo {
int fd;
pollfd events;
bool flagStart;
};
bool m_flagCreate;
int m_cameraId;
ExynosCameraInfo *m_defaultCameraInfo;
ExynosCameraInfo *m_curCameraInfo;
int m_jpegQuality;
int m_jpegThumbnailQuality;
int m_currentZoom;
bool m_recordingHint;
// v4l2 sub-dev file description
devInfo m_sensorDev;
devInfo m_mipiDev;
devInfo m_fliteDev;
devInfo m_gscPreviewDev;
devInfo m_gscVideoDev;
devInfo m_gscPictureDev;
#ifdef USE_DIGITAL_ZOOM
devInfo m_gscBayerDev;
devInfo *m_bayerDev;
#endif
devInfo *m_previewDev;
devInfo *m_videoDev;
devInfo *m_pictureDev;
bool m_tryPreviewStop;
bool m_tryVideoStop;
bool m_tryPictureStop;
bool m_flagStartFaceDetection;
bool m_flagAutoFocusRunning;
char m_cameraName[32];
bool m_internalISP;
bool m_touchAFMode;
bool m_isTouchMetering;
bool m_focusIdle;
// media controller variable
struct media_device *m_media;
struct media_entity *m_sensorEntity;
struct media_entity *m_mipiEntity;
struct media_entity *m_fliteSdEntity;
struct media_entity *m_fliteVdEntity;
struct media_entity *m_gscSdEntity;
struct media_entity *m_gscVdEntity;
struct media_entity *m_ispSensorEntity;
struct media_entity *m_ispFrontEntity;
struct media_entity *m_ispBackEntity;
struct media_entity *m_ispBayerEntity;
struct media_entity *m_ispScalercEntity;
struct media_entity *m_ispScalerpEntity;
struct media_entity *m_isp3dnrEntity;
bool m_validPreviewBuf[VIDEO_MAX_FRAME];
bool m_validVideoBuf[VIDEO_MAX_FRAME];
bool m_validPictureBuf[VIDEO_MAX_FRAME];
struct ExynosBuffer m_previewBuf[VIDEO_MAX_FRAME];
struct ExynosBuffer m_videoBuf[VIDEO_MAX_FRAME];
struct ExynosBuffer m_pictureBuf[VIDEO_MAX_FRAME];
exif_attribute_t mExifInfo;
private:
bool m_setWidthHeight(int mode,
int fd,
struct pollfd *event,
int w,
int h,
int colorFormat,
struct ExynosBuffer *buf,
bool *validBuf);
bool m_setZoom(int fd, int zoom, int w, int h);
bool m_setCrop(int fd, int w, int h, int zoom);
bool m_getCropRect(unsigned int src_w, unsigned int src_h,
unsigned int dst_w, unsigned int dst_h,
unsigned int *crop_x, unsigned int *crop_y,
unsigned int *crop_w, unsigned int *crop_h,
int zoom);
void m_setExifFixedAttribute(void);
void m_setExifChangedAttribute(exif_attribute_t *exifInfo, ExynosRect *rect);
void m_secRect2SecRect2(ExynosRect *rect, ExynosRect2 *rect2);
void m_secRect22SecRect(ExynosRect2 *rect2, ExynosRect *rect);
void m_printFormat(int colorFormat, const char *arg);
///////////////////////////////////////////////////
// Additional API.
///////////////////////////////////////////////////
public:
//! Focus mode
enum {
FOCUS_MODE_CONTINUOUS_PICTURE_MACRO = (1 << 8), //!< \n
};
//! Metering
enum {
METERING_MODE_AVERAGE = (1 << 0), //!< \n
METERING_MODE_CENTER = (1 << 1), //!< \n
METERING_MODE_MATRIX = (1 << 2), //!< \n
METERING_MODE_SPOT = (1 << 3), //!< \n
};
//! Contrast
enum {
CONTRAST_AUTO = (1 << 0), //!< \n
CONTRAST_MINUS_2 = (1 << 1), //!< \n
CONTRAST_MINUS_1 = (1 << 2), //!< \n
CONTRAST_DEFAULT = (1 << 3), //!< \n
CONTRAST_PLUS_1 = (1 << 4), //!< \n
CONTRAST_PLUS_2 = (1 << 5), //!< \n
};
//! Camera Shot mode
enum SHOT_MODE {
SHOT_MODE_SINGLE = 0, //!<
SHOT_MODE_CONTINUOUS = 1, //!<
SHOT_MODE_PANORAMA = 2, //!<
SHOT_MODE_SMILE = 3, //!<
SHOT_MODE_SELF = 6, //!<
};
//! Sets camera angle
bool setAngle(int angle);
//! Gets camera angle
int getAngle(void);
//! Sets metering areas.
bool setMeteringMode(int value);
//! Gets metering
int getMeteringMode(void);
//! Sets Top-down mirror
bool setTopDownMirror(void);
//! Sets Left-right mirror
bool setLRMirror(void);
//! Sets brightness
bool setBrightness(int brightness);
//! Gets brightness
int getBrightness(void);
//! Sets ISO
bool setISO(int iso);
//! Gets ISO
int getISO(void);
//! Sets Contrast
bool setContrast(int value);
//! Gets Contrast
int getContrast(void);
//! Sets Saturation
bool setSaturation(int saturation);
//! Gets Saturation
int getSaturation(void);
//! Sets Sharpness
bool setSharpness(int sharpness);
//! Gets Sharpness
int getSharpness(void);
// ! Sets Hue
bool setHue(int hue);
// ! Gets Hue
int getHue(void);
//! Sets WDR
bool setWDR(bool toggle);
//! Gets WDR
bool getWDR(void);
//! Sets anti shake
bool setAntiShake(bool toggle);
//! Gets anti shake
bool getAntiShake(void);
//! Sets object tracking
bool setObjectTracking(bool toggle);
//! Gets object tracking
bool getObjectTracking(void);
//! Start or stop object tracking operation
bool setObjectTrackingStart(bool toggle);
//! Gets status of object tracking operation
int getObjectTrackingStatus(void);
//! Sets x, y position for object tracking operation
bool setObjectPosition(int x, int y);
//! Sets smart auto
bool setSmartAuto(bool toggle);
//! Gets smart auto
bool getSmartAuto(void);
//! Gets the status of smart auto operation
int getSmartAutoStatus(void);
//! Sets beauty shot
bool setBeautyShot(bool toggle);
//! Gets beauty shot
bool getBeautyShot(void);
//! Start or stop the touch auto focus operation
bool setTouchAFStart(bool toggle);
//! Sets gamma
bool setGamma(bool toggle);
//! Gets gamma
bool getGamma(void);
//! Sets ODC
bool setODC(bool toggle);
//! Gets ODC
bool getODC(void);
//! Sets Slow AE
bool setSlowAE(bool toggle);
//! Gets Slow AE
bool getSlowAE(void);
//! Sets Shot mode
bool setShotMode(int shotMode);
//! Gets Shot mode
int getShotMode(void);
//! Sets 3DNR
bool set3DNR(bool toggle);
//! Gets 3DNR
bool get3DNR(void);
};
}; // namespace android
#endif // EXYNOS_CAMERA_H__
| 30.629787 | 156 | 0.57905 |
af585bb3fc5e4a00df7400b66ac75098db520aa3 | 1,003 | py | Python | scripts/stochastic_policy_ex.py | declanoller/rwg-benchmark | 4de250e08ab8f895d25bb24c0a63c64667de11be | [
"MIT"
] | 6 | 2020-05-05T16:57:18.000Z | 2021-12-21T22:43:46.000Z | scripts/stochastic_policy_ex.py | declanoller/rwg-benchmark | 4de250e08ab8f895d25bb24c0a63c64667de11be | [
"MIT"
] | null | null | null | scripts/stochastic_policy_ex.py | declanoller/rwg-benchmark | 4de250e08ab8f895d25bb24c0a63c64667de11be | [
"MIT"
] | 1 | 2021-12-21T22:43:50.000Z | 2021-12-21T22:43:50.000Z | import path_utils
from Sample import Sample
"""
This script tests using a stochastic policy output from the NN, rather than a
deterministic one.
For ex: typically in RWG, for a discrete action space, the action selected is
just the argmax of the output units (like in Q-learning). However, you could
alternatively do it the way a common discrete space policy gradient algo would:
by running the NN outputs through a softmax and sampling the action with
respect to those probabilities.
Will this have different behavior than the original case? Let's see!
In the case of continuous action space, we can try something like
parameterizing a Gaussian action distribution and sampling from that.
"""
e = Sample(
"CartPole-v0",
NN="FFNN",
N_hidden_layers=1,
N_hidden_units=4,
policy_type="stochastic",
)
sample_dict = e.sample(1000, N_episodes=20, print_samp_num=True)
e.save_all_sample_stats(sample_dict)
print("\n\nBest score found = {:.2f}\n".format(sample_dict["best_score"]))
| 29.5 | 79 | 0.7667 |
072ff8ee741be8f19a51628374390ab3d62a6828 | 956 | cpp | C++ | sqlite/src/ossimGpkgDatabaseRecordBase.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 12 | 2016-09-09T01:24:12.000Z | 2022-01-09T21:45:58.000Z | sqlite/src/ossimGpkgDatabaseRecordBase.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 5 | 2016-02-04T16:10:40.000Z | 2021-06-29T05:00:29.000Z | sqlite/src/ossimGpkgDatabaseRecordBase.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 20 | 2015-11-17T11:46:22.000Z | 2021-11-12T19:23:54.000Z | //----------------------------------------------------------------------------
// File: ossimGpkgDatabaseRecordInferface.h
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Description: Base class definition for GeoPackage database record.
//
//----------------------------------------------------------------------------
// $Id$
#include "ossimGpkgDatabaseRecordBase.h"
#include <ossim/base/ossimKeywordlist.h>
#include <ostream>
ossimGpkgDatabaseRecordBase::ossimGpkgDatabaseRecordBase()
: ossimReferenced()
{
}
ossimGpkgDatabaseRecordBase::~ossimGpkgDatabaseRecordBase()
{
}
std::ostream& ossimGpkgDatabaseRecordBase::print(std::ostream& out) const
{
ossimKeywordlist kwl;
saveState(kwl, std::string(""));
out << kwl;
return out;
}
std::ostream& operator<<(std::ostream& out,
const ossimGpkgDatabaseRecordBase& obj)
{
return obj.print( out );
}
| 23.317073 | 78 | 0.588912 |
ae3844fdab94a30f4a0f6b73f97810c946eaaed7 | 672 | cs | C# | Assets/Scripts/UI/MessageBoxes/PlayChallengeScrollViewItem.cs | circlesabound/LogicGateSimulator | 0264162b69531642b669e9e1f99830bc2f7c0fac | [
"MIT"
] | null | null | null | Assets/Scripts/UI/MessageBoxes/PlayChallengeScrollViewItem.cs | circlesabound/LogicGateSimulator | 0264162b69531642b669e9e1f99830bc2f7c0fac | [
"MIT"
] | null | null | null | Assets/Scripts/UI/MessageBoxes/PlayChallengeScrollViewItem.cs | circlesabound/LogicGateSimulator | 0264162b69531642b669e9e1f99830bc2f7c0fac | [
"MIT"
] | null | null | null | using UnityEngine.Assertions;
using UnityEngine.EventSystems;
namespace Assets.Scripts.UI.MessageBoxes
{
public class PlayChallengeScrollViewItem : MessageBoxScrollViewItem
{
public PlayChallengeMessageBox PlayChallengeMessageBox
{
get
{
// lul
return gameObject.transform.parent.parent.parent.parent.parent.parent.gameObject.GetComponent<PlayChallengeMessageBox>();
}
}
public void OnItemClick(PointerEventData eventData)
{
Assert.IsNotNull(PlayChallengeMessageBox);
PlayChallengeMessageBox.SelectEntry(this);
}
}
}
| 28 | 137 | 0.651786 |
7f6453efb1e33dccb45560fc812548bb82bbac65 | 704 | php | PHP | src/Functional/TailRecursion.php | joranvar/functional-php | 36560ba51157feab6323062235e57f112d163aa8 | [
"MIT"
] | null | null | null | src/Functional/TailRecursion.php | joranvar/functional-php | 36560ba51157feab6323062235e57f112d163aa8 | [
"MIT"
] | null | null | null | src/Functional/TailRecursion.php | joranvar/functional-php | 36560ba51157feab6323062235e57f112d163aa8 | [
"MIT"
] | 1 | 2019-08-22T12:32:16.000Z | 2019-08-22T12:32:16.000Z | <?php
namespace Functional;
/**
* Decorates given function with tail recursion optimization.
*
* I took solution here https://gist.github.com/beberlei/4145442
* but reworked it and make without classes.
*
* @param callable $fn
* @return callable
*/
function tail_recursion(callable $fn): callable
{
$underCall = false;
$queue = [];
return function (...$args) use (&$fn, &$underCall, &$queue) {
$result = null;
$queue[] = $args;
if (!$underCall) {
$underCall = true;
while ($head = array_shift($queue)) {
$result = $fn(...$head);
}
$underCall = false;
}
return $result;
};
}
| 22.709677 | 65 | 0.551136 |
3c906808120355e8bced14119cee94d8a8ddb171 | 1,591 | ps1 | PowerShell | Exchange/Get-ExchangeUserMailboxMismatch.ps1 | bkeegan/PowershellBoilerplate2 | 3053fc60432fa7bd06225d6bcb4fa15ebc4ac34a | [
"MS-PL"
] | null | null | null | Exchange/Get-ExchangeUserMailboxMismatch.ps1 | bkeegan/PowershellBoilerplate2 | 3053fc60432fa7bd06225d6bcb4fa15ebc4ac34a | [
"MS-PL"
] | null | null | null | Exchange/Get-ExchangeUserMailboxMismatch.ps1 | bkeegan/PowershellBoilerplate2 | 3053fc60432fa7bd06225d6bcb4fa15ebc4ac34a | [
"MS-PL"
] | null | null | null | <#
.SYNOPSIS
Retrives mailbox logon statistics and returns entries where the username of the mailbox doesn't match the user accounts username that is connected to it.
.DESCRIPTION
Retrives mailbox logon statistics and returns entries where the username of the mailbox doesn't match the user accounts username that is connected to it. This may indicate that another user is viewing email in another individual's mailbox
.NOTES
File Name : Get-ExchangeUserMailboxMismatch.ps1
Author : Brenton keegan - [email protected]
Licenced under GPLv3
.LINK
https://github.com/bkeegan/PowershellBoilerplate2
License: http://www.gnu.org/copyleft/gpl.html
.EXAMPLE
Get-ExchangeUserMailboxMismatch -c "casServerName" -m "mailboxServerName"
.EXAMPLE
#>
#imports
import-module activedirectory
Function Get-ExchangeUserMailboxMismatch
{
[cmdletbinding()]
Param
(
[parameter(Mandatory=$true)]
[alias("c")]
[string]$casServer,
[parameter(Mandatory=$true)]
[alias("m")]
[string]$mbServer
)
$session = New-PSSession -configurationname Microsoft.Exchange -connectionURI http://$casServer/PowerShell
Import-PSSession $session
$connectedExUsers = Get-LogonStatistics -server $mbServer| where {$_.ClientMode -ne "Cached" } | where {$_.ClientName -eq $casServer}
Foreach($connectedExUser in $connectedExUsers)
{
$adUser = $connectedExUser.Windows2000Account -replace "+.\\",""
$adUser = get-aduser $adUser -property displayname
if ($connectedExUser.Username -ne $adUser.displayname)
{
$connectedExUser
}
}
}
| 28.410714 | 243 | 0.740415 |
d27433d8019e3590e58de7e83eabcaa89a572f5c | 3,611 | swift | Swift | KNU_CSE/KNU_CSE/View/Main/MyPage/UserInfrom/UserInformViewModel+Model.swift | KNU-CSE-APP/iOS | 2ed0069227bfc7ecc9607cb4019381630cc68bd6 | [
"MIT"
] | 1 | 2021-08-09T11:37:34.000Z | 2021-08-09T11:37:34.000Z | KNU_CSE/KNU_CSE/View/Main/MyPage/UserInfrom/UserInformViewModel+Model.swift | KNU-CSE-APP/iOS | 2ed0069227bfc7ecc9607cb4019381630cc68bd6 | [
"MIT"
] | 6 | 2021-07-15T18:45:22.000Z | 2021-09-03T08:29:49.000Z | KNU_CSE/KNU_CSE/View/Main/MyPage/UserInfrom/UserInformViewModel+Model.swift | KNU-CSE-APP/iOS | 2ed0069227bfc7ecc9607cb4019381630cc68bd6 | [
"MIT"
] | null | null | null | //
// UserInformViewModel.swift
// KNU_CSE
//
// Created by junseok on 2021/07/31.
//
import Foundation
import Alamofire
struct UserInformViewModel{
var model:Profile!
var getInformlistener: BaseAction<Profile, errorHandler> = BaseAction()
var setInformlistener: BaseAction<ProfileResponse, errorHandler> = BaseAction()
var resetImagelistener: BaseAction<String, errorHandler> = BaseAction()
init(){
}
func storeNickName(nickName:String){
UserDefaults.standard.setValue(nickName, forKey: "nickName")
}
}
extension UserInformViewModel{
func getUserInform(){
let request = Request(requestBodyObject: nil, requestMethod: .get, enviroment: .getInform)
request.sendRequest(request: request, responseType: Profile.self, errorType: errorHandler.self, action:self.getInformlistener)
}
func setUserInform(){
let request = Request(requestMultipart: model.getMultipart(), requestMethod: .put, enviroment:.setInform)
request.sendMutiPartRequest(request: request, responseType: ProfileResponse.self, errorType: errorHandler.self, action: self.setInformlistener)
}
func resetImage(){
let request = Request(requestBodyObject: nil, requestMethod: .delete, enviroment: .resetImage)
request.sendRequest(request: request, responseType: String.self, errorType: errorHandler.self, action:self.resetImagelistener)
}
}
class Profile:BaseObject{
var email:String!
var imagePath:String!
var editedNickname:String!
var nickname:String!
var userId:Int!
var username:String!
var studentId:String!
var imageData:Data!
init(email:String, imagePath:String, nickname:String, userId:Int){
self.email = email
self.imagePath = imagePath
self.nickname = nickname
self.userId = userId
super.init()
}
required init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
self.imagePath = (try? container.decode(String.self, forKey: .imagePath)) ?? ""
self.email = (try? container.decode(String.self, forKey: .email)) ?? ""
self.username = (try? container.decode(String.self, forKey: .username)) ?? ""
self.nickname = (try? container.decode(String.self, forKey: .nickname)) ?? ""
self.editedNickname = nickname
self.studentId = (try? container.decode(String.self, forKey: .studentId)) ?? ""
super.init()
}
override func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encode(nickname, forKey: .nickname)
try container.encode(imageData, forKey: .image)
try super.encode(to: encoder)
}
enum CodingKeys: CodingKey {
case email, imagePath, nickname, userId, username, studentId
case name,image
}
func getMultipart()->MultipartFormData{
let multipartFormData = MultipartFormData()
if editedNickname != nickname{
multipartFormData.append(Data(editedNickname.utf8), withName: "nickName")
}
if let image = imageData{
multipartFormData.append(image, withName: "image", fileName: "\(String(describing: nickname))!_profile.jpg", mimeType: "image/jpeg")
}else{
multipartFormData.append(Data("".utf8), withName: "image")
}
return multipartFormData
}
}
struct ProfileResponse: Codable{
var newNickName: String?
var newProFileImg: String?
}
| 34.721154 | 151 | 0.669344 |
6aa0d7423f33aa0d8824dd48181a86544df92272 | 4,320 | lua | Lua | Dusk/dusk_core/run/tileculling.lua | alextrevisan/Dusk-Engine | 982c28a47a91544c21b232b2a12adee74f6bd314 | [
"MIT"
] | null | null | null | Dusk/dusk_core/run/tileculling.lua | alextrevisan/Dusk-Engine | 982c28a47a91544c21b232b2a12adee74f6bd314 | [
"MIT"
] | null | null | null | Dusk/dusk_core/run/tileculling.lua | alextrevisan/Dusk-Engine | 982c28a47a91544c21b232b2a12adee74f6bd314 | [
"MIT"
] | 1 | 2019-10-25T04:40:04.000Z | 2019-10-25T04:40:04.000Z | --------------------------------------------------------------------------------
--[[
Dusk Engine Component: Tile Culling
Manages displayed tiles for tile layers in a map.
--]]
--------------------------------------------------------------------------------
local tileculling = {}
--------------------------------------------------------------------------------
-- Localize
--------------------------------------------------------------------------------
local require = require
local editQueue = require("Dusk.dusk_core.misc.editqueue")
local screen = require("Dusk.dusk_core.misc.screen")
local newEditQueue = editQueue.new
local math_abs = math.abs
local math_ceil = math.ceil
--------------------------------------------------------------------------------
-- Add Tile Culling to a Map
--------------------------------------------------------------------------------
function tileculling.addTileCulling(map)
local divTileWidth, divTileHeight = 1 / map.data.tileWidth, 1 / map.data.tileHeight
local culling = {
layer = {}
}
------------------------------------------------------------------------------
-- Load Layers
------------------------------------------------------------------------------
for layer, i in map.tileLayers() do
if layer.tileCullingEnabled then
local layerCulling = {
prev = {l = 0, r = 0, t = 0, b = 0},
now = {l = 0, r = 0, t = 0, b = 0},
update = function() end
}
local prev, now = layerCulling.prev, layerCulling.now
local layerEdits = newEditQueue()
layerEdits.setTarget(layer)
--------------------------------------------------------------------------
-- Update Culling
--------------------------------------------------------------------------
layerCulling.update = function()
local nl, nr, nt, nb = layerCulling.updatePositions()
local pl, pr, pt, pb = layerCulling.prev.l, layerCulling.prev.r, layerCulling.prev.t, layerCulling.prev.b
if nl == pl and nr == pr and nt == pt and nb == pb then return end
-- Difference between current positions and previous positions
-- This is used to tell which direction the layer has moved
local lDiff = nl - pl
local rDiff = nr - pr
local tDiff = nt - pt
local bDiff = nb - pb
if lDiff > 0 then
layerEdits.add(pl, nl, pt, pb, "e")
elseif lDiff < 0 then
layerEdits.add(pl, nl, nt, nb, "d")
end
if rDiff < 0 then
layerEdits.add(pr, nr, pt, pb, "e")
elseif rDiff > 0 then
layerEdits.add(pr, nr, nt, nb, "d")
end
if tDiff > 0 then
layerEdits.add(nl, nr, pt, layerCulling.now.t, "e")
elseif tDiff < 0 then
layerEdits.add(nl, nr, pt, layerCulling.now.t, "d")
end
if bDiff < 0 then
layerEdits.add(nl, nr, pb, layerCulling.now.b, "e")
elseif bDiff > 0 then
layerEdits.add(nl, nr, pb, layerCulling.now.b, "d")
end
-- Guard against tile "leaks"
if lDiff > 0 and tDiff > 0 then
layerEdits.add(pl, nl, pt, nt, "e")
end
if rDiff < 0 and tDiff > 0 then
layerEdits.add(nr, pr, pt, nt, "e")
end
if lDiff > 0 and bDiff < 0 then
layerEdits.add(pl, nl, nb, pb, "e")
end
if rDiff < 0 and bDiff < 0 then
layerEdits.add(nr, pr, nb, pb, "e")
end
layerEdits.execute()
end
--------------------------------------------------------------------------
-- Update Positions
--------------------------------------------------------------------------
layerCulling.updatePositions = function()
local l, t = layer:contentToLocal(screen.left, screen.top)
local r, b = layer:contentToLocal(screen.right, screen.bottom)
-- Calculate left/right/top/bottom to the nearest tile
-- We expand each position by one to hide the drawing and erasing
l = math_ceil(l * divTileWidth) - 1
r = math_ceil(r * divTileWidth) + 1
t = math_ceil(t * divTileHeight) - 1
b = math_ceil(b * divTileHeight) + 1
-- Update previous position to be equal to current position
prev.l = now.l
prev.r = now.r
prev.t = now.t
prev.b = now.b
-- Reset current position
now.l = l
now.r = r
now.t = t
now.b = b
return l, r, t, b
end
layer._updateTileCulling = layerCulling.update
culling.layer[i] = layerCulling
end
end
return culling
end
return tileculling | 29.189189 | 109 | 0.49537 |
f438fc4fea7cf7915521b355147f18c7c4533ebe | 350 | cs | C# | revghost.Audio/Players/Components/AudioDelayComponent.cs | guerro323/GameHost | a38b0846545e06239e7e489b9f251a369ca9df02 | [
"MIT"
] | null | null | null | revghost.Audio/Players/Components/AudioDelayComponent.cs | guerro323/GameHost | a38b0846545e06239e7e489b9f251a369ca9df02 | [
"MIT"
] | 88 | 2020-07-17T17:02:16.000Z | 2022-02-21T04:02:59.000Z | revghost.Audio/Players/Components/AudioDelayComponent.cs | guerro323/GameHost | a38b0846545e06239e7e489b9f251a369ca9df02 | [
"MIT"
] | null | null | null | namespace GameHost.Audio.Players;
/// <summary>
/// Manage the delay of an <see cref="IAudioPlayerComponent" />
/// </summary>
public struct AudioDelayComponent
{
public TimeSpan Delay;
public AudioDelayComponent(TimeSpan delay)
{
if (delay < TimeSpan.Zero)
delay = TimeSpan.Zero;
Delay = delay;
}
} | 21.875 | 67 | 0.637143 |
f1730bd7a3305b1356596d90c127134c045aa747 | 1,818 | lua | Lua | class.lua | uscq/Karx3l | 4a900108fc0fbb2bbce810683eeb4d651e31321c | [
"MIT"
] | null | null | null | class.lua | uscq/Karx3l | 4a900108fc0fbb2bbce810683eeb4d651e31321c | [
"MIT"
] | null | null | null | class.lua | uscq/Karx3l | 4a900108fc0fbb2bbce810683eeb4d651e31321c | [
"MIT"
] | null | null | null | --[[
Copyright (c) 2016-2018 uscq <[email protected]> All rights reserved.
Licensed under the MIT License (the "License"); you may not use this file except
in compliance with the License. You may obtain a copy of the License at
http://opensource.org/licenses/MIT
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations.
--]]
local setclass = setmetatable
local getclass = getmetatable
local pairs = pairs
local function indexing (self, key)
if key == nil then return end
local class = getclass(self)
local t = class
repeat
local val = t[key]
if val ~= nil then
-- it would fire __newindex/__eq when appropriate
if t ~= class then class[key] = val end
self[key] = val
return val
end
t = t.__super
until not t
end
typeof = getclass
function class (super)
local drived = {
__index = indexing,
__super = super,
}
if super then
drived.__tostring = super.__tostring
drived.__gc = super.__gc
setclass(drived, { __index = super })
end
return drived
end
function new (class, ...)
local obj = setclass({ }, class)
local __ctor = class.__ctor
if __ctor then __ctor(obj, ...) end
return obj
end
function delete (obj)
local gc = obj.__gc
if gc then gc(obj) end
setclass(obj, nil)
for k in pairs(obj) do obj[k] = nil end
end
function is_a (obj, class)
local t = getclass(obj)
while t do
if t == class then return true end
t = t.__super
end
return false
end
| 24.90411 | 80 | 0.648515 |
9e19b8e90e644431fa4d2d71f3bf24a02654d379 | 180 | lua | Lua | garrysmod/gamemodes/darkrp/plugins/flashlight/sh_plugin.lua | Kek1ch/Kek1ch | fa545ac1c261c20639ba7a7119ccd7aa4aaacbdc | [
"Apache-2.0"
] | 7 | 2019-06-15T09:10:59.000Z | 2021-11-21T18:15:03.000Z | garrysmod/gamemodes/darkrp/plugins/flashlight/sh_plugin.lua | Kek1ch/Kek1ch | fa545ac1c261c20639ba7a7119ccd7aa4aaacbdc | [
"Apache-2.0"
] | null | null | null | garrysmod/gamemodes/darkrp/plugins/flashlight/sh_plugin.lua | Kek1ch/Kek1ch | fa545ac1c261c20639ba7a7119ccd7aa4aaacbdc | [
"Apache-2.0"
] | 6 | 2019-06-15T08:33:15.000Z | 2020-10-25T07:50:32.000Z | PLUGIN.name = "Flashlight"
PLUGIN.author = "Chessnut ++ Kek1ch"
PLUGIN.desc = "Provides a flashlight item to regular flashlight usage."
nut.util.include("sv_plugin.lua")
| 22.5 | 72 | 0.716667 |
70477695733c81326c18dcca1fdc1a30ec224f6f | 23,657 | cpp | C++ | SDKs/CryCode/3.7.0/CryEngine/CryAction/AIDebugRenderer.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 4 | 2017-12-18T20:10:16.000Z | 2021-02-07T21:21:24.000Z | SDKs/CryCode/3.7.0/CryEngine/CryAction/AIDebugRenderer.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | null | null | null | SDKs/CryCode/3.7.0/CryEngine/CryAction/AIDebugRenderer.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 3 | 2019-03-11T21:36:15.000Z | 2021-02-07T21:21:26.000Z | /********************************************************************
Crytek Source File.
Copyright (C), Crytek Studios, 2001-2009.
-------------------------------------------------------------------------
File name: AIDebugRenderer.cpp
$Id$
Description: Helper functions to draw some interesting debug shapes.
-------------------------------------------------------------------------
History:
- 2006-9-19 : Created (AIDebugDrawHelpers.cpp) by Mikko Mononen
- 2009-2-11 : Moved to CryAction by Evgeny Adamenkov
*********************************************************************/
#include "StdAfx.h"
#include "AIDebugRenderer.h"
#include MATH_H
#include <IRenderer.h>
#include <Cry_Vector3.h>
//===================================================================
// GetCameraPos
//===================================================================
Vec3 CAIDebugRenderer::GetCameraPos()
{
return gEnv->pSystem->GetViewCamera().GetPosition();
}
//====================================================================
// GetDebugDrawZ
//====================================================================
float CAIDebugRenderer::GetDebugDrawZ(const Vec3& vPoint, bool bUseTerrainOrWater)
{
const float g_drawOffset = 0.1f;
if (bUseTerrainOrWater)
{
if (g_drawOffset <= 0.0f)
return -g_drawOffset;
I3DEngine *pEngine = gEnv->p3DEngine;
float terrainZ = pEngine->GetTerrainElevation(vPoint.x, vPoint.y);
float waterZ = pEngine->GetWaterLevel(&vPoint);
return max(terrainZ, waterZ) + g_drawOffset;
}
else
return vPoint.z + g_drawOffset;
}
void CAIDebugRenderer::DrawAABB(const AABB& aabb, bool bSolid, const ColorB& color, const EBoundingBoxDrawStyle& bbDrawStyle)
{
m_pRenderer->GetIRenderAuxGeom()->DrawAABB(aabb, bSolid, color, bbDrawStyle);
}
void CAIDebugRenderer::DrawAABB(const AABB& aabb, const Matrix34& matWorld, bool bSolid, const ColorB& color, const EBoundingBoxDrawStyle& bbDrawStyle)
{
m_pRenderer->GetIRenderAuxGeom()->DrawAABB(aabb, matWorld, bSolid, color, bbDrawStyle);
}
//====================================================================
// DebugDrawArrow
//====================================================================
void CAIDebugRenderer::DrawArrow(const Vec3& vPos, const Vec3& vLength, float fWidth, const ColorB& color)
{
Vec3 points[7];
Vec3 tris[5 * 3];
float len = vLength.GetLength();
if (len < 0.0001f)
return;
float headLen = fWidth * 2.0f;
float headWidth = fWidth * 2.0f;
if (headLen > len * 0.8f)
headLen = len * 0.8f;
Vec3 vDir(vLength/len);
Vec3 norm(vLength.y, -vLength.x, 0);
norm.NormalizeSafe();
Vec3 end(vPos + vLength);
Vec3 start(vPos);
unsigned int n = 0;
points[n++] = end;
points[n++] = end - vDir * headLen - norm * headWidth/2;
PREFAST_SUPPRESS_WARNING(6386)
points[n++] = end - vDir * headLen - norm * fWidth/2;
points[n++] = end - vDir * headLen + norm * fWidth/2;
points[n++] = end - vDir * headLen + norm * headWidth/2;
points[n++] = start - norm * fWidth/2;
points[n++] = start + norm * fWidth/2;
n = 0;
tris[n++] = points[0];
tris[n++] = points[1];
tris[n++] = points[2];
tris[n++] = points[0];
tris[n++] = points[2];
tris[n++] = points[3];
tris[n++] = points[0];
tris[n++] = points[3];
tris[n++] = points[4];
tris[n++] = points[2];
tris[n++] = points[5];
tris[n++] = points[6];
tris[n++] = points[2];
tris[n++] = points[6];
tris[n++] = points[3];
DrawTriangles(tris, n, color);
}
//====================================================================
// DebugDrawCapsuleOutline
//====================================================================
void CAIDebugRenderer::DrawCapsuleOutline(const Vec3& vPos0, const Vec3& vPos1, float fRadius, const ColorB& color)
{
Vec3 points[20];
Vec3 axisy = vPos1 - vPos0;
axisy.Normalize();
Vec3 axisx(axisy.y, -axisy.x, 0);
axisx.Normalize();
for (unsigned int i = 0; i < 10; i++)
{
float a = ((float)i / 9.0f) * gf_PI;
points[i] = vPos1 + axisx*cosf(a)*fRadius + axisy*sinf(a)*fRadius;
}
for (unsigned int i = 0; i < 10; i++)
{
float a = gf_PI + ((float)i / 9.0f) * gf_PI;
points[i+10] = vPos0 + axisx*cosf(a)*fRadius + axisy*sinf(a)*fRadius;
}
DrawPolyline(points, 20, true, color);
}
//====================================================================
// DebugDrawCircleOutline
//====================================================================
void CAIDebugRenderer::DrawCircleOutline(const Vec3& vPos, float fRadius, const ColorB& color)
{
Vec3 points[20];
for (unsigned int i = 0; i < 20; i++)
{
float a = ((float)i / 20.0f) * gf_PI2;
points[i] = vPos + Vec3(cosf(a) * fRadius, sinf(a) * fRadius, 0);
}
DrawPolyline(points, 20, true, color);
}
//====================================================================
// DebugDrawCircles
//====================================================================
void CAIDebugRenderer::DrawCircles(const Vec3& vPos,
float fMinRadius, float fMaxRadius, int numRings,
const ColorF& vInsideColor, const ColorF& vOutsideColor)
{
static int numPts = 32;
static std::vector<Vec3> unitCircle;
static bool init = false;
if (init == false)
{
init = true;
unitCircle.reserve(numPts);
for (int i = 0 ; i < numPts ; ++i)
{
float angle = gf_PI2 * ((float) i) / numPts;
unitCircle.push_back(Vec3(sinf(angle), cosf(angle), 0.0f));
}
}
for (int iRing = 0 ; iRing < numRings ; ++iRing)
{
float ringFrac = 0.0f;
if (numRings > 1)
ringFrac += ((float) iRing) / (numRings - 1);
float fRadius = (1.0f - ringFrac) * fMinRadius + ringFrac * fMaxRadius;
ColorF col = (1.0f - ringFrac) * vInsideColor + ringFrac * vOutsideColor;
Vec3 prevPt = vPos + fRadius * unitCircle[numPts - 1];
prevPt.z = GetDebugDrawZ(prevPt, true);
for (int i = 0 ; i < numPts ; ++i)
{
Vec3 pt = vPos + fRadius * unitCircle[i];
pt.z = GetDebugDrawZ(pt, true) + 0.05f;
DrawLine(prevPt, col, pt, col);
prevPt = pt;
}
}
}
void CAIDebugRenderer::DrawCone(const Vec3& vPos, const Vec3& vDir, float fRadius, float fHeight, const ColorB& color, bool fDrawShaded)
{
m_pRenderer->GetIRenderAuxGeom()->DrawCone(vPos, vDir, fRadius, fHeight, color, fDrawShaded);
}
void CAIDebugRenderer::DrawCylinder(const Vec3& vPos, const Vec3& vDir, float fRadius, float fHeight, const ColorB& color, bool bDrawShaded)
{
m_pRenderer->GetIRenderAuxGeom()->DrawCylinder(vPos, vDir, fRadius, fHeight, color, bDrawShaded);
}
//====================================================================
// DebugDrawEllipseOutline
//====================================================================
void CAIDebugRenderer::DrawEllipseOutline(const Vec3& vPos, float fRadiusX, float fRadiusY, float fOrientation, const ColorB& color)
{
Vec3 points[20];
float sin_o = sinf( fOrientation );
float cos_o = cosf( fOrientation );
for (unsigned int i = 0; i < 20; i++ )
{
float angle = ( (float) i / 20.0f ) * gf_PI2;
float sin_a = sinf( angle );
float cos_a = cosf( angle );
float x = ( cos_o * cos_a * fRadiusX ) - ( sin_o * sin_a * fRadiusY );
float y = ( cos_o * sin_a * fRadiusY ) + ( sin_o * cos_a * fRadiusX );
points[i] = vPos + Vec3( x, y, 0.0f );
}
DrawPolyline( points, 20, true, color );
}
//====================================================================
// DebugDrawLabel
//====================================================================
void CAIDebugRenderer::Draw2dLabel(int nCol, int nRow, const char* szText, const ColorB& color)
{
float ColumnSize = 11;
float RowSize = 11;
float baseY = 10;
float p_fColor[4] = {
color.r / 255.0f,
color.g / 255.0f,
color.b / 255.0f,
color.a / 255.0f
};
m_pRenderer->Draw2dLabel(ColumnSize*static_cast<float>(nCol), baseY+RowSize*static_cast<float>(nRow), 1.2f, p_fColor, false, "%s", szText);
}
void CAIDebugRenderer::Draw2dLabel(float fX, float fY, float fFontSize, const ColorB& color, bool bCenter, const char* text, ...)
{
va_list args;
va_start(args, text);
// Copy-pasted from IRenderer.h to use "va_list args"
SDrawTextInfo ti;
ti.xscale = ti.yscale = fFontSize;
ti.flags = eDrawText_IgnoreOverscan | eDrawText_2D | eDrawText_800x600 | eDrawText_FixedSize | eDrawText_Monospace | (bCenter ? eDrawText_Center : 0) ;
ti.color[0] = color.r / 255.0f;
ti.color[1] = color.g / 255.0f;
ti.color[2] = color.b / 255.0f;
ti.color[3] = color.a / 255.0f;
m_pRenderer->DrawTextQueued(Vec3(fX, fY, 0.5f), ti, text, args);
va_end(args);
}
void CAIDebugRenderer::Draw3dLabel(Vec3 vPos, float fFontSize, const char* text, ...)
{
va_list args;
va_start(args, text);
// Copy-pasted from IRenderer.h to use "va_list args"
SDrawTextInfo ti;
ti.xscale = ti.yscale = fFontSize;
ti.flags = eDrawText_FixedSize | eDrawText_800x600;
m_pRenderer->DrawTextQueued(vPos, ti, text, args);
va_end(args);
}
void CAIDebugRenderer::Draw3dLabelEx(Vec3 vPos, float fFontSize, const ColorB& color, bool bFixedSize, bool bCenter, bool bDepthTest, bool bFramed, const char* text, ...)
{
va_list args;
va_start(args, text);
// Copy-pasted from IRenderer.h to use "va_list args"
SDrawTextInfo ti;
ti.xscale = ti.yscale = fFontSize;
ti.flags = (bFramed ? eDrawText_Framed : 0) | (bDepthTest ? eDrawText_DepthTest : 0) | (bFixedSize ? eDrawText_FixedSize : 0) | (bCenter ? eDrawText_Center : 0) | eDrawText_800x600;
ti.color[0] = color.r / 255.0f;
ti.color[1] = color.g / 255.0f;
ti.color[2] = color.b / 255.0f;
ti.color[3] = color.a / 255.0f;
m_pRenderer->DrawTextQueued(vPos, ti, text, args);
va_end(args);
}
void CAIDebugRenderer::Draw2dImage(float fX, float fY, float fWidth, float fHeight, int nTextureID, float fS0, float fT0, float fS1, float fT1, float fAngle, float fR, float fG, float fB, float fA, float fZ)
{
m_pRenderer->Draw2dImage(fX, fY, fWidth, fHeight, nTextureID, fS0, fT0, fS1, fT1, fAngle, fR, fG, fB, fA, fZ);
}
void CAIDebugRenderer::DrawLine(const Vec3& v0, const ColorB& colorV0, const Vec3& v1, const ColorB& colorV1, float thickness)
{
m_pRenderer->GetIRenderAuxGeom()->DrawLine(v0, colorV0, v1, colorV1, thickness);
}
void CAIDebugRenderer::DrawOBB(const OBB& obb, const Vec3& vPos, bool bSolid, const ColorB& color, const EBoundingBoxDrawStyle bbDrawStyle)
{
m_pRenderer->GetIRenderAuxGeom()->DrawOBB(obb, vPos, bSolid, color, bbDrawStyle);
}
void CAIDebugRenderer::DrawOBB(const OBB& obb, const Matrix34& matWorld, bool bSolid, const ColorB& color, const EBoundingBoxDrawStyle bbDrawStyle)
{
m_pRenderer->GetIRenderAuxGeom()->DrawOBB(obb, matWorld, bSolid, color, bbDrawStyle);
}
void CAIDebugRenderer::DrawPolyline(const Vec3* va, uint32 nPoints, bool bClosed, const ColorB& color, float fThickness)
{
m_pRenderer->GetIRenderAuxGeom()->DrawPolyline(va, nPoints, bClosed, color, fThickness);
}
void CAIDebugRenderer::DrawPolyline(const Vec3* va, uint32 nPoints, bool bClosed, const ColorB* colorArray, float fThickness)
{
m_pRenderer->GetIRenderAuxGeom()->DrawPolyline(va, nPoints, bClosed, colorArray, fThickness);
}
//====================================================================
// DebugDrawRangeArc
//====================================================================
void CAIDebugRenderer::DrawRangeArc(const Vec3& vPos, const Vec3& vDir, float fAngle, float fRadius, float fWidth,
const ColorB& colorFill, const ColorB& colorOutline, bool bDrawOutline)
{
const unsigned npts = 12;
Vec3 points[npts];
Vec3 pointsOutline[npts];
Vec3 tris[(npts - 1) * 2 * 3];
Vec3 forw(vDir.x, vDir.y, 0.0f);
forw.NormalizeSafe();
Vec3 right(forw.y, -forw.x, 0);
if (fWidth > fRadius) fWidth = fRadius;
for (unsigned int i = 0; i < npts; i++)
{
float a = ((float)i / (float)(npts - 1) - 0.5f) * fAngle;
points[i] = forw * cosf(a) + right * sinf(a);
pointsOutline[i] = vPos + points[i] * fRadius;
}
unsigned int n = 0;
for (unsigned int i = 0; i < npts - 1; i++)
{
tris[n++] = vPos + points[i] * (fRadius - fWidth);
tris[n++] = vPos + points[i+1] * fRadius;
tris[n++] = vPos + points[i] * fRadius;
tris[n++] = vPos + points[i] * (fRadius - fWidth);
tris[n++] = vPos + points[i+1] * (fRadius - fWidth);
tris[n++] = vPos + points[i+1] * fRadius;
}
DrawTriangles(tris, n, colorFill);
if (bDrawOutline)
{
DrawPolyline(pointsOutline, npts, false, colorOutline);
DrawLine(vPos + forw * (fRadius - fWidth/4), colorOutline, vPos + forw * (fRadius + fWidth/4), colorOutline);
}
}
//====================================================================
// DebugDrawRange
//====================================================================
void CAIDebugRenderer::DrawRangeBox(const Vec3& vPos, const Vec3& vDir, float fSizeX, float fSizeY, float fWidth,
const ColorB& colorFill, const ColorB& colorOutline, bool bDrawOutline)
{
float minX = fSizeX - fWidth;
float maxX = fSizeX;
float minY = fSizeY - fWidth;
float maxY = fSizeY;
if (maxX < 0.001f || maxY < 0.001f ||minX > maxX || minY > maxY)
return;
Vec3 points[8];
Vec3 tris[8 * 3];
Vec3 norm(vDir.y, -vDir.x, vDir.z);
points[0] = vPos + norm * -minX + vDir * -minY;
points[1] = vPos + norm * minX + vDir * -minY;
points[2] = vPos + norm * minX + vDir * minY;
points[3] = vPos + norm * -minX + vDir * minY;
points[4] = vPos + norm * -maxX + vDir * -maxY;
points[5] = vPos + norm * maxX + vDir * -maxY;
points[6] = vPos + norm * maxX + vDir * maxY;
points[7] = vPos + norm * -maxX + vDir * maxY;
unsigned int n = 0;
tris[n++] = points[0];
tris[n++] = points[5];
tris[n++] = points[1];
tris[n++] = points[0];
tris[n++] = points[4];
tris[n++] = points[5];
tris[n++] = points[1];
tris[n++] = points[6];
tris[n++] = points[2];
tris[n++] = points[1];
tris[n++] = points[5];
tris[n++] = points[6];
tris[n++] = points[2];
tris[n++] = points[7];
tris[n++] = points[3];
tris[n++] = points[2];
tris[n++] = points[6];
tris[n++] = points[7];
tris[n++] = points[3];
tris[n++] = points[4];
tris[n++] = points[0];
tris[n++] = points[3];
tris[n++] = points[7];
tris[n++] = points[4];
DrawTriangles(tris, 8 * 3, colorFill);
if (bDrawOutline)
DrawPolyline(&points[4], 4, true, colorOutline);
}
//====================================================================
// DebugDrawRangeCircle
//====================================================================
void CAIDebugRenderer::DrawRangeCircle(const Vec3& vPos, float fRadius, float fWidth,
const ColorB& colorFill, const ColorB& colorOutline, bool bDrawOutline)
{
const unsigned npts = 24;
Vec3 points[npts];
Vec3 pointsOutline[npts];
Vec3 tris[npts * 2 * 3];
if (fWidth > fRadius) fWidth = fRadius;
for (unsigned int i = 0; i < npts; i++)
{
float a = ((float)i / (float)npts) * gf_PI2;
points[i] = Vec3(cosf(a), sinf(a), 0);
pointsOutline[i] = vPos + points[i] * fRadius;
}
unsigned int n = 0;
for (unsigned int i = 0; i < npts; i++)
{
tris[n++] = vPos + points[i] * (fRadius - fWidth);
tris[n++] = vPos + points[i] * fRadius;
tris[n++] = vPos + points[(i+1) % npts] * fRadius;
tris[n++] = vPos + points[i] * (fRadius - fWidth);
tris[n++] = vPos + points[(i+1) % npts] * fRadius;
tris[n++] = vPos + points[(i+1) % npts] * (fRadius - fWidth);
}
DrawTriangles(tris, npts * 2 * 3, colorFill);
if (bDrawOutline)
DrawPolyline(pointsOutline, npts, true, colorOutline);
}
//====================================================================
// DebugDrawRangePolygon
//====================================================================
void CAIDebugRenderer::DrawRangePolygon(const Vec3 polygon[], int nVertices, float fWidth,
const ColorB& colorFill, const ColorB& colorOutline, bool bDrawOutline)
{
static std::vector<Vec3> verts;
static std::vector<vtx_idx> tris;
static std::vector<Vec3> outline;
if (nVertices < 3) return;
Vec3 prevDir(polygon[0] - polygon[nVertices - 1]);
prevDir.NormalizeSafe();
Vec3 prevNorm(-prevDir.y, prevDir.x, 0.0f);
prevNorm.NormalizeSafe();
Vec3 prevPos(polygon[nVertices - 1]);
verts.clear();
outline.clear();
const Vec3* li, * linext;
const Vec3* liend = polygon + nVertices;
for (li = polygon; li != liend ; ++li)
{
linext = li;
++linext;
if (linext == liend)
linext = polygon;
const Vec3& curPos(*li);
const Vec3& nextPos(*linext);
Vec3 vDir(nextPos - curPos);
Vec3 norm(-vDir.y, vDir.x, 0.0f);
norm.NormalizeSafe();
Vec3 mid((prevNorm + norm) * 0.5f);
float dmr2 = sqr(mid.x) + sqr(mid.y);
if (dmr2 > 0.00001f)
mid *= 1.0f / dmr2;
float cross = prevDir.x * vDir.y - vDir.x * prevDir.y;
outline.push_back(curPos);
if (cross < 0.0f)
{
if (dmr2 * sqr(2.5f) < 1.0f)
{
// bevel
verts.push_back(curPos);
verts.push_back(curPos + prevNorm * fWidth);
verts.push_back(curPos);
verts.push_back(curPos + norm * fWidth);
}
else
{
verts.push_back(curPos);
verts.push_back(curPos + mid * fWidth);
}
}
else
{
verts.push_back(curPos);
verts.push_back(curPos + mid * fWidth);
}
prevDir = vDir;
prevNorm = norm;
prevPos = curPos;
}
tris.clear();
size_t n = verts.size()/2;
for (size_t i = 0; i < n; ++i)
{
size_t j = (i + 1) % n;
tris.push_back(i*2);
tris.push_back(j*2);
tris.push_back(j*2+1);
tris.push_back(i*2);
tris.push_back(j*2+1);
tris.push_back(i*2+1);
}
m_pRenderer->GetIRenderAuxGeom()->DrawTriangles(&verts[0], verts.size(), &tris[0], tris.size(), colorFill);
if (bDrawOutline)
DrawPolyline(&outline[0], outline.size(), true, colorOutline);
}
void CAIDebugRenderer::DrawSphere(const Vec3& vPos, float fRadius, const ColorB& color, bool bDrawShaded)
{
m_pRenderer->GetIRenderAuxGeom()->DrawSphere(vPos, fRadius, color, bDrawShaded);
}
void CAIDebugRenderer::DrawTriangle(const Vec3& v0, const ColorB& colorV0, const Vec3& v1, const ColorB& colorV1, const Vec3& v2, const ColorB& colorV2)
{
m_pRenderer->GetIRenderAuxGeom()->DrawTriangle(v0, colorV0, v1, colorV1, v2, colorV2);
}
void CAIDebugRenderer::DrawTriangles(const Vec3* va, unsigned int numPoints, const ColorB& color)
{
m_pRenderer->GetIRenderAuxGeom()->DrawTriangles(va, numPoints, color);
}
//====================================================================
// DebugDrawWireFOVCone
//====================================================================
void CAIDebugRenderer::DrawWireFOVCone(const Vec3& vPos, const Vec3& vDir, float fRadius, float fFOV, const ColorB& color)
{
const unsigned int npts = 32;
const unsigned int npts2 = 16;
Vec3 points[npts];
Vec3 pointsx[npts2];
Vec3 pointsy[npts2];
Matrix33 base;
base.SetRotationVDir(vDir);
float coneRadius = sinf(fFOV) * fRadius;
float coneHeight = cosf(fFOV) * fRadius;
for (unsigned int i = 0; i < npts; i++)
{
float a = ((float)i / (float)npts) * gf_PI2;
float rx = cosf(a) * coneRadius;
float ry = sinf(a) * coneRadius;
points[i] = vPos + base.TransformVector(Vec3(rx, coneHeight, ry));
}
for (unsigned int i = 0; i < npts2; i++)
{
float a = -fFOV + ((float)i / (float)(npts2-1)) * (fFOV*2);
float rx = sinf(a) * fRadius;
float ry = cosf(a) * fRadius;
pointsx[i] = vPos + base.TransformVector(Vec3(rx, ry, 0));
pointsy[i] = vPos + base.TransformVector(Vec3(0, ry, rx));
}
DrawPolyline(points, npts, true, color);
DrawPolyline(pointsx, npts2, false, color);
DrawPolyline(pointsy, npts2, false, color);
DrawLine(points[0], color, vPos, color);
DrawLine(points[npts/4], color, vPos, color);
DrawLine(points[npts/2], color, vPos, color);
DrawLine(points[npts/2+npts/4], color, vPos, color);
}
//====================================================================
// DebugDrawWireSphere
//====================================================================
void CAIDebugRenderer::DrawWireSphere(const Vec3& vPos, float fRadius, const ColorB& color)
{
const unsigned int npts = 32;
Vec3 xpoints[npts];
Vec3 ypoints[npts];
Vec3 zpoints[npts];
for (unsigned int i = 0; i < npts; i++)
{
float a = ((float)i / (float)npts) * gf_PI2;
float rx = cosf(a) * fRadius;
float ry = sinf(a) * fRadius;
xpoints[i] = vPos + Vec3(rx, ry, 0);
ypoints[i] = vPos + Vec3(0, rx, ry);
zpoints[i] = vPos + Vec3(ry, 0, rx);
}
DrawPolyline(xpoints, npts, true, color);
DrawPolyline(ypoints, npts, true, color);
DrawPolyline(zpoints, npts, true, color);
}
ITexture* CAIDebugRenderer::LoadTexture(const char* sNameOfTexture, uint32 nFlags)
{
return m_pRenderer->EF_LoadTexture(sNameOfTexture, nFlags);
}
// [9/16/2010 evgeny] ProjectToScreen is not guaranteed to work if used outside Renderer
bool CAIDebugRenderer::ProjectToScreen(float fInX, float fInY, float fInZ, float* fOutX, float* fOutY, float* fOutZ)
{
return m_pRenderer->ProjectToScreen(fInX, fInY, fInZ, fOutX, fOutY, fOutZ);
}
void CAIDebugRenderer::TextToScreen(float fX, float fY, const char* format, ...)
{
// Copy-pasted from Renderer.cpp
char buffer[512];
va_list args;
va_start(args, format);
if (vsnprintf(buffer, sizeof(buffer), format, args) == -1)
buffer[sizeof(buffer) - 1] = 0;
va_end(args);
m_pRenderer->TextToScreen(fX, fY, "%s", buffer);
}
void CAIDebugRenderer::TextToScreenColor(int nX, int nY, float fRed, float fGreen, float fBlue, float fAlpha, const char* format, ...)
{
// Copy-pasted from Renderer.cpp
char buffer[512];
va_list args;
va_start(args, format);
if (vsnprintf(buffer, sizeof(buffer), format, args) == -1)
buffer[sizeof(buffer) - 1] = 0;
va_end(args);
m_pRenderer->TextToScreenColor(nX, nY, fRed, fGreen, fBlue, fAlpha, buffer);
}
void CAIDebugRenderer::Init2DMode()
{
m_pRenderer->GetIRenderAuxGeom()->SetRenderFlags(SAuxGeomRenderFlags(e_Def2DPublicRenderflags));
}
void CAIDebugRenderer::Init3DMode()
{
m_pRenderer->GetIRenderAuxGeom()->SetRenderFlags(SAuxGeomRenderFlags(e_Def3DPublicRenderflags));
}
void CAIDebugRenderer::SetAlphaBlended(bool bOn)
{
IRenderAuxGeom* pRenderAuxGeom = m_pRenderer->GetIRenderAuxGeom();
SAuxGeomRenderFlags flags = pRenderAuxGeom->GetRenderFlags();
flags.SetAlphaBlendMode(bOn ? e_AlphaBlended : e_AlphaNone);
pRenderAuxGeom->SetRenderFlags(flags);
}
void CAIDebugRenderer::SetBackFaceCulling(bool bOn)
{
IRenderAuxGeom* pRenderAuxGeom = m_pRenderer->GetIRenderAuxGeom();
SAuxGeomRenderFlags flags = pRenderAuxGeom->GetRenderFlags();
flags.SetCullMode(bOn ? e_CullModeBack : e_CullModeNone);
pRenderAuxGeom->SetRenderFlags(flags);
}
void CAIDebugRenderer::SetDepthTest(bool bOn)
{
IRenderAuxGeom* pRenderAuxGeom = m_pRenderer->GetIRenderAuxGeom();
SAuxGeomRenderFlags flags = pRenderAuxGeom->GetRenderFlags();
flags.SetDepthTestFlag(bOn ? e_DepthTestOn : e_DepthTestOff);
pRenderAuxGeom->SetRenderFlags(flags);
}
void CAIDebugRenderer::SetDepthWrite(bool bOn)
{
IRenderAuxGeom* pRenderAuxGeom = m_pRenderer->GetIRenderAuxGeom();
SAuxGeomRenderFlags flags = pRenderAuxGeom->GetRenderFlags();
flags.SetDepthWriteFlag(bOn ? e_DepthWriteOn : e_DepthWriteOff);
pRenderAuxGeom->SetRenderFlags(flags);
}
void CAIDebugRenderer::SetDrawInFront(bool bOn)
{
IRenderAuxGeom* pRenderAuxGeom = m_pRenderer->GetIRenderAuxGeom();
SAuxGeomRenderFlags flags = pRenderAuxGeom->GetRenderFlags();
flags.SetDrawInFrontMode(bOn ? e_DrawInFrontOn : e_DrawInFrontOff);
pRenderAuxGeom->SetRenderFlags(flags);
}
void CAIDebugRenderer::SetMaterialColor(float fRed, float fGreen, float fBlue, float fAlpha)
{
m_pRenderer->SetMaterialColor(fRed, fGreen, fBlue, fAlpha);
}
unsigned int CAIDebugRenderer::PopState()
{
m_pRenderer->GetIRenderAuxGeom()->SetRenderFlags(m_FlagsStack.top());
m_FlagsStack.pop();
return m_FlagsStack.size();
}
unsigned int CAIDebugRenderer::PushState()
{
m_FlagsStack.push(m_pRenderer->GetIRenderAuxGeom()->GetRenderFlags());
return m_FlagsStack.size();
}
| 31.005242 | 207 | 0.61914 |
633ad648d0d0a68942b089819276e011ee7c4af8 | 205 | rs | Rust | crates/loupe-old/src/memory_usage/marker.rs | qdeconinck/loupe-old | 7133cf298a9cb81c7799a4072408d3a47c2aa9ac | [
"MIT"
] | 28 | 2021-04-30T23:50:09.000Z | 2022-02-15T09:00:18.000Z | crates/loupe-old/src/memory_usage/marker.rs | qdeconinck/loupe-old | 7133cf298a9cb81c7799a4072408d3a47c2aa9ac | [
"MIT"
] | 5 | 2021-03-19T10:25:48.000Z | 2021-06-17T10:33:45.000Z | crates/loupe-old/src/memory_usage/marker.rs | qdeconinck/loupe-old | 7133cf298a9cb81c7799a4072408d3a47c2aa9ac | [
"MIT"
] | 2 | 2021-03-15T09:31:38.000Z | 2021-05-18T01:46:24.000Z | use crate::{MemoryUsage, MemoryUsageTracker};
use std::marker::PhantomData;
impl<T> MemoryUsage for PhantomData<T> {
fn size_of_val(&self, _: &mut dyn MemoryUsageTracker) -> usize {
0
}
}
| 22.777778 | 68 | 0.678049 |
0a48424db987aab3985405cd63cc346752fd28f5 | 1,155 | swift | Swift | Oak/Views/ScanCode/ScanQRCodeViewModel.swift | AlexCatch/Oak | 39793dc831f62f720e3393921514d5d4ab0667d8 | [
"MIT"
] | 7 | 2021-06-07T06:32:40.000Z | 2022-03-31T18:18:30.000Z | Oak/Views/ScanCode/ScanQRCodeViewModel.swift | AlexCatch/Oak | 39793dc831f62f720e3393921514d5d4ab0667d8 | [
"MIT"
] | null | null | null | Oak/Views/ScanCode/ScanQRCodeViewModel.swift | AlexCatch/Oak | 39793dc831f62f720e3393921514d5d4ab0667d8 | [
"MIT"
] | 2 | 2021-10-01T15:59:49.000Z | 2022-02-10T15:56:51.000Z | //
// ScanQRCodeViewModel.swift
// Oak
//
// Created by Alex Catchpole on 02/02/2021.
//
import Foundation
import SwiftUI
import Resolver
import CodeScanner
class ScanQRCodeViewModel: ObservableObject {
@Injected private var otpService: OTPService
@Injected private var accountsService: AccountService
@Published var scanError: String?
var isPresentingAlert: Binding<Bool> {
return Binding<Bool>(get: {
return self.scanError != nil
}, set: { newValue in
guard !newValue else { return }
self.scanError = nil
})
}
func onScan(results: Result<String, CodeScannerView.ScanError>, dismiss: () -> Void) {
do {
let uri = try results.get()
let parsedUri = try otpService.parseSetupURI(uri: uri)
try accountsService.save(parsedURI: parsedUri)
dismiss()
} catch {
scanError = "Failed to parse QR code - double check you're scanning a valid code"
}
}
}
extension Resolver {
static func RegisterScanQRCodeViewModel() {
register { ScanQRCodeViewModel() }
}
}
| 25.666667 | 93 | 0.623377 |
a12d555e1a702ad9f9e7a5cdd30000372f8b592e | 2,370 | ts | TypeScript | src/ts/file.ts | ncdcdev/apppot-sdk-js | e11100a0a3ba91a2ea748e5ec680ed1af8b69242 | [
"Apache-2.0"
] | 2 | 2020-10-20T01:20:02.000Z | 2021-12-21T02:58:31.000Z | src/ts/file.ts | ncdcdev/apppot-sdk-js | e11100a0a3ba91a2ea748e5ec680ed1af8b69242 | [
"Apache-2.0"
] | 3 | 2020-10-20T01:20:45.000Z | 2022-02-13T20:47:37.000Z | src/ts/file.ts | ncdcdev/apppot-sdk-js | e11100a0a3ba91a2ea748e5ec680ed1af8b69242 | [
"Apache-2.0"
] | null | null | null | import {Ajax, AjaxOptions} from './ajax';
import {AppPot} from './apppot';
export function getFileClass(appPot:AppPot){
return class File {
private _name: string;
private _url: string;
constructor(name, url){
this._name = name;
this._url = url;
}
static getUrl(filename){
return `${appPot.getConfig().entryPoint}files/${filename}?userToken=${appPot.getAuthInfo().getToken()}`;
}
get url(){
return `${appPot.getConfig().entryPoint}files/${this.name}?userToken=${appPot.getAuthInfo().getToken()}`;
}
get name(){
return this._name;
}
static create(filename: string, content, progress){
const prog = progress ? progress : ()=>{};
const entity = JSON.stringify({name: filename});
return new Promise((resolve, reject)=>{
appPot.getAjax().post('files', {
'contentType': 'no-set'
})
.field('entity', entity)
.attach('file', content)
.on('progress', prog)
.end(Ajax.end((res)=>{
let file = new File(res.results.name, res.results.url);
resolve(file);
}, reject))
});
}
get(progress){
return File.get(this.name, progress);
}
static get(filename: string, progress){
const prog = progress ? progress : ()=>{};
return new Promise((resolve, reject)=>{
appPot.getAjax().get(`files/${filename}`)
.query(`userToken=${appPot.getAuthInfo().getToken()}`)
.on('progress', prog)
.end(Ajax.end((res)=>{
resolve(res);
}, reject))
});
}
update(filename: string, content, progress){
const prog = progress ? progress : ()=>{};
const entity = JSON.stringify({name: filename});
return new Promise((resolve, reject)=>{
appPot.getAjax().put(`files/${this.name}`, {
'contentType': 'no-set'
})
.field('entity', entity)
.attach('file', content)
.on('progress', prog)
.end(Ajax.end((res)=>{
let file = new File(res.results.name, res.results.url);
resolve(file);
}, reject))
});
}
remove(filename: string){
return new Promise((resolve, reject)=>{
appPot.getAjax().remove(`files/${this.name}`)
.end(Ajax.end((res)=>{
resolve(res);
}, reject))
});
}
}
}
| 30.779221 | 111 | 0.551899 |
f462688260e498a246b9a3b27bf1bf6271f00475 | 905 | ts | TypeScript | src/pages/i18n.ts | JustalK/TEMPLATE-NEXT-TYPESCRIPT | d52e8b7d7a6c8e63b44c82db495d35a945072f13 | [
"MIT"
] | null | null | null | src/pages/i18n.ts | JustalK/TEMPLATE-NEXT-TYPESCRIPT | d52e8b7d7a6c8e63b44c82db495d35a945072f13 | [
"MIT"
] | null | null | null | src/pages/i18n.ts | JustalK/TEMPLATE-NEXT-TYPESCRIPT | d52e8b7d7a6c8e63b44c82db495d35a945072f13 | [
"MIT"
] | null | null | null | import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import PhraseInContextEditorPostProcessor from 'i18next-phrase-in-context-editor-post-processor';
import translationFr from 'public/locales/fr/translation.json';
import translationDe from 'public/locales/en/translation.json';
const resources = {
en: {
translation: translationFr,
},
fr: {
translation: translationDe,
},
};
i18n
.use(initReactI18next)
.use(
new PhraseInContextEditorPostProcessor({
phraseEnabled: Boolean(process.env.PHRASE_ACTIVE_EDITOR) || false,
projectId: process.env.PHRASE_KEY || '',
})
)
.init({
resources,
lng: 'en',
keySeparator: false, // we do not use keys in form messages.welcome
interpolation: {
escapeValue: false, // react already safes from xss
},
postProcess: ['phraseInContextEditor'],
});
export default i18n;
| 24.459459 | 97 | 0.701657 |
e6015d78b1e489fe8021d422c620376a283ebd2b | 87 | sql | SQL | liquibase-core/src/test/java/liquibase/verify/saved_state/compareGeneratedSqlWithExpectedSqlForMinimalChangesets/dropIndex/oracle.sql | maketubo/liquibase | 435dcc169e5aab4d679c3fd922c1be90af09e288 | [
"Apache-2.0"
] | 2,591 | 2015-01-05T19:25:25.000Z | 2022-03-31T14:06:31.000Z | liquibase-core/src/test/java/liquibase/verify/saved_state/compareGeneratedSqlWithExpectedSqlForMinimalChangesets/dropIndex/oracle.sql | maketubo/liquibase | 435dcc169e5aab4d679c3fd922c1be90af09e288 | [
"Apache-2.0"
] | 1,904 | 2015-01-01T23:10:36.000Z | 2022-03-31T20:44:17.000Z | liquibase-core/src/test/java/liquibase/verify/saved_state/compareGeneratedSqlWithExpectedSqlForMinimalChangesets/dropIndex/oracle.sql | maketubo/liquibase | 435dcc169e5aab4d679c3fd922c1be90af09e288 | [
"Apache-2.0"
] | 1,422 | 2015-01-05T19:59:08.000Z | 2022-03-31T16:03:53.000Z | -- Database: oracle
-- Change Parameter: indexName=idx_address
DROP INDEX idx_address;
| 21.75 | 42 | 0.793103 |
0aaddb108e48750a54bb52fbe271905504c79c79 | 6,284 | cs | C# | CGALDotNetGeometry/Shapes/Plane3d.cs | Scrawk/CGALDotNetGeometry | a72cd5d4e9b86fe01b1d80adf9624d3f0fa0a2b8 | [
"MIT"
] | 10 | 2022-02-06T11:50:32.000Z | 2022-03-19T16:45:25.000Z | CGALDotNetGeometry/Shapes/Plane3d.cs | Scrawk/CGALDotNetGeometry | a72cd5d4e9b86fe01b1d80adf9624d3f0fa0a2b8 | [
"MIT"
] | null | null | null | CGALDotNetGeometry/Shapes/Plane3d.cs | Scrawk/CGALDotNetGeometry | a72cd5d4e9b86fe01b1d80adf9624d3f0fa0a2b8 | [
"MIT"
] | 2 | 2022-02-06T14:38:04.000Z | 2022-03-02T00:36:40.000Z | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using CGALDotNetGeometry.Numerics;
using REAL = System.Double;
using POINT3 = CGALDotNetGeometry.Numerics.Point3d;
using VECTOR3 = CGALDotNetGeometry.Numerics.Vector3d;
using MATRIX3 = CGALDotNetGeometry.Numerics.Matrix3x3d;
using MATRIX4 = CGALDotNetGeometry.Numerics.Matrix4x4d;
namespace CGALDotNetGeometry.Shapes
{
/// <summary>
/// Plane struct defined by a position and direction.
/// </summary>
[Serializable]
[StructLayout(LayoutKind.Sequential)]
public struct Plane3d : IEquatable<Plane3d>
{
/// <summary>
/// A plane facing the x axis.
/// </summary>
public readonly static Plane3d UnitX = new Plane3d(VECTOR3.UnitX);
/// <summary>
/// A plane facing the y axis.
/// </summary>
public readonly static Plane3d UnitY = new Plane3d(VECTOR3.UnitY);
/// <summary>
/// A plane facing the z axis.
/// </summary>
public readonly static Plane3d UnitZ = new Plane3d(VECTOR3.UnitZ);
/// <summary>
/// The planes position.
/// </summary>
public POINT3 Position;
/// <summary>
/// The planes direction.
/// </summary>
public VECTOR3 Normal;
/// <summary>
/// Create a new plane.
/// </summary>
/// <param name="normal">The planes direction.</param>
public Plane3d(VECTOR3 normal)
{
Normal = normal;
Position = POINT3.Zero;
}
/// <summary>
/// Create a new plane.
/// </summary>
/// <param name="position">The planes position.</param>
/// <param name="normal">The planes direction.</param>
public Plane3d(POINT3 position, VECTOR3 normal)
{
Normal = normal;
Position = position;
}
/// <summary>
/// Create a new plane.
/// </summary>
/// <param name="normal">The planes direction.</param>
/// <param name="distance">The planes distance from the origin.</param>
public Plane3d(VECTOR3 normal, REAL distance)
{
Normal = normal;
Position = POINT3.Zero + Normal * distance;
}
/// <summary>
/// From three noncollinear points (ordered ccw).
/// </summary>
/// <param name="a"></param>
/// <param name="b"></param>
/// <param name="c"></param>
public Plane3d(POINT3 a, POINT3 b, POINT3 c)
{
Normal = VECTOR3.Cross(b - a, c - a);
Normal.Normalize();
Position = POINT3.Zero + Normal * VECTOR3.Dot(Normal, a);
}
/// <summary>
/// The planes distance from the origin.
/// </summary>
public REAL Distance
{
get { return Position.Magnitude; }
}
/// <summary>
/// The planes square distance from the origin.
/// </summary>
public REAL SqrDistance
{
get { return Position.SqrMagnitude; }
}
public static Plane3d operator *(MATRIX3 m, Plane3d plane)
{
return new Plane3d(m * plane.Position, m * plane.Normal);
}
public static Plane3d operator *(MATRIX4 m, Plane3d plane)
{
return new Plane3d(m * plane.Position, m * plane.Normal);
}
public static implicit operator Plane3d(Plane3f plane)
{
return new Plane3d(plane.Position, plane.Normal);
}
/// <summary>
/// Check if the two planes are equal.
/// </summary>
/// <param name="p1">The first plane.</param>
/// <param name="p2">The second plane.</param>
/// <returns>True if the planes are equal.</returns>
public static bool operator ==(Plane3d p1, Plane3d p2)
{
return p1.Position == p2.Position && p1.Normal == p2.Normal;
}
/// <summary>
/// Check if the two planes are not equal.
/// </summary>
/// <param name="p1">The first plane.</param>
/// <param name="p2">The second plane.</param>
/// <returns>True if the planes are not equal.</returns>
public static bool operator !=(Plane3d p1, Plane3d p2)
{
return p1.Position != p2.Position || p1.Normal != p2.Normal;
}
/// <summary>
/// Check if this plane is equal to the other object.
/// </summary>
/// <param name="obj">The other object.</param>
/// <returns>Are these planes equal.</returns>
public override bool Equals(object obj)
{
if (!(obj is Plane3d)) return false;
Plane3d plane = (Plane3d)obj;
return this == plane;
}
/// <summary>
/// Check if this plane is equal to the other plane.
/// </summary>
/// <param name="plane">The other plane.</param>
/// <returns>Are these planes equal.</returns>
public bool Equals(Plane3d plane)
{
return this == plane;
}
/// <summary>
/// The planes hash code.
/// </summary>
/// <returns></returns>
public override int GetHashCode()
{
unchecked
{
int hash = (int)MathUtil.HASH_PRIME_1;
hash = (hash * MathUtil.HASH_PRIME_2) ^ Position.GetHashCode();
hash = (hash * MathUtil.HASH_PRIME_2) ^ Normal.GetHashCode();
return hash;
}
}
/// <summary>
/// The plane as a string.
/// </summary>
/// <returns></returns>
public override string ToString()
{
return string.Format("[Plane3d: Positions{0}, Normal={1}]", Position, Normal);
}
/// <summary>
/// The closest point on the plane to the point p.
/// </summary>
/// <param name="p">The point.</param>
/// <returns>The closest point on the plane.</returns>
public POINT3 Closest(POINT3 p)
{
REAL t = VECTOR3.Dot(Normal, p) - Distance;
return p - t * Normal;
}
}
}
| 30.955665 | 90 | 0.532941 |
2027987f00e20686160ed5645fefb8ffc0f08be8 | 308 | swift | Swift | RCE/Util/UICollectionView+Reusable.swift | MarcSteven/rongcloud-scene-ios-demo | 472310ca289618cefcd2893d52f4fcf3084622bb | [
"Apache-2.0"
] | 7 | 2021-07-08T07:54:04.000Z | 2022-03-18T05:34:59.000Z | RCE/Util/UICollectionView+Reusable.swift | MarcSteven/rongcloud-scene-ios-demo | 472310ca289618cefcd2893d52f4fcf3084622bb | [
"Apache-2.0"
] | 1 | 2021-08-21T08:39:04.000Z | 2021-09-08T08:11:14.000Z | RCE/Util/UICollectionView+Reusable.swift | MarcSteven/rongcloud-scene-ios-demo | 472310ca289618cefcd2893d52f4fcf3084622bb | [
"Apache-2.0"
] | 2 | 2021-11-29T00:04:02.000Z | 2022-03-18T07:51:32.000Z | //
// UICollectionView+Reusable.swift
// RCE
//
// Created by shaoshuai on 2021/7/2.
//
import Reusable
extension UICollectionView {
func cellForItem<T: UICollectionViewCell>(_ indexPath: IndexPath, cellType: T.Type) -> T? where T: Reusable {
return cellForItem(at: indexPath) as? T
}
}
| 20.533333 | 113 | 0.685065 |
4dc402f59d2744fd541d57870ffc2a3edeef7fd9 | 3,005 | cs | C# | samples/WebApp/Controller/DevOptionsController.cs | JTOne123/SoftwarePioniere.Fx | 1ef1df35bae8a912408df43284dd0c0f5146a820 | [
"MIT"
] | null | null | null | samples/WebApp/Controller/DevOptionsController.cs | JTOne123/SoftwarePioniere.Fx | 1ef1df35bae8a912408df43284dd0c0f5146a820 | [
"MIT"
] | 1 | 2018-11-01T16:00:29.000Z | 2018-11-01T16:00:29.000Z | samples/WebApp/Controller/DevOptionsController.cs | JTOne123/SoftwarePioniere.Fx | 1ef1df35bae8a912408df43284dd0c0f5146a820 | [
"MIT"
] | 1 | 2020-06-25T10:40:14.000Z | 2020-06-25T10:40:14.000Z | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using SoftwarePioniere.Builder;
using Swashbuckle.AspNetCore.Annotations;
namespace WebApp.Controller
{
[Route("devoptions")]
[ApiController]
[ApiExplorerSettings(GroupName = "api")]
public class DevOptionsController : ControllerBase
{
[HttpGet]
[AllowAnonymous]
[SwaggerOperation(OperationId = "GetDevOptions")]
public ActionResult<string> GetDevOptions(
[FromServices] IOptionsSnapshot<DevOptions> options
, [FromServices] IWebHostEnvironment environment)
{
if (!environment.IsDevelopment())
return BadRequest("only in development enviroment");
var o = options.Value;
return JsonConvert.SerializeObject(o, Formatting.Indented);
}
[HttpPost("toggle/getwithbadrequest")]
[AllowAnonymous]
[SwaggerOperation(OperationId = "PostToggleDevOptionsGetWithBadRequest")]
public ActionResult<string> PostToggleDevOptionsGetWithBadRequest(
[FromServices] DevOptionsConfigurationProvider provider
, [FromServices] IWebHostEnvironment environment
)
{
if (!environment.IsDevelopment())
return BadRequest("only in development enviroment");
provider.SetOption(x => x.GetWithBadRequest = !x.GetWithBadRequest);
return $"GetWithBadRequest: {provider.DevOptions.GetWithBadRequest}";
}
[HttpPost("toggle/postwithbadrequest")]
[AllowAnonymous]
[SwaggerOperation(OperationId = "PostToggleDevOptionsPostWithBadRequest")]
public ActionResult<string> PostToggleDevOptionsPostWithBadRequest(
[FromServices] DevOptionsConfigurationProvider provider
, [FromServices] IWebHostEnvironment environment
)
{
if (!environment.IsDevelopment())
return BadRequest("only in development enviroment");
provider.SetOption(x => x.PostWithBadRequest = !x.PostWithBadRequest);
return $"PostWithBadRequest: {provider.DevOptions.PostWithBadRequest}";
}
[HttpPost("toggle/raisecommandfailed")]
[AllowAnonymous]
[SwaggerOperation(OperationId = "PostToggleDevOptionsRaiseCommandFailed")]
public ActionResult<string> PostToggleDevOptionsRaiseCommandFailed(
[FromServices] DevOptionsConfigurationProvider provider
, [FromServices] IWebHostEnvironment environment)
{
if (!environment.IsDevelopment())
return BadRequest("only in development enviroment");
provider.SetOption(x => x.RaiseCommandFailed = !x.RaiseCommandFailed);
return $"RaiseCommandFailed: {provider.DevOptions.RaiseCommandFailed}";
}
}
}
| 38.525641 | 83 | 0.67787 |
81cac5fb621f54aab968dbdd4dc1085d64a7cee1 | 329 | php | PHP | src/Http/Middleware/Authenticate.php | irongate/chief | 7b11e29f2d9b5869508a8a9f02a5f2a86f1274a8 | [
"MIT"
] | 5 | 2020-01-01T16:17:22.000Z | 2020-09-23T19:38:35.000Z | src/Http/Middleware/Authenticate.php | irongate/chief | 7b11e29f2d9b5869508a8a9f02a5f2a86f1274a8 | [
"MIT"
] | 7 | 2022-02-08T13:16:24.000Z | 2022-03-27T17:50:35.000Z | src/Http/Middleware/Authenticate.php | irongate/chief | 7b11e29f2d9b5869508a8a9f02a5f2a86f1274a8 | [
"MIT"
] | 1 | 2020-06-19T09:52:53.000Z | 2020-06-19T09:52:53.000Z | <?php
namespace IronGate\Chief\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as IlluminateAuthenticate;
class Authenticate extends IlluminateAuthenticate
{
protected function authenticate($request, array $guards)
{
parent::authenticate($request, $guards);
sync_user_timezone();
}
}
| 20.5625 | 70 | 0.741641 |
298dd4e4f175aa55bbfdc52b4f262a2fa9cb592e | 5,213 | rs | Rust | jni-android-sys/src/generated/api-level-29/android/graphics/SweepGradient.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | jni-android-sys/src/generated/api-level-29/android/graphics/SweepGradient.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | jni-android-sys/src/generated/api-level-29/android/graphics/SweepGradient.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | // WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-graphics-SweepGradient"))]
__jni_bindgen! {
/// public class [SweepGradient](https://developer.android.com/reference/android/graphics/SweepGradient.html)
///
/// Required feature: android-graphics-SweepGradient
public class SweepGradient ("android/graphics/SweepGradient") extends crate::android::graphics::Shader {
/// [SweepGradient](https://developer.android.com/reference/android/graphics/SweepGradient.html#SweepGradient(float,%20float,%20int%5B%5D,%20float%5B%5D))
pub fn new_float_float_int_array_float_array<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: f32, arg1: f32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::IntArray>>, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::FloatArray>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::graphics::SweepGradient>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/SweepGradient", java.flags == PUBLIC, .name == "<init>", .descriptor == "(FF[I[F)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/SweepGradient\0", "<init>\0", "(FF[I[F)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [SweepGradient](https://developer.android.com/reference/android/graphics/SweepGradient.html#SweepGradient(float,%20float,%20long%5B%5D,%20float%5B%5D))
pub fn new_float_float_long_array_float_array<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: f32, arg1: f32, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::LongArray>>, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::FloatArray>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::graphics::SweepGradient>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/SweepGradient", java.flags == PUBLIC, .name == "<init>", .descriptor == "(FF[J[F)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/SweepGradient\0", "<init>\0", "(FF[J[F)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [SweepGradient](https://developer.android.com/reference/android/graphics/SweepGradient.html#SweepGradient(float,%20float,%20int,%20int))
pub fn new_float_float_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: f32, arg1: f32, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::graphics::SweepGradient>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/SweepGradient", java.flags == PUBLIC, .name == "<init>", .descriptor == "(FFII)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/SweepGradient\0", "<init>\0", "(FFII)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [SweepGradient](https://developer.android.com/reference/android/graphics/SweepGradient.html#SweepGradient(float,%20float,%20long,%20long))
pub fn new_float_float_long_long<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: f32, arg1: f32, arg2: i64, arg3: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::graphics::SweepGradient>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/graphics/SweepGradient", java.flags == PUBLIC, .name == "<init>", .descriptor == "(FFJJ)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/graphics/SweepGradient\0", "<init>\0", "(FFJJ)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
}
}
| 100.25 | 514 | 0.688279 |
da1852e7aa1cca33ef118e654d88f2cac68d134a | 4,502 | dart | Dart | example/hooks/over_react_redux/store.dart | hunterbreathat-wk/over_react | aec3dbc2faefd338d45a5ae810305f255095e59b | [
"Apache-2.0"
] | 430 | 2016-10-24T16:00:10.000Z | 2022-03-30T15:36:35.000Z | example/hooks/over_react_redux/store.dart | hunterbreathat-wk/over_react | aec3dbc2faefd338d45a5ae810305f255095e59b | [
"Apache-2.0"
] | 731 | 2016-10-24T15:23:21.000Z | 2022-03-30T21:39:27.000Z | example/hooks/over_react_redux/store.dart | hunterbreathat-wk/over_react | aec3dbc2faefd338d45a5ae810305f255095e59b | [
"Apache-2.0"
] | 70 | 2016-10-24T15:14:14.000Z | 2022-01-18T05:29:01.000Z | // Copyright 2021 Workiva Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
import 'package:redux/redux.dart';
import 'redux_actions.dart';
int _resetCounterReducer(int currentCount, ResetAction action){
return 0;
}
/////////////////////////////// STORE 1 "Counter" ///////////////////////////////
// To use in tests, copy-paste:
// Store store1 = Store<CounterState>(counterStateReducer, initialState: CounterState(count: initialValue));
class CounterState {
final int count;
final String name;
final DartModelCounter modelCount;
CounterState({
this.count = 0,
this.name = 'Counter',
DartModelCounter modelCount,
}) : this.modelCount = modelCount ?? DartModelCounter(count: count);
@override
toString() => 'CounterState:${{
'count': count,
'name': name,
}}';
}
class DartModelCounter {
final int count;
final String name;
DartModelCounter({
this.count = 0,
this.name = 'Dart Model Counter',
});
@override
toString() => 'DartModelCounter:${{
'count': count,
'name': name,
}}';
}
int _counterDecrementReducer(int currentCount, DecrementAction action) {
return currentCount - (action.value as int ?? 1);
}
int _counterIncrementReducer(int currentCount, IncrementAction action) {
return currentCount + (action.value as int ?? 1);
}
Reducer<int> counterActionsReducer = combineReducers<int>([
TypedReducer<int, IncrementAction>(_counterIncrementReducer),
TypedReducer<int, DecrementAction>(_counterDecrementReducer),
TypedReducer<int, ResetAction>(_resetCounterReducer),
]);
Reducer<DartModelCounter> modelCounterActionsReducer = combineReducers<DartModelCounter>([
TypedReducer<DartModelCounter, ResetAction>((currentModel, action) {
return DartModelCounter(count: 0);
}),
TypedReducer<DartModelCounter, IncrementModelCountAction>((currentModel, action) {
return DartModelCounter(count: currentModel.count + (action.value as int ?? 1));
}),
TypedReducer<DartModelCounter, DecrementModelCountAction>((currentModel, action) {
return DartModelCounter(count: currentModel.count - (action.value as int ?? 1));
}),
]);
CounterState counterStateReducer(CounterState state, action) => CounterState(
count: counterActionsReducer(state.count, action),
modelCount: modelCounterActionsReducer(state.modelCount, action),
);
/////////////////////////////// STORE 2 "BigCounter" ///////////////////////////////
// To use in tests, copy-paste:
// Store store2 = Store<BigCounterState>(bigCounterStateReducer, initialState: BigCounterState(bigCount: initialValue));
class BigCounterState {
final int bigCount;
final String name;
BigCounterState({
this.bigCount = 0,
this.name = 'BigCounter',
});
}
int _bigCounterDecrementReducer(int currentCount, DecrementAction action) {
return currentCount - (action?.value != null ? action.value as int : 100);
}
int _bigCounterIncrementReducer(int currentCount, IncrementAction action) {
return currentCount + (action?.value != null ? action.value as int : 100);
}
Reducer<int> bigCounterActionsReducer = combineReducers<int>([
TypedReducer<int, IncrementAction>(_bigCounterIncrementReducer),
TypedReducer<int, DecrementAction>(_bigCounterDecrementReducer),
TypedReducer<int, ResetAction>(_resetCounterReducer),
]);
BigCounterState bigCounterStateReducer(BigCounterState state, action) => BigCounterState(
bigCount: bigCounterActionsReducer(state.bigCount, action),
);
/////////////////////////////// "ImpureCounter" ///////////////////////////////
class ImpureCounterState {
int count;
String name;
ImpureCounterState({
this.count = 0,
this.name = 'Counter',
});
@override
toString() => 'CounterState:${{
'count': count,
'name': name,
}}';
}
ImpureCounterState impureCounterStateReducer(
ImpureCounterState state, action) =>
// This is the impure part: modify the state directly
state..count = counterActionsReducer(state.count, action);
| 31.048276 | 120 | 0.702799 |
245471c58efa471f96ccc3933376206385777bf9 | 1,589 | rs | Rust | src/closure_mr.rs | dermesser/localmr | e846191e7a0de7fd51cb86e7ab20e00c94f6974f | [
"MIT"
] | null | null | null | src/closure_mr.rs | dermesser/localmr | e846191e7a0de7fd51cb86e7ab20e00c94f6974f | [
"MIT"
] | null | null | null | src/closure_mr.rs | dermesser/localmr | e846191e7a0de7fd51cb86e7ab20e00c94f6974f | [
"MIT"
] | null | null | null | //! A MapReducer that uses supplied map()/reduce() functions.
use mapreducer::{Mapper, Reducer, Sharder, MapperF, ReducerF, SharderF, _std_shard};
use record_types::{Record, MultiRecord, MEmitter, REmitter};
/// This type implements the MapReducer trait. You can use it to provide your own functions to a
/// MapReduce process. If you need more flexibility, however, you may want to simply implement your
/// own type that fulfills MapReducer.
pub struct ClosureMapReducer {
mapper: MapperF,
reducer: ReducerF,
sharder: SharderF,
}
impl Clone for ClosureMapReducer {
fn clone(&self) -> ClosureMapReducer {
ClosureMapReducer {
mapper: self.mapper,
reducer: self.reducer,
sharder: self.sharder,
}
}
}
impl ClosureMapReducer {
/// Create a new MapReducer from the supplied functions.
pub fn new(mapper: MapperF, reducer: ReducerF) -> ClosureMapReducer {
ClosureMapReducer {
mapper: mapper,
reducer: reducer,
sharder: _std_shard,
}
}
/// Set the function used for sharding.
pub fn set_sharder(&mut self, s: SharderF) {
self.sharder = s;
}
}
impl Mapper for ClosureMapReducer {
fn map(&mut self, e: &mut MEmitter, r: Record) {
(self.mapper)(e, r)
}
}
impl Reducer for ClosureMapReducer {
fn reduce(&mut self, e: &mut REmitter, r: MultiRecord) {
(self.reducer)(e, r)
}
}
impl Sharder for ClosureMapReducer {
fn shard(&mut self, n: usize, k: &String) -> usize {
(self.sharder)(n, k)
}
}
| 28.890909 | 99 | 0.641284 |
6b78c3b42eb35cc954e2aaf99c807755c7cff021 | 373 | js | JavaScript | src/router/index.js | bakkujp/vue-prac | ca21ead288393c3dd5c28dbb108bc5105bb48f7c | [
"MIT"
] | null | null | null | src/router/index.js | bakkujp/vue-prac | ca21ead288393c3dd5c28dbb108bc5105bb48f7c | [
"MIT"
] | 4 | 2021-03-10T11:39:21.000Z | 2022-02-18T23:11:31.000Z | src/router/index.js | bakkujp/vue-practical | ca21ead288393c3dd5c28dbb108bc5105bb48f7c | [
"MIT"
] | null | null | null | import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
export default new Router({
routes: [
{
path: '/',
name: 'Employee',
default: true,
component: () => import('@/components/Employee')
},
{
path: '/view/:id',
name: 'EmployeeView',
component: () => import('@/components/EmployeeView')
}
]
})
| 17.761905 | 58 | 0.546917 |
782cb9f9385039a7c572f7fe309740ee6a79fd97 | 812 | dart | Dart | packages/weather_repository/test/remote/meta_weather_api_url_builder_test.dart | EdsonBueno/very_good_weather | 1fc64e0479bd028a038026664d8aeaa9dc39ab3e | [
"MIT"
] | 3 | 2021-06-29T14:56:57.000Z | 2021-11-23T10:01:47.000Z | packages/weather_repository/test/remote/meta_weather_api_url_builder_test.dart | EdsonBueno/very_good_weather | 1fc64e0479bd028a038026664d8aeaa9dc39ab3e | [
"MIT"
] | null | null | null | packages/weather_repository/test/remote/meta_weather_api_url_builder_test.dart | EdsonBueno/very_good_weather | 1fc64e0479bd028a038026664d8aeaa9dc39ab3e | [
"MIT"
] | 1 | 2021-09-02T00:14:33.000Z | 2021-09-02T00:14:33.000Z | import 'package:test/test.dart';
import 'package:weather_repository/src/remote/meta_weather_api_url_builder.dart';
void main() {
group('MetaWeatherApiUrlBuilder', () {
const baseUrl = 'https://www.metaweather.com/api/location';
late MetaWeatherApiUrlBuilder urlBuilder;
setUp(() {
urlBuilder = MetaWeatherApiUrlBuilder(baseUrl: baseUrl);
});
test('buildGetLocationUrl returns the correct URL', () {
const query = 'san';
final url = urlBuilder.buildGetLocationUrl(query);
expect(url, '$baseUrl/search/?query=$query');
});
test('buildGet5DayWeatherReportUrl returns the correct URL', () {
const locationId = 85943;
final url = urlBuilder.buildGet5DayWeatherReportUrl(locationId);
expect(url, '$baseUrl/$locationId');
});
});
}
| 26.193548 | 81 | 0.682266 |
e1cfe622d9505278774dcb200f9261159f3f8e29 | 3,892 | dart | Dart | src/lib/app/phrases_group_editor_page.dart | kugjo/va | 66b4b25d276a3276f61a512ffa213c88978e1d92 | [
"MIT"
] | 9 | 2020-04-30T15:58:20.000Z | 2021-03-26T14:31:19.000Z | src/lib/app/phrases_group_editor_page.dart | kugjo/va | 66b4b25d276a3276f61a512ffa213c88978e1d92 | [
"MIT"
] | 1 | 2020-05-03T21:04:11.000Z | 2020-05-12T19:05:15.000Z | src/lib/app/phrases_group_editor_page.dart | kugjo/va | 66b4b25d276a3276f61a512ffa213c88978e1d92 | [
"MIT"
] | 2 | 2020-04-30T16:10:09.000Z | 2020-04-30T16:28:29.000Z | import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:vocabulary_advancer/app/i18n/strings.g.dart';
import 'package:vocabulary_advancer/app/phrases_group_editor_vm.dart';
import 'package:vocabulary_advancer/app/services/dialogs.dart';
import 'package:vocabulary_advancer/app/themes/va_theme.dart';
class PhraseGroupEditorPage extends StatefulWidget {
PhraseGroupEditorPage([int? groupId]) : groupId = groupId;
final int? groupId;
@override
_PhraseGroupEditorPageState createState() => _PhraseGroupEditorPageState();
}
class _PhraseGroupEditorPageState extends State<PhraseGroupEditorPage> {
late PhraseGroupEditorViewModel _vm;
late FocusNode _focusNode;
@override
void initState() {
super.initState();
_vm = PhraseGroupEditorViewModel(widget.groupId)..init();
_focusNode = FocusNode(debugLabel: 'Group Name')..requestFocus();
}
@override
void dispose() {
_vm.close();
super.dispose();
}
@override
Widget build(BuildContext context) =>
BlocBuilder<PhraseGroupEditorViewModel, PhraseGroupEditorModel>(
bloc: _vm,
builder: (context, model) => Scaffold(
appBar: AppBar(
automaticallyImplyLeading: !kIsWeb,
title: Text(
model.isNewGroup
? Translations.of(context).titles.AddGroup
: Translations.of(context).titles.EditGroup,
style: VATheme.of(context).textHeadline5),
actions: [
if (!model.isNewGroup)
IconButton(
icon: Icon(Icons.delete),
color: VATheme.of(context).colorAttention,
onPressed: () async {
final dialog = ConfirmDialog();
final confirmed = await dialog.showModal(
context: context,
title: Translations.of(context).titles.Confirm,
messages: [Translations.of(context).text.Confirmation.DeleteGroup],
confirmText: Translations.of(context).labels.Yes,
declineText: Translations.of(context).labels.No,
isDestructive: true);
if (confirmed) {
_vm.deleteAndClose();
}
})
],
),
floatingActionButton: FloatingActionButton(
tooltip: Translations.of(context).labels.SaveAndClose,
onPressed: _vm.tryApplyAndClose,
child: Icon(Icons.save)),
body: SingleChildScrollView(
child: Form(
key: _vm.formKey,
child: Container(
alignment: Alignment.topCenter,
padding: const EdgeInsets.all(8.0),
child: Column(
children: [
TextFormField(
decoration:
InputDecoration(labelText: Translations.of(context).labels.GroupName),
initialValue: model.initialGroupName,
validator: (v) => _vm.validatorForName(
v,
Translations.of(context).validationMessages.GroupNameRequired,
Translations.of(context).validationMessages.GroupExists),
onChanged: _vm.updateName,
focusNode: _focusNode,
style: VATheme.of(context).textBodyText1)
],
),
),
))));
}
| 40.968421 | 100 | 0.536742 |
95fa0d74bfda20ebf6c1d07901dcd6c2bf504031 | 1,494 | rb | Ruby | Formula/xa.rb | rchaput/homebrew-core | 52310a20bb5d0b68fc7fc7f5e995d76646b5fdae | [
"BSD-2-Clause"
] | 13 | 2020-07-24T18:19:19.000Z | 2022-02-11T04:02:24.000Z | Formula/xa.rb | rchaput/homebrew-core | 52310a20bb5d0b68fc7fc7f5e995d76646b5fdae | [
"BSD-2-Clause"
] | 8 | 2021-04-16T13:14:29.000Z | 2021-04-16T13:14:31.000Z | Formula/xa.rb | rchaput/homebrew-core | 52310a20bb5d0b68fc7fc7f5e995d76646b5fdae | [
"BSD-2-Clause"
] | 5 | 2020-01-20T06:41:25.000Z | 2021-11-03T16:46:42.000Z | class Xa < Formula
desc "6502 cross assembler"
homepage "https://www.floodgap.com/retrotech/xa/"
url "https://www.floodgap.com/retrotech/xa/dists/xa-2.3.12.tar.gz"
sha256 "f8fd1536012d676fc6cbfcdd6a91793e564c89b6ef747f8db8f467c178fb0704"
license "GPL-2.0"
livecheck do
url :homepage
regex(/href\s*?=.*?xa[._-]v?(\d+(?:\.\d+)+)\.t/i)
end
bottle do
sha256 cellar: :any_skip_relocation, arm64_monterey: "4fb014b2c342621cd1b03b8202f632ae9a0690d286fc78fb8dce1556844bbb2f"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "fc6dab8458fcfa009b122fc631afc3b90113790bc873c8d7b7f2bbae458fa845"
sha256 cellar: :any_skip_relocation, monterey: "0360a63f87c0e768d48dda3649870445a91972e671af9b3a9fdf1694f6518f3f"
sha256 cellar: :any_skip_relocation, big_sur: "b7667b17bbb8ef5cfbe9863aaaff0ab4044569ee1ef8a822a316ba4180762a7f"
sha256 cellar: :any_skip_relocation, catalina: "a76d073421afe9f5116e663d310ff86207aacefe4e9192b2bf3c3fb827e1429a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "8b0a9263e591ffc61b1a0e781c258a3a9446d0003267914769cd4d5c1d02b308"
end
def install
system "make", "CC=#{ENV.cc}",
"CFLAGS=#{ENV.cflags}",
"DESTDIR=#{prefix}",
"install"
end
test do
(testpath/"foo.a").write "jsr $ffd2\n"
system "#{bin}/xa", "foo.a"
code = File.open("a.o65", "rb") { |f| f.read.unpack("C*") }
assert_equal [0x20, 0xd2, 0xff], code
end
end
| 40.378378 | 123 | 0.71419 |
bf299a479e9b2afe301b426832c24b1b3f4ea5a3 | 303 | lua | Lua | Max Stats (9).lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 70 | 2021-02-09T17:21:32.000Z | 2022-03-28T12:41:42.000Z | Max Stats (9).lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 4 | 2021-08-19T22:05:58.000Z | 2022-03-19T18:58:01.000Z | Max Stats (9).lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 325 | 2021-02-26T22:23:41.000Z | 2022-03-31T19:36:12.000Z | plr = game.Players.LocalPlayer
plr.Stats.Stamina.Value=1250
plr.Stats.Level.Value=13337
plr.Stats.Strength.Value=26664
plr.Stats.Psychic.Value=26664
plr.Stats.Speed.Value=26664
plr.Stats.Durability.Value=26664
wait(1)
plr.Stats.LevelPoints.Value=0
plr.Stats.Kills.Value=1337
plr.Stats.Experience.Value=0 | 27.545455 | 32 | 0.825083 |
c954a197ec5f97098352b921198e3c0ef8e24d3a | 2,530 | asm | Assembly | libsrc/graphics/dfill2.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 38 | 2021-06-18T12:56:15.000Z | 2022-03-12T20:38:40.000Z | libsrc/graphics/dfill2.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 2 | 2021-06-20T16:28:12.000Z | 2021-11-17T21:33:56.000Z | libsrc/graphics/dfill2.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 6 | 2021-06-18T18:18:36.000Z | 2021-12-22T08:01:32.000Z | ; Z88DK Small C+ Graphics Functions
; Fills a screen area
; Original code by Massimo Morra (Thanks!)
; Ported by Stefano Bodrato
;
; Feb 2000 - Platform dependent stack usage
; Stack usage should be maxy*8 (512 bytes for the Z88)
;
; Since some platform (expecially the TI83) has very little stack space,
; we undersize it; this will cause a crash if a big area is filled.
;
; GENERIC VERSION
; IT DOESN'T MAKE USE OF ALTERNATE REGISTERS
; IT IS BASED ON "pointxy" and "plotpixel"
;
; $Id: dfill2.asm,v 1.4 2016-04-13 21:09:09 dom Exp $
;
INCLUDE "graphics/grafix.inc"
SECTION code_graphics
PUBLIC do_fill
EXTERN pointxy
EXTERN plotpixel
;ix points to the table on stack (above)
;Entry:
; d=x0 e=y0
.do_fill
ld hl,-maxy*3 ; create buffer 1 on stack
add hl,sp ; The stack size depends on the display height.
ld sp,hl ; The worst case is when we paint a blank
push hl ; display starting from the center.
pop ix
ld (hl),d
inc hl
ld (hl),e
inc hl
ld (hl),255
ld hl,-maxy*3 ; create buffer 2 on stack
add hl,sp
ld sp,hl
.loop push ix
push hl
call cfill
pop ix
pop hl
;.asave ld a,0
;and a
push de
pop af
;;ex af,af ; Restore the Z flag
;;push af
;;ex af,af
;;pop af
jr nz,loop
ld hl,maxy*6 ; restore the stack pointer (parm*2)
add hl,sp
ld sp,hl
ret
.cfill
;sub a,a ; Reset the Z flag
;ex af,af ; and save it
xor a
push af
pop de
;ld (asave+1),a
.next ld a,(ix+0)
cp 255 ; stopper ?
ret z ; return
ld b,a
ld c,(ix+1)
push bc
or a
jr z,l1
dec b
call doplot
pop bc
push bc
.l1
ld a,b
cp maxy-1
jr z,l2
inc b
call doplot
pop bc
push bc
.l2
ld a,c
or a
jr z,l3
dec c
call doplot
.l3
pop bc
ld a,c
cp maxx-1
jr z,l4
inc c
call doplot
.l4
inc ix
inc ix
jr next
.doplot
push bc
ld (hl),255
push hl
ld l,b
ld h,c
;call pixeladdress ; bc must be saved by pixeladdress !
push de
call pointxy
pop de
pop hl
jr z,dontret
pop af
ret
.dontret
or b ; Z flag set...
; or 1
; and a
;ld (asave+1),a
push af
;pop de
; ld (de),a
push hl
ld l,b
ld h,c
call plotpixel
pop hl
pop de
pop bc
ld (hl),b
inc hl
ld (hl),c
inc hl
ld (hl),255
;ex af,af ; Save the Z flag
xor a
ret
SECTION bss_graphics
.spsave defw 0
| 13.825137 | 72 | 0.578656 |
53616cb33ff2286143219ac0727fb91112d6fbd5 | 709 | sql | SQL | webserver/app-moe/sql/Archive/3.4.x/3.4.10/PHPOE-2423/commit.sql | tharangar/k8s-webserver | c0701842c711b93c2a65214adbbeb0de02f1e81a | [
"Apache-2.0"
] | 1 | 2019-04-23T19:05:24.000Z | 2019-04-23T19:05:24.000Z | webserver/app-moe/sql/Archive/3.4.x/3.4.10/PHPOE-2423/commit.sql | tharangar/k8s-webserver | c0701842c711b93c2a65214adbbeb0de02f1e81a | [
"Apache-2.0"
] | null | null | null | webserver/app-moe/sql/Archive/3.4.x/3.4.10/PHPOE-2423/commit.sql | tharangar/k8s-webserver | c0701842c711b93c2a65214adbbeb0de02f1e81a | [
"Apache-2.0"
] | null | null | null | INSERT INTO `db_patches` VALUES ('PHPOE-2423', NOW());
-- backing up
CREATE TABLE `z2423_assessment_items` LIKE `assessment_items`;
INSERT INTO `z2423_assessment_items` SELECT * FROM `assessment_items` WHERE 1;
CREATE TABLE `z2423_assessment_item_results` LIKE `assessment_item_results`;
INSERT INTO `z2423_assessment_item_results` SELECT * FROM `assessment_item_results` WHERE 1;
-- deleting not visible assessment items and their associated results
DELETE FROM assessment_items WHERE visible = 0;
DELETE FROM assessment_item_results WHERE NOT EXISTS (
SELECT 1 FROM assessment_items WHERE assessment_items.id = assessment_item_results.assessment_item_id
);
ALTER TABLE `assessment_items` DROP `visible`; | 47.266667 | 102 | 0.819464 |
f43564e0abc2501134fa889dbd18e6b7b8e5391d | 196 | sql | SQL | skrypty_sql_pl_sql/host_sql/migawka.sql | Rafal14/Rozproszone_bazy_danych | 516238fd7d87fd0564b26f148208395bd63e5303 | [
"MIT"
] | null | null | null | skrypty_sql_pl_sql/host_sql/migawka.sql | Rafal14/Rozproszone_bazy_danych | 516238fd7d87fd0564b26f148208395bd63e5303 | [
"MIT"
] | null | null | null | skrypty_sql_pl_sql/host_sql/migawka.sql | Rafal14/Rozproszone_bazy_danych | 516238fd7d87fd0564b26f148208395bd63e5303 | [
"MIT"
] | null | null | null | --migawka
CREATE MATERIALIZED VIEW mv_ubezpieczenia
BUILD IMMEDIATE
REFRESH FORCE
START WITH SYSDATE + (1/(24*60*3))
NEXT SYSDATE + (1/(24*60*12))
AS SELECT * FROM ubezpieczenia@VM_LINK; | 21.777778 | 42 | 0.729592 |
7d1432fd427f6593401dd65793b026feb0029cbc | 1,527 | rb | Ruby | spec/openhbx/cv2/irs_group_spec.rb | ideacrew/openhbx_cv2 | d774b23f5f5f431142eb2ed7c782f86cc5d0ad36 | [
"Unlicense",
"MIT"
] | null | null | null | spec/openhbx/cv2/irs_group_spec.rb | ideacrew/openhbx_cv2 | d774b23f5f5f431142eb2ed7c782f86cc5d0ad36 | [
"Unlicense",
"MIT"
] | 1 | 2017-08-08T16:14:43.000Z | 2017-08-08T16:14:43.000Z | spec/openhbx/cv2/irs_group_spec.rb | ideacrew/openhbx_cv2 | d774b23f5f5f431142eb2ed7c782f86cc5d0ad36 | [
"Unlicense",
"MIT"
] | null | null | null | require "spec_helper"
describe Openhbx::Cv2::IrsGroup, "given a sample xml" do
let(:irs_group_id) { "exchange assigned irs_group_id" }
let(:primary_family_member_id) { "primary_family_member_id" }
let(:tax_household_id_1) { "a tax household id" }
let(:effective_start_date) { "20060302" }
let(:effective_end_date) { "20040302" }
let(:input_xml) {
<<-XMLDOC
<?xml version='1.0' encoding='utf-8' ?>
<irs_group xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://openhbx.org/api/terms/1.0'>
<id>
<id>#{irs_group_id}</id>
</id>
<tax_household_ids>
<tax_household_id>
<id>#{tax_household_id_1}</id>
</tax_household_id>
<tax_household_id>
<id></id>
</tax_household_id>
</tax_household_ids>
<effective_start_date>#{effective_start_date}</effective_start_date>
<effective_end_date>#{effective_end_date}</effective_end_date>
</irs_group>
XMLDOC
}
subject { Openhbx::Cv2::IrsGroup.parse(input_xml, single: true) }
it "has the correct id" do
expect(subject.id).to eq irs_group_id
end
it "has the correct effective_start_date" do
expect(subject.effective_start_date).to eq effective_start_date
end
it "has the correct effective_end_date" do
expect(subject.effective_end_date).to eq effective_end_date
end
it "has the 2 tax household ids" do
expect(subject.tax_household_ids.length).to eq 2
end
it "has the correct first tax household id" do
expect(subject.tax_household_ids.first).to eq tax_household_id_1
end
end
| 28.811321 | 106 | 0.722986 |
f477b060aaf09cfb1c6ae0fcf1e67b6350f3ff7d | 10,403 | ts | TypeScript | docs/angular/plan/Planner.component.ts | fzan/bosket | 2f480b8b5d7441e0772c6bb3188ff5b9e96d2094 | [
"MIT"
] | 484 | 2017-05-18T11:36:47.000Z | 2022-01-17T19:54:25.000Z | docs/angular/plan/Planner.component.ts | fzan/bosket | 2f480b8b5d7441e0772c6bb3188ff5b9e96d2094 | [
"MIT"
] | 60 | 2017-09-21T09:17:50.000Z | 2019-07-19T19:14:14.000Z | docs/angular/plan/Planner.component.ts | fzan/bosket | 2f480b8b5d7441e0772c6bb3188ff5b9e96d2094 | [
"MIT"
] | 53 | 2017-08-24T17:58:39.000Z | 2021-06-04T03:20:41.000Z | import { Component, Input, ChangeDetectionStrategy, ComponentFactoryResolver, NgZone,
SimpleChanges, Type, ViewChild, ElementRef, ViewContainerRef, ChangeDetectorRef } from "@angular/core"
import { css } from "@bosket/tools"
import { DisplayComponent } from "@bosket/angular"
import "self/common/styles/Planner.css"
type Plan = {
title: string,
content?: Type<any>,
subs?: Plan[],
editLink?: string
}
@Component({
selector: "planner-content",
template:`
<div [class]="depth === 1 ? 'chapter' : 'planner-section'">
<h1 *ngIf="depth === 1" [id]="id()" class="Planner heading">
<span>{{ plan.title }}</span>
<span class="icons">
<a [href]="'#' + id() "><i class="fa fa-link"></i></a>
<a *ngIf="plan.editLink" [href]="plan.editLink" target="_blank" rel=" noopener noreferrer">
<i class="fa fa-pencil"></i>
</a>
</span>
</h1>
<h2 *ngIf="depth === 2" [id]="id()" class="Planner heading">
<span>{{ plan.title }}</span>
<span class="icons">
<a [href]="'#' + id() "><i class="fa fa-link"></i></a>
<a *ngIf="plan.editLink" [href]="plan.editLink" target="_blank" rel=" noopener noreferrer">
<i class="fa fa-pencil"></i>
</a>
</span>
</h2>
<h3 *ngIf="depth === 3" [id]="id()" class="Planner heading">
<span>{{ plan.title }}</span>
<span class="icons">
<a [href]="'#' + id() "><i class="fa fa-link"></i></a>
<a *ngIf="plan.editLink" [href]="plan.editLink" target="_blank" rel=" noopener noreferrer">
<i class="fa fa-pencil"></i>
</a>
</span>
</h3>
<h4 *ngIf="depth === 4" [id]="id()" class="Planner heading">
<span>{{ plan.title }}</span>
<span class="icons">
<a [href]="'#' + id() "><i class="fa fa-link"></i></a>
<a *ngIf="plan.editLink" [href]="plan.editLink" target="_blank" rel=" noopener noreferrer">
<i class="fa fa-pencil"></i>
</a>
</span>
</h4>
<h5 *ngIf="depth === 5" [id]="id()" class="Planner heading">
<span>{{ plan.title }}</span>
<span class="icons">
<a [href]="'#' + id() "><i class="fa fa-link"></i></a>
<a *ngIf="plan.editLink" [href]="plan.editLink" target="_blank" rel=" noopener noreferrer">
<i class="fa fa-pencil"></i>
</a>
</span>
</h5>
<h6 *ngIf="depth === 6" [id]="id()" class="Planner heading">
<span>{{ plan.title }}</span>
<span class="icons">
<a [href]="'#' + id() "><i class="fa fa-link"></i></a>
<a *ngIf="plan.editLink" [href]="plan.editLink" target="_blank" rel=" noopener noreferrer">
<i class="fa fa-pencil"></i>
</a>
</span>
</h6>
<p *ngIf="depth > 6" [id]="id()" class="Planner heading">
<span>{{ plan.title }}</span>
<span class="icons">
<a [href]="'#' + id() "><i class="fa fa-link"></i></a>
<a *ngIf="plan.editLink" [href]="plan.editLink" target="_blank" rel=" noopener noreferrer">
<i class="fa fa-pencil"></i>
</a>
</span>
</p>
<div #content></div>
<div *ngIf="plan.subs">
<div *ngFor="let s of plan.subs">
<planner-content [plan]="s" [prefix]="prefix ? prefix+'#'+plan.title : plan.title" [depth]="depth + 1"></planner-content>
</div>
</div>
</div>`,
changeDetection: ChangeDetectionStrategy.OnPush
})
export class PlannerContent {
@Input() plan: Plan
@Input() prefix: string = ""
@Input() depth: number = 1
@ViewChild("content", { read: ViewContainerRef } ) content : ViewContainerRef
constructor(private _componentFactoryResolver: ComponentFactoryResolver, private _cdRef: ChangeDetectorRef) { }
ngOnChanges(changes: SimpleChanges) {
this.refresh()
}
ngAfterViewInit() {
this.refresh()
}
refresh() {
if(!this.plan || !this.content || !this.plan.content) return
this.content.clear()
let componentFactory = this._componentFactoryResolver.resolveComponentFactory(this.plan.content)
let componentRef = this.content.createComponent(componentFactory)
setTimeout(() => this._cdRef.markForCheck(), 0)
}
id() {
return this.prefix ? `${this.prefix}#${this.plan.title}` : this.plan.title
}
}
@Component({
template: `<a [href]="href()">{{ item.title }}</a>`,
changeDetection: ChangeDetectionStrategy.OnPush
})
export class PlannerInjector implements DisplayComponent<Plan> {
@Input() item : Plan
@Input() inputs: any
href() {
return `${this.inputs.ancestors.map(a => "#" + a.title).join("")}#${this.item.title}`
}
}
@Component({
selector: "planner",
template: `
<div class="Planner">
<div class="Planner opener" #opener>
<i class="fa" [ngClass]="{
'fa-bars': !opened,
'fa-times': opened
}"></i>
</div>
<aside #sidePanel class="Planner side-panel" [ngClass]="{ opened: opened }">
<div><h1>Table of contents</h1></div>
<TreeView
[model]="plan"
[css]="{ TreeView: 'PlannerTree' }"
category="subs"
[(selection)]="selection"
[strategies]="{ selection: ['ancestors'], click: ['select'], fold: [ foldDepth(), 'not-selected', 'no-child-selection' ]}"
[openerOpts]="{ position: 'none' }"
[displayComponent]="component">
</TreeView>
</aside>
<div #content class="Planner content">
<div *ngFor="let p of plan">
<planner-content [plan]="p"></planner-content>
</div>
</div>
</div>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
host: {
'(document:scroll)': 'onDocumentScroll($event)',
'(document:click)': 'onDocumentClick($event)'
}
})
export class Planner {
@Input() plan : Object
@Input() maxDepth : number = 0
@Input() sticky : boolean = false
@ViewChild("sidePanel") sidePanel : ElementRef
@ViewChild("content") content : ElementRef
@ViewChild("opener") opener: ElementRef
public selection = []
public foldDepth = () => {
const max = this.maxDepth
return function() {
return this.inputs.get().depth >= max
}
}
public css = css
public component = PlannerInjector
public opened = false
private ticking = false
private stickTick = false
private sticking = false
constructor(private _ngZone: NgZone){}
ngAfterViewInit() { this.selection = this.findPosition() }
private nextFrame(_) {
return this._ngZone.runOutsideAngular(() => {
window.requestAnimationFrame(_)
})
}
private findPosition() {
const position = []
const loop = (arr, acc = []) => {
for(let i = 0; i < arr.length; i++) {
const elt = arr[i]
const domElt = document.getElementById(acc.length > 0 ? acc.join("#") + "#" + elt.title : elt.title)
if(domElt && domElt.parentElement &&
domElt.parentElement.getBoundingClientRect().top <= 50 &&
domElt.parentElement.getBoundingClientRect().bottom > 10) {
position.push(elt)
if(elt.subs)
loop(elt.subs, [ ...acc, elt.title ])
break
}
}
}
loop(this.plan)
return position
}
private onDocumentScroll(ev) {
if(!this.ticking) {
this.nextFrame(() => {
const result = this.findPosition()
const newHash = "#" + result.map(_ => _.title).join("#")
if(newHash !== (window.location.hash || "#")) {
this.selection = result
window.history && window.history.replaceState(
{},
document.title,
"#" + result.map(_ => _.title).join("#"))
}
// Prevents safari security exception (SecurityError (DOM Exception 18): Attempt to use history.replaceState() more than 100 times per 30.000000 seconds)
setTimeout(() => this.ticking = false, 100)
})
this.ticking = true
}
if(this.sticky && !this.stickTick) {
if(this.content.nativeElement.getBoundingClientRect().top > 0) {
this.nextFrame(() => {
this.sidePanel.nativeElement.style.position = "absolute"
this.sidePanel.nativeElement.style.top = ""
this.sticking = false
this.stickTick = false
})
} else {
this.nextFrame(() => {
this.sidePanel.nativeElement.style.position = "fixed"
this.sidePanel.nativeElement.style.top = "0px"
this.sticking = true
this.stickTick = false
})
}
this.stickTick = true
}
}
private onDocumentClick(ev) {
if(!(ev.target instanceof HTMLElement)) return
if(this.opener && this.opener.nativeElement.contains(ev.target)) {
this.opened = !this.opened
} else if(this.opened && this.sidePanel && !this.sidePanel.nativeElement.contains(ev.target))
this.opened = false
}
}
| 39.256604 | 169 | 0.488609 |
a45b72424cf8e9a99c44a36272c36c1e7f929c5e | 2,806 | php | PHP | src/NextForm/Data/Store.php | instance/nextform | 774fd7c4fe4f5b398ba73826c1bbc2dd21eb6696 | [
"MIT"
] | 1 | 2020-04-03T02:49:10.000Z | 2020-04-03T02:49:10.000Z | src/NextForm/Data/Store.php | instance/nextform | 774fd7c4fe4f5b398ba73826c1bbc2dd21eb6696 | [
"MIT"
] | null | null | null | src/NextForm/Data/Store.php | instance/nextform | 774fd7c4fe4f5b398ba73826c1bbc2dd21eb6696 | [
"MIT"
] | null | null | null | <?php
namespace Abivia\NextForm\Data;
use Abivia\Configurable\Configurable;
use Abivia\NextForm\Traits\JsonEncoderTrait;
/**
* Describes the storage characteristics of an object.
*/
class Store implements \JsonSerializable
{
use Configurable;
use JsonEncoderTrait;
/**
* Rules for the JsonEncoder
* @var array
*/
static protected $jsonEncodeMethod = [
'type' => ['drop:null'],
'size' => ['drop:null'],
];
/**
* A list of recognized storage types.
* @var string[]
*/
static protected $knownTypes = [
'blob', 'date', 'datetime', 'decimal', 'float', 'int', 'string', 'text',
'time',
];
/**
* The size in the data store. Can be non-numeric.
* @var string
*/
protected $size;
/**
* The storage type.
* @var string
*/
protected $type;
/**
* Check that the supplied type is valid.
* @param string $property The property to be validated.
* @param mixed $value Current value for the property.
* @return boolean
*/
protected function configureValidate($property, &$value)
{
$result = true;
if ($property === 'type') {
if (!($result = \in_array($value, self::$knownTypes))) {
$this->configureLogError(
'Invalid value "'. $value . '" for property "' . $property . '".'
);
$result = false;
}
}
return $result;
}
/**
* Get the current storage size.
* @return string
*/
public function getSize()
{
return (string) $this->size;
}
/**
* Get the current data type
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* Determine if this object contributes nothing to a JSON encoding.
* @return bool
*/
public function isEmpty() : bool
{
if ($this->size !== null) {
return false;
}
if ($this->type !== null && $this->type !== '') {
return false;
}
return true;
}
/**
* Set the storage size.
* @param string $size The desired storage size.
* @return $this
*/
public function setSize($size)
{
$this->size = (string) $size;
return $this;
}
/**
* Set the data type.
* @param string $type The desired data type.
* @return $this
* @throws RuntimeException If the type is not valid.
*/
public function setType($type)
{
if (!$this->configureValidate('type', $type)) {
throw new \RuntimeException($type . ' is not a valid value for type.');
}
$this->type = $type;
return $this;
}
}
| 22.269841 | 85 | 0.521026 |
796ecc9290401918ba7323f12dce6e5fabcc2811 | 8,489 | php | PHP | application/controllers/api/Jamaah.php | simaung/gomasgo | 2970bbdf802b846a8aa6e911281608ed6d54fe33 | [
"MIT"
] | null | null | null | application/controllers/api/Jamaah.php | simaung/gomasgo | 2970bbdf802b846a8aa6e911281608ed6d54fe33 | [
"MIT"
] | null | null | null | application/controllers/api/Jamaah.php | simaung/gomasgo | 2970bbdf802b846a8aa6e911281608ed6d54fe33 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
require APPPATH . 'third_party/REST_Controller.php';
require APPPATH . 'third_party/Format.php';
use Restserver\Libraries\REST_Controller;
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE");
class Jamaah extends REST_Controller
{
function __construct()
{
parent::__construct();
$this->load->model('Mjamaah');
$this->data_token = verify_request();
}
public function index_get()
{
$id = $this->get('id');
$sort_by = $this->get('sort_by');
$limit = $this->get('per_page');
$offset = $limit * ($this->get('page') - 1);
if($limit)
$this->Mjamaah->set_limit($limit);
if($offset)
$this->Mjamaah->set_offset($offset);
if($id === null)
{
$jamaah = $this->Mjamaah->getJamaah();
}else{
$jamaah = $this->Mjamaah->getJamaah($id);
if($jamaah['id_cust'])
{
$jamaah[0]['foto_ktp'] = ($jamaah[0]['foto_ktp'] != null)?base_url().'static/uploads/'.$jamaah[0]['foto_ktp']:null;
$jamaah[0]['foto_kk'] = ($jamaah[0]['foto_kk'] != null)?base_url().'static/uploads/'.$jamaah[0]['foto_kk']:null;
$jamaah[0]['foto_paspor'] = ($jamaah[0]['foto_paspor'] != null)?base_url().'static/uploads/'.$jamaah[0]['foto_paspor']:null;
$jamaah[0]['transaksi'] = $this->Mjamaah->getTrxJamaah($id);
}
}
if($jamaah)
{
$status = parent::HTTP_OK;
$this->response(['status' => $status,'data' => $jamaah], $status);
}else{
$this->response(['message' => 'Jamaah not found'], parent::HTTP_NOT_FOUND);
}
}
public function index_post()
{
$this->load->model('Muser');
$data_user_login = data_user_login();
$customer = [
'nama_lengkap' => $this->post('nama'),
'email' => $this->post('email'),
'hp' => $this->post('hp'),
'id_card' => $this->post('id_card'),
'alamat' => $this->post('alamat'),
'id_kota' => $this->post('kota'),
'id_provinsi' => $this->post('provinsi'),
'kode_pos' => $this->post('kode_pos'),
'cust_type' => 'jamaah',
'tgl_lahir' => to_mysql_date($this->post('tgl_lahir'))
];
if($this->post('presenter') != ""){
$check_presenter = $this->Muser->get_user_by_kode($this->post('presenter'));
if($check_presenter){
$idPresenter = $check_presenter->id;
}else{
$this->response([
'status' => FALSE,
'message' => 'Kode Presenter tidak valid'
], REST_Controller::HTTP_BAD_REQUEST);
}
if($data_user_login->role == 'user'){
if ($check_presenter->id == $data_user_login->id) {
$this->response([
'status' => FALSE,
'message' => 'Kode Presenter tidak boleh sama dengan referal'
], REST_Controller::HTTP_BAD_REQUEST);
}
}
}else{
$idPresenter = "";
}
$customer_id = $this->Mgeneral->save($customer,'customer');
$idpaket = $this->post('paket');
$harga = $this->Mgeneral->getValue('harga',array('id_paket'=>$idpaket),'paket_umroh');
if($harga)
{
$dataTrx = array(
'id_cust' => $customer_id,
'id_marketing' => $data_user_login->id,
'id_presenter' => $idPresenter,
'id_paket' => $idpaket,
'harga' => $harga,
'status' => 'daftar',
);
$this->Mgeneral->save($dataTrx,'trx_umroh');
}
if($customer_id)
{
$this->response([
'status' => TRUE,
'message' => 'Data Jamaah Berhasil Disimpan'
], REST_Controller::HTTP_CREATED);
}else{
$this->response([
'status' => FALSE,
'message' => 'Data Jamaah Gagal Disimpan'
], REST_Controller::HTTP_BAD_REQUEST);
}
}
public function index_put()
{
$id = $this->put('id');
$customer = [
'nama_lengkap' => $this->put('nama'),
'email' => $this->put('email'),
'hp' => $this->put('hp'),
'id_card' => $this->put('id_card'),
'alamat' => $this->put('alamat'),
'id_kota' => $this->put('kota'),
'id_provinsi' => $this->put('provinsi'),
'kode_pos' => $this->put('kode_pos'),
'tgl_lahir' => to_mysql_date($this->put('tgl_lahir'))
];
$customer_id = $this->Mgeneral->update(array('id_cust'=>$id),$customer,'customer');
if($customer_id)
{
$this->response([
'status' => TRUE,
'message' => 'Data Jamaah Berhasil Disimpan'
], REST_Controller::HTTP_NO_CONTENT);
}else{
$this->response([
'status' => FALSE,
'message' => 'Data Jamaah Gagal Disimpan'
], REST_Controller::HTTP_BAD_REQUEST);
}
}
public function index_delete()
{
$id = $this->delete('id');
$customer = $this->Mgeneral->getWhere(array('id_cust'=>$id,'cust_type'=>'jamaah'),'customer');
if(!empty($customer)){
$customer_id = $customer[0]->id_cust;
$this->Mgeneral->delete(array('id_cust'=>$customer_id),'customer');
$this->response([
'status' => TRUE,
'id' => $id,
'message' => 'Data Jamaah Berhasil Dihapus'
], REST_Controller::HTTP_NO_CONTENT);
}else{
$this->response([
'status' => FALSE,
'message' => 'Data Jamaah Gagal Dihapus'
], REST_Controller::HTTP_BAD_REQUEST);
}
}
function upload_post()
{
$customer_id = $this->post('id');
$config['upload_path'] = './static/uploads/';
$config['allowed_types'] = 'jpg|png|gif';
$config['overwrite'] = true;
$config['max_size'] = 1024; // 1MB
$this->load->library('upload');
# upload foto kk
if(!empty($_FILES["foto_kk"]["tmp_name"])){
$path_parts = pathinfo($_FILES["foto_kk"]["name"]);
$extension = $path_parts['extension'];
$config['file_name'] = "Kartu_Keluarga_".$customer_id;
$this->upload->initialize($config);
$this->upload->do_upload('foto_kk');
$this->Mgeneral->update(array('id_cust'=>$customer_id),array('foto_kk'=>$config['file_name'].".".$extension),'customer');
}
# upload foto ktp
if(!empty($_FILES["foto_ktp"]["tmp_name"])){
$path_parts = pathinfo($_FILES["foto_ktp"]["name"]);
$extension = $path_parts['extension'];
$config['file_name'] = "KTP_".$customer_id;
$this->upload->initialize($config);
$this->upload->do_upload('foto_ktp');
$this->Mgeneral->update(array('id_cust'=>$customer_id),array('foto_ktp'=>$config['file_name'].".".$extension),'customer');
}
# upload foto paspor
if(!empty($_FILES["foto_paspor"]["tmp_name"])){
$path_parts = pathinfo($_FILES["foto_paspor"]["name"]);
$extension = $path_parts['extension'];
$config['file_name'] = "PASPOR_".$customer_id;
$this->upload->initialize($config);
$this->upload->do_upload('foto_paspor');
$this->Mgeneral->update(array('id_cust'=>$customer_id),array('foto_paspor'=>$config['file_name'].".".$extension),'customer');
}
$this->response([
'status' => TRUE,
'message' => 'Foto persyaratan berhasil di simpan'
], REST_Controller::HTTP_CREATED);
}
} | 36.908696 | 142 | 0.483567 |
e26cf19fabe9ce6e97506afa3ac0b51f3d4d1432 | 3,935 | py | Python | examples/HD143006/common_functions.py | Jaye-yi/MPoL | eab782c275a48c5185de290cacdf12e68bbb66a5 | [
"MIT"
] | 18 | 2020-12-18T18:25:42.000Z | 2022-02-25T18:43:38.000Z | examples/HD143006/common_functions.py | Jaye-yi/MPoL | eab782c275a48c5185de290cacdf12e68bbb66a5 | [
"MIT"
] | 49 | 2021-01-13T03:44:56.000Z | 2021-10-05T21:43:14.000Z | examples/HD143006/common_functions.py | Jaye-yi/MPoL | eab782c275a48c5185de290cacdf12e68bbb66a5 | [
"MIT"
] | 6 | 2021-05-09T21:54:55.000Z | 2021-10-05T14:13:43.000Z | import numpy as np
import torch
from mpol import (
losses,
coordinates,
images,
precomposed,
gridding,
datasets,
connectors,
utils,
)
from astropy.utils.data import download_file
from ray import tune
import matplotlib.pyplot as plt
# We want to split these
# because otherwise the data loading routines will be rehashed several times.
def train(
model, dataset, optimizer, config, device, writer=None, report=False, logevery=50
):
"""
Args:
model: neural net model
dataset: to use to train against
optimizer: tied to model parameters and used to take a step
config: dictionary including epochs and hyperparameters.
device: "cpu" or "cuda"
writer: tensorboard writer object
"""
model = model.to(device)
model.train()
dataset = dataset.to(device)
residuals = connectors.GriddedResidualConnector(model.fcube, dataset)
residuals.to(device)
for iteration in range(config["epochs"]):
optimizer.zero_grad()
vis = model.forward()
sky_cube = model.icube.sky_cube
loss = (
losses.nll_gridded(vis, dataset)
+ config["lambda_sparsity"] * losses.sparsity(sky_cube)
+ config["lambda_TV"] * losses.TV_image(sky_cube)
+ config["entropy"] * losses.entropy(sky_cube, config["prior_intensity"])
)
if (iteration % logevery == 0) and writer is not None:
writer.add_scalar("loss", loss.item(), iteration)
writer.add_figure("image", log_figure(model, residuals), iteration)
loss.backward()
optimizer.step()
if report:
tune.report(loss=loss.item())
return loss.item()
def test(model, dataset, device):
model = model.to(device)
model.eval()
dataset = dataset.to(device)
vis = model.forward()
loss = losses.nll_gridded(vis, dataset)
return loss.item()
def cross_validate(model, config, device, k_fold_datasets, MODEL_PATH, writer=None):
test_scores = []
for k_fold, (train_dset, test_dset) in enumerate(k_fold_datasets):
# reset model
model.load_state_dict(torch.load(MODEL_PATH))
# create a new optimizer for this k_fold
optimizer = torch.optim.Adam(model.parameters(), lr=config["lr"])
# train for a while
train(model, train_dset, optimizer, config, device, writer=writer)
# evaluate the test metric
test_scores.append(test(model, test_dset, device))
# aggregate all test scores and sum to evaluate cross val metric
test_score = np.sum(np.array(test_scores))
# log to ray tune
tune.report(cv_score=test_score)
return test_score
def log_figure(model, residuals):
"""
Create a matplotlib figure showing the current image state.
Args:
model: neural net model
"""
# populate residual connector
residuals()
fig, ax = plt.subplots(ncols=2, nrows=2, figsize=(10, 10))
im = ax[0, 0].imshow(
np.squeeze(model.icube.sky_cube.detach().cpu().numpy()),
origin="lower",
interpolation="none",
extent=model.icube.coords.img_ext,
)
plt.colorbar(im, ax=ax[0, 0])
im = ax[0, 1].imshow(
np.squeeze(residuals.sky_cube.detach().cpu().numpy()),
origin="lower",
interpolation="none",
extent=residuals.coords.img_ext,
)
plt.colorbar(im, ax=ax[0, 1])
im = ax[1, 0].imshow(
np.squeeze(torch.log(model.fcube.ground_amp.detach()).cpu().numpy()),
origin="lower",
interpolation="none",
extent=residuals.coords.vis_ext,
)
plt.colorbar(im, ax=ax[1, 0])
im = ax[1, 1].imshow(
np.squeeze(torch.log(residuals.ground_amp.detach()).cpu().numpy()),
origin="lower",
interpolation="none",
extent=residuals.coords.vis_ext,
)
plt.colorbar(im, ax=ax[1, 1])
return fig
| 27.137931 | 85 | 0.633545 |
4519981518a70a9689ae40169b9f37c8c44df8f0 | 325 | ps1 | PowerShell | cleanup.ps1 | markgamache/FFPKILab | 3ad9ed59ac35bb2fc6f661386a66a701b1e30c0a | [
"MIT"
] | null | null | null | cleanup.ps1 | markgamache/FFPKILab | 3ad9ed59ac35bb2fc6f661386a66a701b1e30c0a | [
"MIT"
] | null | null | null | cleanup.ps1 | markgamache/FFPKILab | 3ad9ed59ac35bb2fc6f661386a66a701b1e30c0a | [
"MIT"
] | null | null | null | #! /snap/bin/pwsh
Remove-Item -Recurse -Force /home/ubuntu/labPkiPy/
dir /var/www | where name -like "*.*" | Remove-Item -Force -Recurse
dir /etc/nginx/pki | Remove-Item -Force -Recurse
cd /etc/nginx/sites-available
rm ./default
ren ./default.old ./default
cd /home/ubuntu/FFPKILab
aws s3 rm --recursive s3://certsync/pki
| 25 | 67 | 0.716923 |
9f892dbae03d0d26937889a8e0bed5173725b0db | 274 | lua | Lua | sample/main.lua | Nigh/simple_dll_for_Love2D | a5231f3303e296d9c705c7ec927d7fb87a4d8b3f | [
"MIT"
] | 13 | 2015-05-17T17:23:13.000Z | 2022-01-07T15:15:08.000Z | sample/main.lua | Nigh/simple_dll_for_Love2D | a5231f3303e296d9c705c7ec927d7fb87a4d8b3f | [
"MIT"
] | null | null | null | sample/main.lua | Nigh/simple_dll_for_Love2D | a5231f3303e296d9c705c7ec927d7fb87a4d8b3f | [
"MIT"
] | 3 | 2015-07-04T05:05:21.000Z | 2021-06-09T13:20:39.000Z |
function love.load()
lib=require("lovelib")
print(lib.doubles(1234))
end
function love.update(dt)
_dt=dt
end
function love.draw()
love.graphics.printf(_dt, 1, 1,1)
love.graphics.printf(lib.doubles(_dt),1,20,1)
love.graphics.printf(lib.avr(1,2,3,6,7,8),1,40,1)
end
| 16.117647 | 50 | 0.711679 |
9fe893a9e587c5ede3d63f8e13b450018dc68f8a | 749 | py | Python | pseudogen/log.py | ansobolev/PseudoGenerator | 6d94f4cd93411a963120ea218d26091d7ac46e8a | [
"MIT"
] | 1 | 2020-05-17T16:17:12.000Z | 2020-05-17T16:17:12.000Z | pseudogen/log.py | ansobolev/PseudoGenerator | 6d94f4cd93411a963120ea218d26091d7ac46e8a | [
"MIT"
] | null | null | null | pseudogen/log.py | ansobolev/PseudoGenerator | 6d94f4cd93411a963120ea218d26091d7ac46e8a | [
"MIT"
] | 1 | 2021-11-18T02:14:55.000Z | 2021-11-18T02:14:55.000Z |
import logging
loggers = {}
def get_logger(name, element):
global loggers
if loggers.get(name):
return loggers.get(name)
else:
# create logger
logger = logging.getLogger(name)
logger.setLevel(logging.DEBUG)
# create console handler and set level to debug
fh = logging.FileHandler(element + '/log.dat')
fh.setLevel(logging.DEBUG)
# create formatter
formatter = logging.Formatter('%(asctime)s: %(name)s - %(levelname)s - %(message)s')
# add formatter to fh
fh.setFormatter(formatter)
# add fh to logger
logger.addHandler(fh)
loggers[name] = logger
return logger
def interlog(logger):
logger.info('-----' * 10)
| 22.69697 | 92 | 0.604806 |
2fcbbf1c381b14f439b0cbb7f5b2a904b4f9f437 | 2,622 | py | Python | scrape.py | amitshankar97/basketball-reference-scraper | e2d22b79d06847afa6d12d5fd996c7ea575c2749 | [
"MIT"
] | null | null | null | scrape.py | amitshankar97/basketball-reference-scraper | e2d22b79d06847afa6d12d5fd996c7ea575c2749 | [
"MIT"
] | 6 | 2021-03-18T21:39:32.000Z | 2022-03-11T23:36:25.000Z | scrape.py | amitshankar97/basketball-reference-scraper | e2d22b79d06847afa6d12d5fd996c7ea575c2749 | [
"MIT"
] | null | null | null | import threading
from db import DB
BASE_URL = 'https://www.basketball-reference.com'
import requests
from bs4 import BeautifulSoup
import re
class Scraper (threading.Thread):
def __init__(self, threadID, letter):
threading.Thread.__init__(self)
self.threadID = threadID
self.letter = letter
def get_table(self, webpage, category):
# div for category
if category == 'totals':
stats_div = webpage.find('div', id=("div_totals_clone"))
else:
stats_div = webpage.find('div', id=("all_" + category))
# stats = stats_div.find_all('tr') # get all rows for category
stats = stats_div.find_all('tr', id=re.compile(category)) # get all rows for category
seasons = []
for statRow in stats:
season = {}
season['season'] = statRow.find('th', {"data-stat" : "season"}).text
stats = statRow.find_all('td')
for stat in stats:
statName = stat.attrs['data-stat']
not_integers = ['team_id', 'lg_id', 'pos']
if statName in not_integers or stat.text == '':
statValue = stat.text
else:
statValue = float(stat.text)
season[statName] = statValue
seasons.append(season)
return seasons
def get_html(self, url):
page = requests.get(url)
html = BeautifulSoup(page.text, 'lxml')
return html
# Scrape players by letter
def run(self):
link = BASE_URL + '/players/' + self.letter
html = self.get_html(link)
if html:
playersDiv = html.find('div', id='all_players')
if(playersDiv == None):
return []
links = playersDiv.find_all('a')
players = []
for link in links:
player = {}
playerLink = link.get('href')
if not playerLink.startswith('/players'):
continue
player['name'] = link.text
player['url'] = BASE_URL + playerLink
webpage = self.get_html(player['url'])
player['per_game'] = self.get_table(webpage, 'per_game')
# player['totals'] = get_table(webpage, 'totals')
# player['playoffs_per_game'] = get_table(webpage, 'playoffs_per_game')
mongo = DB()
success = mongo.addOrUpdatePlayer(player=player)
# return players
print(self.threadID + " exited.") | 30.137931 | 93 | 0.532799 |
a41a28e544e65a35c1ee1c39d2348c3df76af36b | 20,631 | php | PHP | data/Chunks/2000/60/2/2062-05-11.php | PHPCraftdream/astro_de421 | 28bf0273641aa4805b269eb5a67e43a7da2f4a0f | [
"MIT"
] | null | null | null | data/Chunks/2000/60/2/2062-05-11.php | PHPCraftdream/astro_de421 | 28bf0273641aa4805b269eb5a67e43a7da2f4a0f | [
"MIT"
] | null | null | null | data/Chunks/2000/60/2/2062-05-11.php | PHPCraftdream/astro_de421 | 28bf0273641aa4805b269eb5a67e43a7da2f4a0f | [
"MIT"
] | null | null | null | <?php return [2474320.5,2474352.5,-32220390.64870908,11297236.55930683,398948.6729453676,-25591.61637524686,94.71326727751496,-9.259938712819963,-0.2699559637390544,0.01298677666429623,-0.0008246174819355001,3.742826776631365E-5,-1.185369438437838E-6,4.094880897437804E-8,3.99755711523941E-11,-1.229840022567294E-10,-55165757.80273025,-6006413.377558732,656753.3410273906,7515.723291141077,-366.9270097903143,12.20205734279527,-0.6664589165500375,0.01205763165975707,-0.0005094779972933297,-3.521953175680838E-6,4.215240862892038E-7,-4.242717381238942E-8,1.88728720645665E-9,5.221343655653811E-10,-25974786.1572876,-4378629.281513055,309573.7591792328,6665.019987933501,-205.8423415576696,7.477827008580658,-0.3281139984139745,0.005097407910106121,-0.0001868239970817341,-5.755630455055634E-6,3.481783552356653E-7,-2.706572377396979E-8,8.151648728722629E-10,-2.884230662946333E-10,-7399071.268626989,13270271.49579004,93928.12351724316,-25826.44266576384,-136.8749862207214,-13.35766398374384,-0.1195092284480834,0.002234538482760173,6.034203649084378E-5,2.172135525047774E-5,3.613431506788998E-7,3.728152665763703E-8,4.256001636128624E-10,1.90525060074686E-10,-61700474.65783597,-478103.1748767587,717187.0977321313,2808.89613375942,-265.3020362938119,-1.650445108736105,-0.5677046625567556,-0.005415707795295887,-0.0006011195879344561,-5.521236395719465E-6,-2.233416587459283E-7,2.37320403467035E-9,1.597095940013534E-9,-2.377466645226175E-10,-32035850.02969162,-1629335.936906666,373441.7428089711,4174.637596395756,-127.5704424881056,0.5012140614781652,-0.2909304217682231,-0.003124819994476584,-0.0003274032711558375,-5.19948679744817E-6,-1.569049586366399E-7,-2.579546823895183E-9,9.4979638599937E-10,1.741707822563711E-10,18871285.28312652,12723639.77647164,-238358.9731867786,-30273.36834122402,-422.79397773746,-14.34265664983808,0.1295513762834669,0.02340235300486018,0.0016145646415767,8.275476974293278E-5,3.128422774611353E-6,9.264727178057584E-8,6.221976478218117E-10,-5.286591037002579E-10,-56868323.36272028,5314315.708271877,721696.4488375235,-2533.78369814912,-459.0231214098075,-19.4944633371888,-1.025632416117577,-0.02848750307064975,-0.0007916032185445631,5.894491425737407E-6,1.621642900501022E-6,1.262408907646006E-7,7.884091498971837E-9,-9.871675033346859E-11,-32174042.19969347,1521935.313908356,410254.2853020733,1780.641432388693,-201.4659882101527,-8.930224373329645,-0.5613720007485609,-0.0176428206359018,-0.0005900884595523391,-5.419294696739072E-6,5.426073979371106E-7,5.789475923516145E-8,3.78924385412596E-9,2.153890925587916E-10,41167465.47525859,9229628.4533111,-650188.0861739427,-38790.93074780975,-579.8904254256814,6.261814662328182,2.167615010841471,0.1530114964613236,0.007427321460856441,0.0002209657513942489,-1.851746407327078E-6,-8.230372032274194E-7,-7.029906964892693E-8,-3.613651705790313E-9,-40676470.60578025,10801565.43241141,629181.2017133511,-14647.45523800712,-1170.73753938302,-55.49037774853769,-1.955147552367908,-0.01881699826184744,0.003255954031810297,0.0003408868807713461,2.060259906906253E-5,8.412149782825773E-7,1.353517717948911E-8,-1.606620854879874E-9,-25831698.92985769,4815322.386011585,403465.3738247998,-3809.399149037421,-565.4445477041855,-30.29484252293621,-1.268989623788444,-0.02589529526663377,0.0009705526193715444,0.0001592459030232885,1.119931428652405E-5,5.347445892524202E-7,1.43161601982009E-8,-3.202521957021162E-10,87395547.09964053,14029529.73195205,-1073918.788350756,-28935.33184071646,1071.3149437039,17.14850293665369,-0.3666355925781793,-0.003984710236720092,1.649119818739993E-5,-4.14947290154097E-8,-56709310.03871287,17972576.40832493,689133.8929190118,-36744.70052909611,-700.8940988430343,20.96748677388018,0.2616927489197712,-0.003958918365287186,-3.199127002617977E-5,-6.878272675181924E-7,-30995983.91042761,7202286.646239636,378083.3200372385,-14708.67819873902,-383.2132785393753,8.352859018634142,0.1409705398771705,-0.001529892629200258,-1.544126195778004E-5,-3.068524263168693E-7,105984520.4199242,4363456.939401914,-1308628.148645378,-9565.42950592314,1317.585436629335,7.07638815165291,-0.4694808554992309,-0.003258401278098557,3.621116072063602E-5,1.182009529795946E-6,-16759670.27492758,21565149.73788112,195746.9240923115,-44303.03907562965,-228.4171320858687,25.77804964905473,0.1325703127319606,-0.005399843282444885,-5.712360110570853E-5,-5.230394759262274E-7,-14190175.7906615,9430516.40997567,170856.5307521129,-19335.51894239513,-186.1289648180118,11.15499244430313,0.08935944149175017,-0.002224048144897383,-2.796421350366688E-5,-3.078996450935812E-7,-80421638.27884363,16993630.61044746,371792.1421774484,-13268.31709331956,-120.9004638572115,2.971682093896767,0.003042616664155594,-2.67733571947759E-5,3.987700848457581E-5,-1.178610427574784E-5,1.205741389076581E-7,3.133366434268493E-7,-5.429453481583328E-8,-117517471.8258707,-10203889.03639575,534709.2136271598,7361.158334605457,-205.989957401837,-1.114588142756952,0.02873701954192023,0.0002079222160802863,-2.920947805916833E-5,-1.133564879163873E-5,1.967488498120241E-6,6.091950462532682E-8,-5.002113424218905E-8,-50927783.97814238,-4422716.90370934,231730.3787100517,3190.393530126245,-89.27189284929929,-0.4827871216648651,0.01253915571852021,6.21732099895071E-5,-1.662938161228269E-5,-3.324657059501665E-6,8.616274440378259E-7,-2.219007487189349E-8,-1.628856295040544E-8,-43984455.96465459,19302744.6387039,202938.9219318677,-14723.84460289831,-60.92835660147043,3.001861817327784,-0.002109436030696341,-3.204189038758982E-5,7.544933439409327E-5,2.648485074911066E-6,-3.687194446044889E-6,-8.231605266001473E-7,1.111705329608895E-7,-133408366.6574992,-5630361.472964594,602652.4837479014,3923.72801894617,-221.6355481076825,-0.4734522365623274,0.02525408230042913,0.0003350048956261579,1.912291660810185E-5,-2.434960403421036E-5,-4.553771543108838E-6,7.554640934626619E-7,4.475943583518307E-7,-57815697.83064946,-2440646.232523613,261178.2671158078,1700.683405191746,-96.05301763971819,-0.2048391815534319,0.01098145765232071,0.0001073566977487854,3.162669803317954E-6,-8.687215199143007E-6,-1.434792646170545E-6,2.999469091327005E-7,1.545750876371839E-7,79120942.45688975,-30036503.08274201,-427367.6358952986,30050.38323121632,-109.8345283666519,-8.436336920137364,0.2501314388247805,-0.002493626324415467,-7.276535384588353E-5,3.386708514064984E-6,-5.454668935056449E-8,192401576.4057572,12881010.7739644,-1048903.957478101,-4413.528344195792,535.3710098974392,-7.238021238323066,-0.0372575062011945,0.004889445804785398,-0.0001105110554118399,2.33132396896329E-7,5.890527437028881E-8,86167818.5305861,6715609.413658627,-469636.0313184161,-2832.435600090977,248.5225464576805,-3.093182833551385,-0.02381352574535576,0.00230987489654787,-4.871732353963109E-5,1.839956772965813E-8,2.94591930662151E-8,-541037393.833166,-13434896.65313041,68459.93603836573,249.6382177255942,-0.8641629497936213,-0.0003121995247281239,4.54952999950139E-6,-1.515259269334802E-8,528425371.7120998,-10655146.39535391,-66888.97585795178,257.457403693249,0.4751810261598596,-0.001989331343767032,2.287931419454639E-6,-8.875115977866178E-9,239635705.9277218,-4240068.714653959,-30331.95688871272,104.2758979794201,0.2246415624523771,-0.0008449773807258799,8.957544173101214E-7,-2.871449351077688E-9,-73159367.62431863,-14043900.05337741,1857.37186085274,60.45909750800838,-0.005063052565494384,-0.0001158431548306739,-2.901167437380396E-8,1244624807.733679,-919165.7230019992,-32087.74539874415,4.08688285434332,0.07948381624243647,-5.346810659131008E-6,-1.691978961871711E-7,517395936.4864883,226200.6317557107,-13337.77846975839,-0.9233729501182099,0.03309818483081399,2.61750877074434E-6,-7.015215960060789E-8,-1972666568.94125,6580334.985024207,5789.048277541642,-3.598017072930233,-0.001193196849658069,9.366045738285102E-7,-1812785911.14713,-6476181.946647934,5318.30220672687,2.823614306167225,-0.001670380088949475,-2.536241257831561E-7,-766052465.3387096,-2929332.201904533,2247.432170994486,1.287434047722088,-0.000714371056180917,-1.278611330158559E-7,636731776.1044899,-7480223.296544291,-453.5744676443576,0.8898578068902496,2.728890087771007E-5,-6.001053099433274E-8,4097936062.044968,969165.1027866664,-2917.739886870615,-0.1000753265614363,0.0001740265045087219,-4.37017703986342E-8,1661453940.00747,582918.1825971733,-1182.947070230278,-0.06312644711411608,7.058231788103746E-5,-1.063158535372668E-8,6317555700.547336,1711691.993263646,-1395.880583746019,0.07315930382783321,9.708046616627316E-6,-1.097318995337759E-8,-7950996.961421363,5445253.060716244,1.710160206458041,-0.2007256902226408,3.023700022120348E-5,-5.959530169500561E-9,-1905922112.392041,1183619.904535477,421.1087947806355,-0.08463449424229505,6.652023809856501E-6,6.699527628046175E-9,-87792.53428675074,-175327.4945622661,5746.976693307892,1793.214582925202,-49.7129903310054,-7.166472647366481,0.4005244040020604,0.01828858027815681,-0.003186877895997587,3.611742802284382E-5,2.109199015614266E-5,-1.258443565895576E-6,-9.947292133410083E-8,290969.1738000005,-36567.48069799208,-18747.21535897099,478.1689620033808,106.2567920509114,-3.838197666275137,-0.3417466170430737,0.03181252632201245,0.0004473682865369237,-0.0002346107279990896,8.098868105132615E-6,1.352354325451907E-6,-1.240921965202369E-7,158083.6772542457,-20130.62797610823,-10200.66049268898,264.0525874042377,57.8606793760012,-2.106804583571376,-0.1857966532783294,0.01737237573575212,0.0002394037853283779,-0.0001278121872368281,4.444049353794765E-6,7.351498947870319E-7,-6.777471154349466E-8,-338797.9516210055,-64114.73151696758,19535.04859343259,388.8153267338948,-98.36227435885309,1.129888896846788,0.1652334478072873,-0.01177728160749131,0.000644921489670893,3.516539408562705E-6,-4.993702897555942E-6,3.501774582778752E-7,2.561917794295799E-10,101599.7517446924,-142047.323079669,-6040.632272443188,1382.994569803295,6.956336336806928,-4.215620495690304,0.1362223009477176,2.148174435621321E-5,-0.000487909466046214,6.233807787266745E-5,-2.321208858789705E-6,-1.960443724830364E-7,2.549422050527356E-8,54716.72063697697,-77350.57334060558,-3246.512318540614,754.699937514726,3.570641789926238,-2.300249048487236,0.07463192487048555,3.887954751088242E-6,-0.0002652194573396259,3.396033289711025E-5,-1.272254947096188E-6,-1.062991592086677E-7,1.389595498685991E-8,-313094.0836731341,86783.92208759107,15982.48977931865,-865.6145602880106,-53.15740205255663,2.857803851153252,0.01574446727785563,-0.003449119707210066,-7.220271103811136E-5,-7.309905777959258E-7,1.557249624247901E-6,-4.694653833047055E-8,-4.92017917642906E-9,-180463.3121120612,-127409.1071814564,8982.958393912482,984.8345155384455,-47.75824611584083,-1.40336441468881,0.1029735733076736,-0.0004742048593162668,-3.430852933386709E-5,-1.429115934050633E-5,2.084514551714565E-7,8.936533954184146E-8,-3.8388011697429E-9,-98518.52894742455,-69022.31259661881,4931.499218727369,534.1991830341397,-26.22031990787495,-0.7597198253030719,0.05636966603195694,-0.0002681241109281398,-1.915030353826714E-5,-7.764634727943818E-6,1.172651504368483E-7,4.85717590260632E-8,-2.102690337703515E-9,-51924.02089532546,162939.4829649987,2349.366354291355,-1273.098415128369,-0.3930013947487138,2.076294256119701,-0.06579425523707565,-0.0001590620887714483,0.0002848028188546904,3.07067013708204E-6,-7.701163485308808E-7,1.068122432220656E-8,2.576641383773659E-9,-336049.1221342478,-22572.22964329534,15697.10398574001,119.2239519044992,-54.22387342849279,0.4879923594660781,0.03456076261281619,-0.004244934821545167,-1.341406431754236E-5,1.306228552193052E-5,1.097752102270878E-7,-3.790963131141208E-8,1.752525193296907E-9,-182322.2945788743,-11764.5104075784,8545.982809252544,60.40668033481146,-29.6066419751888,0.2735694550955022,0.01884786957133729,-0.002312055628722113,-6.290841179910428E-6,7.128867556924932E-6,5.709572942734897E-8,-2.063734036059044E-8,9.65562973534727E-10,246065.7038665991,123184.1094572001,-11833.39062134234,-1016.418504452545,30.09477659560136,1.404197737650684,0.04109987008633776,0.006370085999129384,1.771749943764519E-5,-1.749164612107845E-5,-9.270384544926728E-7,-6.628279340431112E-8,-2.652949333869554E-9,-260937.1365921592,94827.874781115,12289.77215016403,-661.0511317892656,-44.25557993307221,0.2603578338410544,-0.02353321700092417,0.002231129022651518,0.0003990193849694313,1.107564104176097E-5,5.868423913852884E-8,-1.796262580488046E-8,-4.600171290302872E-9,-140559.3349108757,51924.80540115682,6634.167051272534,-364.4057852492207,-23.99751831774122,0.1536142488602125,-0.0123991975780961,0.001236506696102953,0.0002169743559239563,5.922060850233193E-6,2.564547673799505E-8,-1.008428563665585E-8,-2.505097211987497E-9,366712.3226500523,-9333.886256511385,-19896.03216770591,-205.9734546074907,78.95332981138463,3.617205259028337,0.05105881528280388,-0.01486471406419807,-0.00165125486875789,-4.661470970110273E-5,5.34110135131015E-6,7.586917384428372E-7,3.440543642902476E-8,-6309.475887837875,149799.7046607401,310.4365526529131,-1307.066360006511,-30.97811921218798,2.130103418390016,0.243477353287538,0.01434882205478971,-0.000272020851836494,-0.000102269467421919,-7.008297766707168E-6,-7.615612295095574E-9,4.450106902230383E-8,-1929.375759367074,81231.15882471779,77.36946568319331,-712.01051035261,-16.41105482840702,1.182056440692163,0.1324408567754443,0.007704425244809595,-0.0001566933571568342,-5.578533305049087E-5,-3.775539371260773E-6,-1.104900137128437E-11,2.434481773265768E-8,199424.1495732852,-152108.4349137585,-12818.82763147644,1461.736145398017,103.127695263475,-4.594257696268754,-0.7123653361343446,-0.0006684310263470846,0.005076646375208508,0.0002045710750028777,-3.283007647164307E-5,-3.035037294640482E-6,1.59480715037279E-7,243848.6935176578,86831.49937809895,-15705.06710543168,-1081.523006106671,78.9322942806843,7.478432846977868,-0.1471757367258413,-0.05310176591528796,-0.001092155963685187,0.0003659396433284119,2.322682947976894E-5,-2.127425823489609E-6,-2.869428508926392E-7,132971.9323566285,46346.44079624263,-8592.813897502097,-579.9773760277595,43.49233962320331,4.038531613821237,-0.08398605697327712,-0.02884229627283325,-0.0005654621703332275,0.0001998032359621663,1.243438280482707E-5,-1.171379078773813E-6,-1.549258897503098E-7,-139639.9120660739,-168187.9874110249,9327.478430616906,1749.612814257044,-77.58540184258148,-7.513429661696229,0.6090246326224722,0.02402499378525149,-0.005195884572789774,1.330119240359752E-5,4.17528937690363E-5,-1.718864199423815E-6,-2.946570413140874E-7,271279.5930964704,-61340.64227882659,-17976.09306889098,775.7094916878311,105.9354902603792,-5.882518787459103,-0.3901389771919466,0.04943745571451236,0.0008609752094175766,-0.0004146845123027271,8.80256353982484E-6,3.157205051808431E-6,-1.986734424884695E-7,146099.4444298292,-34170.48990992637,-9705.764536195054,431.3432551471844,57.16970624371332,-3.238433193800285,-0.2088087708699939,0.02697978017723655,0.0004400858392401861,-0.0002251014882307132,5.001642619418391E-6,1.70506001525188E-6,-1.094461165241072E-7,582327.1486233455,8450.863227170208,-14.96262840616168,0.1113469513851828,-0.002164497997850554,1.082791155188694E-5,2.650433784064851E-6,-9.334916276711703E-8,1.360727857973331E-8,-1.947142107706095E-9,6.738671272481837E-11,-997213.4927447508,5247.151114656106,14.73639193657962,0.03049360952122181,0.00307620248506806,-7.464028591401798E-5,5.320202548886413E-6,-6.685567729783681E-8,2.325706067150102E-8,2.163130751733234E-10,1.551740691458805E-11,-430684.6676610085,2003.598547104686,6.437573619431653,0.007084728556653691,0.001600677109335345,-3.965117292787707E-5,2.665529217204709E-6,-2.631621572922237E-8,1.099576835061259E-8,3.082096090852937E-10,-2.734948476792301E-12,599113.0124022065,8335.953302162328,-13.81805300992857,0.0810407017960941,-0.001563897525896603,1.842577112213039E-5,-7.357051176424492E-6,-1.46131040309072E-6,-1.66876283845659E-7,-1.387000889226161E-8,-7.009953849393032E-10,-986599.5943892311,5367.27774747775,15.37304433311167,0.07572499878902152,0.003190810114667036,0.0001259294347589736,1.554301761106732E-5,7.628847753770487E-7,-2.71131003805205E-9,-8.181898474995017E-9,-1.276681875765428E-9,-426625.4176446976,2055.839112663126,6.662732469423417,0.03045572412476423,0.00164901685062915,6.888820298808836E-5,9.147617594208268E-6,5.583171679952906E-7,1.581175460297199E-8,-2.948251873000319E-9,-6.125908606389493E-10,-3.115924588785748E-6,9.098729980878488E-7,-9.584236783540735E-7,1.364764917791722E-8,9.071426417911129E-8,-7.470348801429279E-9,-3.181457783750006E-9,5.972182322503512E-10,2.073215589061519E-11,-2.251001038251653E-11,4.328500445242575E-5,3.442234505893371E-7,1.722947887348994E-8,-1.485601994383251E-7,7.306303589847472E-9,8.403845783025394E-9,-1.051470813866709E-9,-1.923347325753429E-10,6.282986402179814E-11,-1.271972592875399E-12,-2.636592928950424E-6,1.110622712444711E-6,6.07537658608988E-7,-1.101484989322409E-7,-3.543579108918026E-8,5.83717811031204E-9,5.196404831519553E-10,-1.214841430803593E-10,-8.611440346019012E-12,-2.17965146564122E-13,4.257051305599491E-5,-8.760337217822401E-7,1.562462027295237E-7,7.968637354904799E-8,-1.313913427760328E-8,-1.969022810342945E-9,4.773143891079468E-10,-2.866541060474055E-11,-1.428598250756827E-11,3.105139461760222E-12,-7.715032618634646E-7,-2.844213608143903E-7,-4.843813348145884E-7,1.289079278485685E-7,4.297623325317807E-8,-1.36829158751913E-10,-6.176593561309493E-10,-1.146193588260254E-10,-3.766971072480701E-11,-8.468135075702237E-12,4.225091368163721E-5,2.239864879417491E-7,-1.990630736425551E-7,-8.357271405008087E-8,7.013332139421723E-9,2.948050603010977E-9,3.168087759264994E-10,7.887642826942762E-11,-8.495269909276913E-12,-9.668821612069848E-12,1.079405898135441E-6,2.995327482252318E-6,1.887972924499682E-7,-4.106528987608539E-7,-2.448555056469616E-8,3.177614858378818E-8,1.807948044383447E-9,-1.759782039415893E-9,-9.121183450266568E-11,8.046830496449664E-11,4.156419585684468E-5,-2.652020824153723E-7,4.506325376041391E-7,3.098782635077297E-8,-5.231777453813789E-8,-2.976782247029159E-9,3.216503291629859E-9,1.746734659997822E-10,-1.474572706615079E-10,-7.254964154924114E-12,0.003812464169722091,0.00202401917140515,-0.0002046901419821517,-6.276569127259009E-5,-3.159785935049132E-6,8.098484617007484E-7,2.580637033081892E-7,-2.232027909100557E-8,-4.827101619753472E-9,8.630912753638885E-10,0.3826438253190025,-0.0004021854588283988,-0.0001518812832230879,4.693615368941915E-6,2.747913087499153E-6,4.683116989660803E-7,-4.430130707467109E-8,-1.501584170123406E-8,1.750209448149543E-9,1.474149314262535E-10,7802.826073016837,0.9179424162948552,0.0002009589832479323,5.975962532843111E-5,2.619216781850922E-6,-7.509131715975992E-7,-2.340504901625033E-7,1.992802238928283E-8,4.450145799419344E-9,-7.782907170141744E-10,0.004553112960483899,-0.001487611586082808,-0.0004125327608128716,7.396076118104933E-5,1.161738936696493E-5,-1.249474716963311E-6,-1.728933669399148E-7,1.723784979825499E-8,1.385323683329456E-9,-2.070493651662716E-10,0.3813976870247012,-0.0005706711812209451,0.0001607438911566613,2.83332488971377E-5,-3.762239511911057E-6,-5.556695035280932E-7,5.541769448990947E-8,6.004516505694816E-9,-7.228970137975555E-10,-2.912784080609061E-11,7804.665124549624,0.9212951320969583,0.0003901162616543419,-7.012943855002478E-5,-1.086223835032347E-5,1.166390286905454E-6,1.605558507877613E-7,-1.593246635157999E-8,-1.303316463066161E-9,1.917693096467344E-10,0.001699783546598953,-0.0005318348033830975,0.0005331153925126129,1.405227741209295E-5,-1.347280801954808E-5,2.642038322751779E-7,2.000487970020847E-7,6.396786163638246E-10,-1.225444275074754E-9,-1.752715892497408E-10,0.3816997970266026,0.0007784915632609793,5.64401346246494E-5,-3.462972337403472E-5,1.0489688937535E-7,6.403648733692248E-7,-1.107940037187921E-8,-7.333335938982096E-9,-3.819566207515199E-10,-1.936949150861434E-11,7806.507595297014,0.9203843644553296,-0.0005079899468964079,-1.451384795970759E-5,1.261689916182697E-5,-2.245252337389557E-7,-1.829941192929716E-7,-3.681247009075451E-10,1.102128516082984E-9,1.515213114301934E-10,0.003830656342181662,0.002249556893849505,7.597857821305264E-5,-4.39945829359927E-5,-9.606620613195451E-8,-1.27198448610904E-6,-7.255497788880802E-8,7.506277699728244E-8,3.540743138232214E-9,-2.645963611348719E-9,0.3827861468019584,0.0001374849363005549,-0.0001510815433983276,-3.231515493396766E-6,-1.952067309861087E-7,-8.470179543955819E-8,1.356722253979241E-7,6.414557274691074E-9,-5.409669277964751E-9,-2.679982524090179E-10,7808.345286729504,0.917698489091227,-7.377213601465647E-5,4.432753255893751E-5,1.918263853662262E-7,1.090367809961081E-6,6.435257014335122E-8,-6.693088731413828E-8,-3.181927501157406E-9,2.364643739691493E-9,0.0,0.0]; | 20,631 | 20,631 | 0.855315 |
7997b1c3f2b8ed29de39ba12fc93b087008df563 | 3,441 | php | PHP | resources/views/core/reservas/index.blade.php | Shinseiki86/reservas-lavadoras | 5fc94b7234d399ede59ffd0e2067bc47c9765ed5 | [
"MIT"
] | null | null | null | resources/views/core/reservas/index.blade.php | Shinseiki86/reservas-lavadoras | 5fc94b7234d399ede59ffd0e2067bc47c9765ed5 | [
"MIT"
] | null | null | null | resources/views/core/reservas/index.blade.php | Shinseiki86/reservas-lavadoras | 5fc94b7234d399ede59ffd0e2067bc47c9765ed5 | [
"MIT"
] | null | null | null | @extends('layouts.menu')
@section('title', '/ Reservas')
@include('datepicker')
@include('select2')
@rinclude('index-head')
@rinclude('index-scripts')
@section('section')
<div class="panel panel-default">
<div class="panel-heading">
<div class="row">
<div class="col-xs-8">
<h2>Calendario de Reservas</h2>
</div>
<div class="col-xs-4 text-right" id="btn-create" class="col-xs-3 col-md-9 col-lg-9">
<a class='btn btn-primary btn-lg' role='button' data-toggle="modal" data-target="#modalcrearres" href="#">
<i class="fa fa-plus" aria-hidden="true"></i>
<span class="hidden-xs">Crear Reserva</span>
<span class="sr-only">Crear</span>
</a>
</div>
</div>
</div>
<div class="panel-body"> <!-- Main content -->
<div class="row">
<div class="col-xs-12 col-sm-12"> <!-- col des. estados -->
<table class="col-xs-12 col-sm-12" class="status-legend" cellspacing="1">
<tbody>
<tr>
<td class="estados hide"></td>
<td class="estados aprobada">APROBADA</td>
<td class="estados pendiente">PENDIENTE POR APROBAR</td>
<td class="estados activada">ACTIVADA</td>
{{-- <td class="estados anulada">ANULADA</td> --}}
</tr>
</tbody>
</table>
</div>
<div class="col-xs-12 col-sm-12"> <!-- col calendar -->
<div class="box box-primary">
<div class="box-body no-padding">
<!-- THE CALENDAR -->
<div id="calendar"></div>
</div><!-- /.box-body -->
</div> <!-- /. box -->
</div> <!-- /.col calendar -->
</div> <!-- /.row -->
<!-- /.Main content -->
</div><!-- /.panel-body -->
</div><!-- /.panel -->
@rinclude('index-modalCrearReservas')
<div class="modal fade" data-backdrop="static" data-keyboard="false" id="modalReserva" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header modal-header-reserva" style="padding:40px 50px;">
<h2><span class="glyphicon glyphicon-modal-window"></span> Detalle Reserva</h2>
</div>
<div class="modal-body" id="divmodal" style="padding:40px 50px;">
AQUÍ VA LA INFO
</div>
<div class="modal-footer">
<form id="frmDelete" method="POST" action="" accept-charset="UTF-8" class="frmModal pull-right">
<button type="button" class="btn btn-xs btn-default" data-dismiss="modal">
<i class="fas fa-times" aria-hidden="true"></i> Cerrar
</button>
{{ Form::token() }}
{{ Form::hidden('_method', 'DELETE') }}
{{ Form::button('<i class="fas fa-trash" aria-hidden="true"></i> Anular ',[
'class'=>'btn btn-xs btn-danger',
'type'=>'submit',
'data-toggle'=>'modal',
'data-backdrop'=>'static',
'data-keyboard'=>'false',
//'data-target'=>'#msgModalDeleting',
]) }}
</form>
</div>
</div>
</div>
</div>
<!-- Mensaje Modal al borrar registro. Bloquea la pantalla mientras se procesa la solicitud -->
<div class="modal fade" data-backdrop="static" data-keyboard="false" id="msgModalProcessing" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-body">
<h4>
<i class="fa fa-cog fa-spin fa-3x fa-fw" style="vertical-align: middle;"></i> Cargando...
</h4>
</div>
</div>
</div>
</div><!-- Fin de Mensaje Modal al borrar registro.-->
{{-- @include('reservas/index-modalReservasPorDias') --}}
<div id="errorAjax"></div>
@endsection | 29.663793 | 110 | 0.593432 |
1427cb83c868750304ba9ceac5a36018b49c3516 | 903 | ts | TypeScript | src/router.ts | Sighmir/techtalk-rest-apis | 33cce4b24fa5260c0b9123017efafe96119e0ff6 | [
"MIT"
] | null | null | null | src/router.ts | Sighmir/techtalk-rest-apis | 33cce4b24fa5260c0b9123017efafe96119e0ff6 | [
"MIT"
] | null | null | null | src/router.ts | Sighmir/techtalk-rest-apis | 33cce4b24fa5260c0b9123017efafe96119e0ff6 | [
"MIT"
] | null | null | null | import express from "express";
import { addUser, deleteUser, getUsers, updateUser } from "./controller";
const router = express.Router();
router.get("/users", async (req, res) => {
const { status, message } = await getUsers();
res.status(status).end(message);
});
router.post("/users", async (req, res) => {
const { username, password } = req.body;
const { status, message } = await addUser(username, password);
res.status(status).end(message);
});
router.put("/users", async (req, res) => {
const { username, password, newPassword } = req.body;
const { status, message } = await updateUser(username, password, newPassword);
res.status(status).end(message);
});
router.delete("/users", async (req, res) => {
const { username, password } = req.query;
const { status, message } = await deleteUser(username, password);
res.status(status).end(message);
});
export default router;
| 31.137931 | 80 | 0.673311 |
9d4a139f34073b8bcf20e8309d4058b31959ceb3 | 9,488 | lua | Lua | lib/luvit/fs.lua | AndrewTsao/luvit | d016e25b699e97a1fc8ee50d133949580e9e9c06 | [
"Apache-2.0"
] | null | null | null | lib/luvit/fs.lua | AndrewTsao/luvit | d016e25b699e97a1fc8ee50d133949580e9e9c06 | [
"Apache-2.0"
] | null | null | null | lib/luvit/fs.lua | AndrewTsao/luvit | d016e25b699e97a1fc8ee50d133949580e9e9c06 | [
"Apache-2.0"
] | null | null | null | --[[
Copyright 2012 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS-IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--]]
local native = require('uv_native')
local table = require('table')
local iStream = require('core').iStream
local fs = {}
local sizes = {
Close = 1,
Read = 3,
Write = 3,
Unlink = 1,
Mkdir = 2,
Rmdir = 1,
Readdir = 1,
Stat = 1,
Fstat = 1,
Rename = 2,
Fsync = 1,
Fdatasync = 1,
Sendfile = 4,
Chmod = 2,
Utime = 3,
Futime = 3,
Lstat = 1,
Link = 2,
Symlink = 3,
Readlink = 1,
Fchmod = 2,
Chown = 3,
Fchown = 3,
}
-- Default callback if one isn't given for async operations
local function default(err, ...)
if err then error(err) end
end
-- Wrap the core fs functions in forced sync and async versions
for name, arity in pairs(sizes) do
local sync, async
local real = native["fs" .. name]
if arity == 1 then
async = function (arg, callback)
return real(arg, callback or default)
end
sync = function (arg)
return real(arg)
end
elseif arity == 2 then
async = function (arg1, arg2, callback)
return real(arg1, arg2, callback or default)
end
sync = function (arg1, arg2)
return real(arg1, arg2)
end
elseif arity == 3 then
async = function (arg1, arg2, arg3, callback)
return real(arg1, arg2, arg3, callback or default)
end
sync = function (arg1, arg2, arg3)
return real(arg1, arg2, arg3)
end
elseif arity == 4 then
async = function (arg1, arg2, arg3, arg4, callback)
return real(arg1, arg2, arg3, arg4, callback or default)
end
sync = function (arg1, arg2, arg3, arg4)
return real(arg1, arg2, arg3, arg4)
end
end
fs[name:lower()] = async
fs[name:lower() .. "Sync"] = sync
end
function modeNum(m, def)
local t = type(m)
if t == 'number' then
return m
elseif t == 'string' then
return tonumber(m, 8)
else
return def and modeNum(def) or nil
end
end
function fs.open(path, flags, mode, callback)
if callback == nil then
callback = mode
mode = nil
end
mode = modeNum(mode, 438 --[[=0666]])
native.fsOpen(path, flags, mode, callback or default)
end
function fs.openSync(path, flags, mode)
return native.fsOpen(path, flags, modeNum(mode, 438 --[[=0666]]))
end
function fs.exists(path, callback)
native.fsStat(path, function (err)
if not err then
return callback(nil, true)
end
if err.code == "ENOENT" or err.code == "ENOTDIR" then
return callback(nil, false)
end
callback(err)
end)
end
function fs.existsSync(path)
local success, err = pcall(function ()
native.fsStat(path)
end)
if not err then return true end
if err.code == "ENOENT" or err.code == "ENOTDIR" then
return false
end
error(err)
end
function writeAll(fd, offset, buffer, callback)
fs.write(fd, offset, buffer, function(err, written)
if err then
fs.close(fd, function()
if callback then callback(err) end
end)
end
if written == #buffer then
fs.close(fd, callback)
else
offset = offset + written
writeAll(fd, offset, buffer, callback)
end
end)
end
function fs.appendFile(path, data, callback)
fs.open(path, 'a', 438 --[[0666]], function(err, fd)
if err then return callback(err) end
writeAll(fd, -1, tostring(data), callback)
end)
end
function fs.appendFileSync(path, data)
data = tostring(data)
local fd = fs.openSync(path, 'a')
local written = 0
local length = #data
local ok, err
ok, err = pcall(function()
while written < length do
written = written + fs.writeSync(fd, -1, data)
end
end)
if not ok then
return err
end
fs.closeSync(fd)
end
function fs.ftruncate(fd, len, callback)
if callback == nil then
callback = len
len = nil
end
native.fsFtruncate(fd, len or 0, callback or default)
end
function fs.ftruncateSync(fd, len)
return native.fsFtruncate(fd, len or 0)
end
function fs.truncate(path, len, callback)
if callback == nil then
callback = len
len = nil
end
fs.open(path, 'w', function(err, fd)
if err then return callback(err) end
native.fsFtruncate(fd, len or 0, function(err)
fs.close(fd, function(err2)
(callback or default)(err or err2)
end)
end)
end)
end
function fs.truncateSync(path, len)
local fd = fs.openSync(path, 'w')
local ok, err
ok, err = pcall(native.fsFtruncate, fd, len or 0)
if not ok then
return err
end
fs.closeSync(fd)
end
local CHUNK_SIZE = 65536
local read_options = {
flags = "r",
mode = "0644",
chunk_size = CHUNK_SIZE,
offset = 0,
fd = nil,
reading = nil,
length = nil -- nil means read to EOF
}
local read_meta = {__index=read_options}
-- TODO: Implement backpressure here and in tcp streams
local ReadStream = iStream:extend()
fs.ReadStream = ReadStream
function ReadStream:initialize(path, options)
if not options then
options = read_options
else
setmetatable(options, read_meta)
end
self.options = options
self.offset = options.offset
if (options.fd ~= nil) then
self.fd = options.fd
self:_read()
return
end
fs.open(path, options.flags, options.mode, function (err, fd)
if err then return self:emit("error", err) end
self.fd = fd
self:_read()
end)
end
function ReadStream:readStart()
if (self.reading) then
return
end
self:_read()
end
function ReadStream:_read()
local options = self.options
local last = options.length and self.offset + options.length
local chunk_size = options.chunk_size
local to_read = (last and chunk_size + self.offset > last and last - self.offset) or chunk_size
self.reading = true
fs.read(self.fd, self.offset, to_read, function (err, chunk, len)
if err or len == 0 then
fs.close(self.fd, function (err)
if err then return self:emit("error", err) end
self:emit("close")
end)
if err then return self:emit("error", err) end
self.reading = false
self:emit("end")
else
self:emit("data", chunk, len)
self.offset = self.offset + len
self:_read()
end
end)
end
-- TODO: Implement backpressure here and in tcp streams
function fs.createReadStream(path, options)
return ReadStream:new(path, options)
end
function fs.readFileSync(path)
local fd = fs.openSync(path, "r", "0666")
local parts = {}
local length = 0
local offset = 0
repeat
local chunk, len = fs.readSync(fd, offset, CHUNK_SIZE)
if len > 0 then
offset = offset + len
length = length + 1
parts[length] = chunk
end
until len == 0
fs.closeSync(fd)
return table.concat(parts)
end
function fs.readFile(path, callback)
local stream = fs.createReadStream(path)
local parts = {}
local num = 0
stream:on("data", function (chunk, len)
num = num + 1
parts[num] = chunk
end)
stream:on("end", function ()
return callback(nil, table.concat(parts, ""))
end)
stream:on("error", callback)
end
function fs.writeFileSync(path, data)
local fd = fs.openSync(path, "w", "0666")
fs.writeSync(fd, 0, data)
fs.closeSync(fd)
end
function fs.writeFile(path, data, callback)
if not type(data) == 'string' then
error('data parameter must be a string')
end
fs.open(path, "w", "0666", function (err, fd)
if err then return callback(err) end
local offset = 0
local length = #data
local function writechunk()
fs.write(fd, offset, data:sub(offset + 1, CHUNK_SIZE + offset), function (err, bytes_written)
if err then return callback(err) end
if bytes_written + offset < length then
offset = offset + bytes_written
writechunk()
else
fs.close(fd, callback)
end
end)
end
writechunk()
end)
end
local SyncWriteStream = iStream:extend()
fs.SyncWriteStream = SyncWriteStream
-- Copy hack from nodejs to stdout and stderr to piped file
function SyncWriteStream:initialize(fd)
self.fd = fd
self.offset = 0
end
function SyncWriteStream:write(chunk, callback)
len = fs.writeSync(self.fd, self.offset, chunk)
self.offset = self.offset + len
return len
end
function SyncWriteStream:finish(chunk, callback)
if (chunk ~= nil) then
self:write(chunk)
end
self:emit("end")
self:close()
end
function SyncWriteStream:close(chunk, callback)
fs.closeSync(self.fd)
end
-- TODO: Create non-sync writestream
local WriteStream = SyncWriteStream:extend()
fs.WriteStream = WriteStream
local write_options = {
flags = "w",
mode = "0644",
chunk_size = CHUNK_SIZE,
offset = 0,
}
local write_meta = {__index=write_options}
function fs.createWriteStream(path, options)
if not options then
options = write_options
else
setmetatable(options, write_meta)
end
if (options.fd ~= nil) then
return WriteStream:new(options.fd)
end
fd = fs.openSync(path, options.flags, options.mode)
return WriteStream:new(fd)
end
function WriteStream:open(fd)
self:initialize(fd)
end
return fs
| 22.862651 | 99 | 0.664945 |
07a1daebcb5b29d6388ac939eef9cedcf64c9861 | 265 | css | CSS | public/css/minified/queries.css | RetaxMaster/BaseDeDatos | a26bcb23b2237c978d187edcdd59125538511157 | [
"MIT"
] | null | null | null | public/css/minified/queries.css | RetaxMaster/BaseDeDatos | a26bcb23b2237c978d187edcdd59125538511157 | [
"MIT"
] | 7 | 2021-03-09T16:37:43.000Z | 2022-02-26T17:20:58.000Z | public/css/minified/queries.css | RetaxMaster/BaseDeDatos | a26bcb23b2237c978d187edcdd59125538511157 | [
"MIT"
] | null | null | null | /* lg */
@media (max-width: 991px) {
.margin-grid {
margin: 0 80px;
}
}
/* md */
@media (max-width: 767px) {
.margin-grid {
margin: 0 50px;
}
}
/* sm */
@media (max-width: 575px) {
.margin-grid {
margin: 0 25px;
}
} | 13.25 | 27 | 0.464151 |
cdfab437767c454e83a6f74088b4a3f6c49619aa | 5,004 | cs | C# | UnitTest1.cs | utilitydelta/dotnet-brotli-tester | 5f817b49b1c000a3ccbad0e2afd3170b1dfb8ae7 | [
"MIT"
] | null | null | null | UnitTest1.cs | utilitydelta/dotnet-brotli-tester | 5f817b49b1c000a3ccbad0e2afd3170b1dfb8ae7 | [
"MIT"
] | null | null | null | UnitTest1.cs | utilitydelta/dotnet-brotli-tester | 5f817b49b1c000a3ccbad0e2afd3170b1dfb8ae7 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Reflection;
using Xunit;
namespace DotnetCoreBrotliTester
{
public class UnitTest1
{
private static Stream ExtractResource(string filename)
{
var a = Assembly.GetExecutingAssembly();
return a.GetManifestResourceStream(filename);
}
[Theory]
[InlineData(50000)]
[InlineData(500000)]
[InlineData(5000000)]
public void TestBrotliChunkDecompressOk(int chunkSize)
{
var origStream = ExtractResource("DotnetCoreBrotliTester.image.jpg");
var compressedStream = new MemoryStream();
var compressedBoundaries = new List<(long start, long end)>();
while (origStream.Position < origStream.Length)
{
var size = origStream.Length - origStream.Position;
if (size > chunkSize) size = chunkSize;
var bytes = new byte[size];
origStream.Read(bytes, 0, bytes.Length);
var startPos = compressedStream.Position;
using (var compressor = new BrotliStream(compressedStream, CompressionMode.Compress, true))
{
compressor.Write(bytes, 0, bytes.Length);
}
var endPos = compressedStream.Position;
compressedBoundaries.Add((startPos, endPos));
}
var decompressedOriginal = new MemoryStream();
compressedStream.Position = 0;
foreach (var compressedBoundary in compressedBoundaries)
{
var compressedBytes = new byte[compressedBoundary.end-compressedBoundary.start];
compressedStream.Read(compressedBytes, 0, compressedBytes.Length);
using (var chunk = new MemoryStream(compressedBytes))
using (var decompressor = new BrotliStream(chunk, CompressionMode.Decompress, true))
{
decompressor.CopyTo(decompressedOriginal);
}
}
decompressedOriginal.Position = 0;
origStream.Position = 0;
using (var fileTest = File.OpenWrite($"brotli-working-image-{chunkSize}.jpg"))
{
decompressedOriginal.CopyTo(fileTest);
}
decompressedOriginal.Position = 0;
Assert.True(CompareStreams(origStream, decompressedOriginal));
}
[Theory]
[InlineData(50000)]
[InlineData(500000)]
[InlineData(5000000)]
public void TestBrotliNoChunkDecompressFail(int chunkSize)
{
var origStream = ExtractResource("DotnetCoreBrotliTester.image.jpg");
var compressedStream = new MemoryStream();
while (origStream.Position < origStream.Length)
{
var size = origStream.Length - origStream.Position;
if (size > chunkSize) size = chunkSize;
var bytes = new byte[size];
origStream.Read(bytes, 0, bytes.Length);
using (var compressor = new BrotliStream(compressedStream, CompressionMode.Compress, true))
{
compressor.Write(bytes, 0, bytes.Length);
}
}
var decompressedOriginal = new MemoryStream();
compressedStream.Position = 0;
using (var decompressor = new BrotliStream(compressedStream, CompressionMode.Decompress, true))
{
decompressor.CopyTo(decompressedOriginal);
}
decompressedOriginal.Position = 0;
origStream.Position = 0;
using (var fileTest = File.OpenWrite($"brotli-fail-image-{chunkSize}.jpg"))
{
decompressedOriginal.CopyTo(fileTest);
}
decompressedOriginal.Position = 0;
if (chunkSize <= 500000)
{
Assert.False(CompareStreams(origStream, decompressedOriginal));
}
else
{
Assert.True(CompareStreams(origStream, decompressedOriginal));
}
}
private bool CompareStreams(Stream a, Stream b)
{
if (a == null &&
b == null)
return true;
if (a == null ||
b == null)
{
throw new ArgumentNullException(
a == null ? "a" : "b");
}
if (a.Length < b.Length)
return false;
if (a.Length > b.Length)
return false;
for (int i = 0; i < a.Length; i++)
{
int aByte = a.ReadByte();
int bByte = b.ReadByte();
if (aByte.CompareTo(bByte) != 0)
return false;
}
return true;
}
}
}
| 32.921053 | 107 | 0.540368 |
d401212f6424c246b505b1deda02f8475f602e6c | 568,742 | sql | SQL | samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/PostDeploymentScripts/pds142-upd-app-stateprovinces-borders.sql | manikanth/sql-server-samples | 43719f8e8e13566ad48ba977e80b406464cf109e | [
"MIT"
] | 4,474 | 2019-05-06T23:05:37.000Z | 2022-03-31T23:30:31.000Z | samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/PostDeploymentScripts/pds142-upd-app-stateprovinces-borders.sql | manikanth/sql-server-samples | 43719f8e8e13566ad48ba977e80b406464cf109e | [
"MIT"
] | 256 | 2019-05-07T07:07:19.000Z | 2022-03-29T17:11:41.000Z | samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/PostDeploymentScripts/pds142-upd-app-stateprovinces-borders.sql | manikanth/sql-server-samples | 43719f8e8e13566ad48ba977e80b406464cf109e | [
"MIT"
] | 5,075 | 2019-05-07T00:07:21.000Z | 2022-03-31T23:31:15.000Z | PRINT 'Update Application.StateProvinces Borders'
GO
DECLARE @CurrentDateTime datetime2(7) = '20130101';
DECLARE @EndOfTime datetime2(7) = '99991231 23:59:59.9999999';
DECLARE @BorderBinary varbinary(max);
DECLARE @Border geography;
SET @BorderBinary = 0x010300000001000000b60000003277ee90fe1d56c057bb58bad3e43f4089e942acfe1d56c04b3acac16cca3f400f4e7809;
SET @BorderBinary += 0xac1d56c01971eb59acb23f40d0ce6916681d56c0347ee195249f3f40a1ef71b9c31c56c01d942901936f3f407ec16ed8b61c;
SET @BorderBinary += 0x56c0978e39cfd86b3f402829b000a61b56c08aff3ba2421d3f4010b86eed431b56c09f5ef65d8fff3e409516ccdd651a56c0;
SET @BorderBinary += 0xb459761d50bc3e40cdc7b5a1621a56c04529215855bb3e40ccb56801da1956c0bdfc4e93198b3e40bd8a8c0e481956c02653;
SET @BorderBinary += 0x05a3925e3e409141ee224c1756c0daa6785c54633e40014bae62f11356c0963b33c1705e3e40838593347f1056c07b9dd497;
SET @BorderBinary += 0xa5513e404a404cc2850c56c0041a6cea3c523e404966f50eb70856c0f8e0b54b1b523e40130ebdc5c30656c03368e89fe066;
SET @BorderBinary += 0x3e40c4978922a40656c0e177d32d3b803e400c738236390556c0b33f506edb8b3e40dae4f049270456c0997ff44d9a963e40;
SET @BorderBinary += 0xb79a75c6f70356c0177c9a9317a53e40b35a608f890056c0f032c34659af3e405912a0a696fb55c0a14b38f416a73e40da51;
SET @BorderBinary += 0x9ca38efa55c090f46915fd953e4061dc0da2b5f955c09d0df967068d3e40b7239c16bcfb55c0077aa86dc37c3e4029064834;
SET @BorderBinary += 0x81fa55c07f4e417e36723e40fa5e43705cf755c0b5a679c729623e40b4ca4c69fdf255c0b96ddfa3fe523e4080d591239df3;
SET @BorderBinary += 0x55c0787c7bd7a0473e4049f086342af955c03ffed2a23e3d3e408331225168f455c00c384bc9723a3e40a148f7730aea55c0;
SET @BorderBinary += 0x5184d4edec3f3e40d72e6d382ce155c05ca79196ca473e4072a43330f2dc55c0d6a6b1bd16583e40e8bb5b59a2db55c0e3f9;
SET @BorderBinary += 0x0ca837673e40946b0a6476d755c0ff06edd5c76f3e401249f4328ada55c00fd253e410753e40f373435376dc55c0463eaf78;
SET @BorderBinary += 0xea813e40fdf675e09cdb55c0ff8ea850dd8c3e40f5a0a014add955c0244223d8b89a3e4003ce52b29cd955c003e621533ea8;
SET @BorderBinary += 0x3e402b14e97e4edc55c0f336363b52b13e40ec9fa70183e155c09a20ea3e00bd3e40b56ad784b4e255c0274d83a279c43e40;
SET @BorderBinary += 0xbef4f6e7a2e855c03e03eacda8dd3e40e4486760e4e555c0c073efe192f33e4051d7dafb54e655c0984f560c57ff3e400206;
SET @BorderBinary += 0xa53653e655c0071d4e0f57ff3e40560c570740e155c0340f60915fff3e4097fbe42840db55c0dc82a5ba80ff3e405be7df2e;
SET @BorderBinary += 0xfbd355c01132906797ff3e40628200ea6fca55c0d9aa850cc0ff3e40003961c268ca55c08bdafd2ac0ff3e40e52329e961bb;
SET @BorderBinary += 0x55c04df04dd367ff3e405cfdd8243fb555c0e7887c9752ff3e40326bffc648b255c0a5d207473aff3e40164dd4230cac55c0;
SET @BorderBinary += 0x13c5491607ff3e40805f234910a455c0eee9ea8ec5fe3e40a143dc8ddf9855c0658eaf6699fe3e40fa78e8bb5b9755c0aeee;
SET @BorderBinary += 0x586c93fe3e4054a73ddffb8b55c0e14f23287bfe3e401bb876103e8255c0b6c6cf5f66fe3e402eaa4544317955c0340c1f11;
SET @BorderBinary += 0x53fe3e4085949f54fb6f55c0274c18cdcafe3e40fd9e007d166555c0bd98ab463dff3e4032540a42df5f55c03dd4781574ff;
SET @BorderBinary += 0x3e40eb6b7747405f55c07b950b9c7aff3e40ab083719555555c0a38d23d6e2ff3e40a3e36a64574955c00c569c6a2d003f40;
SET @BorderBinary += 0xbef6cc92004255c02bd7db662a003f4074d190f1284055c024b20fb22c003f40e8db82a5ba4055c0e4d4ce30b50d3f40fa82;
SET @BorderBinary += 0x88d3594155c0e495af9951133f40cf0f2384474255c057b08d78b21b3f40fdf2c98ae14655c0764eb340bb2f3f40166c239e;
SET @BorderBinary += 0xec4655c0390a100533423f40fd8172dbbe4555c03e78edd2864b3f402c11df63af4555c079d70f8a034f3f40aed7f4a0a045;
SET @BorderBinary += 0x55c0e5d2f88557523f408713984eeb4555c0fb56ebc4e55c3f40d617096d394455c056b439ce6d6e3f403c2d3f70954455c0;
SET @BorderBinary += 0x3bf88903e8773f408a62a0bf4e4355c0de9d529800853f40b854a52dae4255c08ba71e69708b3f40791edc9db54355c0a63f;
SET @BorderBinary += 0xfb9122923f400629780ab94355c0a0185932c79e3f40ae2afbae084855c059ddea39e9b13f40d920938c9c4755c0e0f42ede;
SET @BorderBinary += 0x8fbb3f40c151ea37074855c0990dbdea51c33f40d4196f25444855c0242b0b51c0c73f40c6a354c2134955c0e9ce13cfd9d6;
SET @BorderBinary += 0x3f40bbeead484c4755c0f78daf3db3e43f401b2e724f574455c022861dc6a4f73f40109d11de114455c0054f2157eafd3f40;
SET @BorderBinary += 0x4d42e6514a4355c01891e101f807404081768714034355c0dc8310902f0b40400d6b2a8bc24355c06bd5ae0969114040fb05;
SET @BorderBinary += 0xbb61db3f55c0761a69a9bc1740401a886533873b55c0fb93f8dc091c404070e30755e03a55c0abac106f8c1d4040d80e46ec;
SET @BorderBinary += 0x133955c078ea9106b7214040022a1c412a3d55c07ac2120f282740409ece15a5844055c05f28603b182b404096ae601bf13e;
SET @BorderBinary += 0x55c0ba2efce07c2e4040f6709a2acb3e55c05f9c9e62843040404b8fa67a323e55c09a215514af384040e1549781fc3f55c0;
SET @BorderBinary += 0x68e70792e740404069431587124055c07e088ac04c4140404ef38e53744055c0e1b54b1b0e43404039ecbe63784455c08865;
SET @BorderBinary += 0x3387a44a4040df1da85ede4455c0d0c7af27d54d404079e75086aa4555c01f12bef7375440405a643bdf4f4755c00c3b8c49;
SET @BorderBinary += 0x7f5d4040adbe315af84755c0efd92166356040406d37c1374d4a55c06b425a63d06940407a58a835cd4b55c0923eada23f6e;
SET @BorderBinary += 0x4040ab79f658e94b55c05543dab0606f4040f84f3750e04e55c0f241cf66d58d40400161ea51e04e55c01ef25f78d58d4040;
SET @BorderBinary += 0x9b7ae960244f55c04b5d12e694904040ca023b94d65255c02846bb7ac8b6404057b42333845355c01758abf5cabd4040f357;
SET @BorderBinary += 0xc85c195455c0ee2076a6d0c34040c9958cb2a35555c0ca3c9c4099d34040554acff4125755c0fcdd3b6a4ce24040802bef35;
SET @BorderBinary += 0xbf5855c0cfbf5df46af34040a9143b1a875955c03594da8b68fb404052fa411b875955c0b9eaa59668fb40402835e7dcf25a;
SET @BorderBinary += 0x55c08506aa11580a41408aaa5fe97c5b55c052f2ea1c03104140b0f66919a45d55c0400504e8a1244140154824d0685e55c0;
SET @BorderBinary += 0x8cdbdedbfd2b41400f0c207c286055c0048d9944bd3c4140578876b7d56055c04e988fad10434140bd1b0ba5b86155c0edf4;
SET @BorderBinary += 0x820d5a4b41402a481cb2336255c03e929f5cd84f414021cced5eee6355c04c35b396026041400c541acc4c6555c08a99e7bf;
SET @BorderBinary += 0x226e414053aef02e176655c0b0743e3c4b764140c4ebfa05bb6655c09b8bbfed097e4140e3eda1e44a7755c0a23bf506577e;
SET @BorderBinary += 0x41401686c8e9eb9355c0c5909c4cdc7e4140eaba8d93669455c04c62b5a9db7e414097c80567f09d55c05434d6fece7e4140;
SET @BorderBinary += 0x66571af626b255c030f95565f77e4140dae4f04927b255c0db8afd65f77e41401c460ab785b555c0c53d392b147f41400618;
SET @BorderBinary += 0x8e117dcd55c0a1bef3d7e07f414058a65f22decd55c091eee714e47f4140f91916e556ce55c0c8f6fecae67f4140c2efb54e;
SET @BorderBinary += 0xcae655c0f2f8ec5373804140ac8bdb6800e855c06ef9484a7a804140e57adb4c85f655c05a83f755b9804140853f4ddd08ff;
SET @BorderBinary += 0x55c0e958b7a9c180414005bd3786000056c0ae62f19bc280414072dbbe47fd0c56c0e4b9be0f07814140d8463cd9cd0c56c0;
SET @BorderBinary += 0x906456ef707f4140f699b33ee50956c0c70be9f010764140efaa07cc430656c080b6d5ac337241400584d6c3970856c08043;
SET @BorderBinary += 0xa852b34f41405b00b98aee0856c068e1f909754a41405d99d9eae90956c074a83cb5443b4140efee62b8160b56c02d58ced2;
SET @BorderBinary += 0x17294140407e1183070d56c0206d3857130b414019726c3d430d56c087a3ab7477074140594b9394e50f56c08a47cf2159df;
SET @BorderBinary += 0x40405d68aed3481056c0d8101c9771d94040ad0e88ad911156c0328d11295ac44040e1e1b5fd7b1356c0306475abe7a44040;
SET @BorderBinary += 0xaf5a99f04b1456c080b8ab579197404051c6d7f3c31556c09f6ef4bfe17e40405788bc473d1656c0c13fa59cea764040a816;
SET @BorderBinary += 0x11c5e41756c0d3bce3141d5b4040723bcf72e91856c01add27eaff494040cb1289c7f61a56c04f2529cc8227404029e620e8;
SET @BorderBinary += 0x681b56c0632992af0420404044f9b8e2971b56c0cbaf232f231d404081bd1b4e041d56c09f2dfd50ca064040603c8386fe1d;
SET @BorderBinary += 0x56c09d82fc6ce4ee3f403277ee90fe1d56c057bb58bad3e43f40;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'AL';
SET @BorderBinary = 0x01060000002f000000010300000001000000090000003c9f01f5666f6640c760c5a9d6fc4940f390291f826f6640f86c1d;
SET @BorderBinary += 0x1cecf549404a9baa7b64716640fb93f8dc09f24940cf68ab92c874664087bf266bd4ef494023111ac1c67766409294f430b4;
SET @BorderBinary += 0xf44940f5f411f8c378664062ba10ab3ffc4940d4d2dc0a61746640b08ee3874a034a40d427b9c3a6726640b01d8cd827024a;
SET @BorderBinary += 0x403c9f01f5666f6640c760c5a9d6fc49400103000000010000000e000000438f183d37536640fe40b96ddfd34940cc0ef10f;
SET @BorderBinary += 0x5b536640376c5b94d9ce4940c66d3480b7586640ce8b135fedc64940956247e3d05b6640382a37514bc74940c5e3a25ac45d;
SET @BorderBinary += 0x6640137cd3f4d9c34940d5777e5102616640307f85cc95b94940cec0c8cb1a686640c6f7c5a52aab49401ccd91955f6f6640;
SET @BorderBinary += 0x4929e8f692ae4940213cda38626d66401de1b4e045b54940b7b41a1277696640e5b7e864a9b549408cf4a2763f666640795a;
SET @BorderBinary += 0x7ee02abd49403f00a94d9c5d6640faeb1516dccf49409b779ca223556640680586ac6ed74940438f183d37536640fe40b96d;
SET @BorderBinary += 0xdfd3494001030000000100000007000000a08ec70cd44e6640723106d671fe4940747973b8d64d6640b91ad99596fb494002;
SET @BorderBinary += 0x2f336c145066407405db8827f3494008944db942516640141f9f909df349402cedd45cee526640083c3080f0f94940126c5c;
SET @BorderBinary += 0xffae516640deacc1fbaafc4940a08ec70cd44e6640723106d671fe494001030000000100000006000000b9fdf2c98a466640;
SET @BorderBinary += 0x6649809a5aea494002f6d1a9ab486640b4ad669df1e149401689096af84b6640060fd3beb9df4940ff9254a6184c6640cafa;
SET @BorderBinary += 0xcdc474e54940c4d0eae48c4a6640f7c610001ceb4940b9fdf2c98a4666406649809a5aea4940010300000001000000070000;
SET @BorderBinary += 0x0095f0845eff42664099d53bdc0e074a40546ccceb8842664051f701486d024a40dcf7a8bfde43664057e6adba0efd494087;
SET @BorderBinary += 0x38d6c56d466640f99d2633defe49404fe8f5277146664019e1ed4108044a40e82d1edef3446640d024b1a4dc074a4095f084;
SET @BorderBinary += 0x5eff42664099d53bdc0e074a40010300000001000000140000008827bb99d1266640554e7b4acef549404e7cb5a3b8256640;
SET @BorderBinary += 0xcb82893f8af0494097c5c4e663286640bedbbc7152ee49400f7ee200fa296640e238f06ab9e94940fe0b0401b22a6640e317;
SET @BorderBinary += 0x5e49f2ee4940e066f162e12b664036e50aef72f349401cd13deb1a2d66400ab77c2425f7494080f10c1afa2f6640986a662d;
SET @BorderBinary += 0x05f649407077d66e3b336640764d486b0cf64940aad898d791336640508bc1c3b4f94940d2e28c614e326640c45e28603b00;
SET @BorderBinary += 0x4a40662d05a47d33664075ac527aa6034a404eb51666a13566409d62d520cc0b4a406d8d08c6c1346640f185c954c1104a40;
SET @BorderBinary += 0xa0e3a3c59932664058a7caf78c124a40a260c614ac30664067cf656a12084a400af148bcbc2e664057923cd7f7ff494056d8;
SET @BorderBinary += 0x0c70c12b6640caa145b6f3fb4940d8f6764bf2296640b29e5a7d75f749408827bb99d1266640554e7b4acef5494001030000;
SET @BorderBinary += 0x0001000000070000002e008dd2a5bb654067d13b1570654a40c1e4469135ba65402c2b4d4a41614a40ce39782634bf654064;
SET @BorderBinary += 0x213a048e5a4a40c83f33880fc56540f2052d24605a4a40bad573d27bc46540d672672618604a40fe47a64327c26540a99ecc;
SET @BorderBinary += 0x3ffa604a402e008dd2a5bb654067d13b1570654a400103000000010000000c000000000341800cae654017edf1423a3c4a40;
SET @BorderBinary += 0x768d96033daa65400f070951be344a40b62dca6c90af6540b2f0f5b52e2f4a4019c91ea166b16540252026e142324a40a4e3;
SET @BorderBinary += 0x6a64d7b4654044a33b889d2d4a40d15ad1e638b765405eb87361a42d4a400d52f014f2b76540b35bcb6438324a409eb12fd9;
SET @BorderBinary += 0x78b66540c21550a8a7374a4035ecf7c4bab865408f88299144414a404cfbe6fe6ab465406aa2cf4719434a4094c3279dc8b1;
SET @BorderBinary += 0x654081aca7565f3d4a40000341800cae654017edf1423a3c4a4001030000000100000014000000ca181f66af8e6540293bfd;
SET @BorderBinary += 0xa02e7a4a40e8d500a5218f6540c5e40d30f3714a40a2d634efb8926540fdf50a0bee754a40e4654d2c70956540b2f1608bdd;
SET @BorderBinary += 0x744a40e82e89b3229865409448a29751704a401b9c887e6d986540bc934f8f6d694a40d8d9907fe6996540a987687407654a;
SET @BorderBinary += 0x40ff774485ea9c6540a1b8e34d7e614a4097218e75719f65408542041c42654a4049f59d5f14a365406d8ac745b5644a4086;
SET @BorderBinary += 0x57923c57a5654057ea5910ca654a402eac1bef8ea665407a1b9b1da96c4a40a52daef119a96540bb2363b5f9694a408c0ddd;
SET @BorderBinary += 0xec8fad65408ffaeb15166a4a40c2dec4909cad65409352d0ed256f4a404ed4d2dc0aa86540e6caa0dae0784a4024d06053e7;
SET @BorderBinary += 0xa365409bc3b5dac37e4a4040bd19355f99654064e597c118814a401e1494a2959465405915e126a3804a40ca181f66af8e65;
SET @BorderBinary += 0x40293bfda02e7a4a400103000000010000004d00000093a7aca6ebbd60c0ba641c23d9f54b409cc420b072bd60c0c7f48425;
SET @BorderBinary += 0x1eee4b409432a9a18dbb60c0f2b391eba6ec4b40a0fcdd3b6ab660c0e7fd7f9c30eb4b40cdb051d66fb660c04d10751f80e4;
SET @BorderBinary += 0x4b406c97361c96b460c077499c1551dd4b40032670ebeeb660c09388f02f82d44b401211fe4550b760c0c32b499eebcb4b40;
SET @BorderBinary += 0x7784d38217b860c096e65608abc54b40d97745f03fb960c0cd8c7e349cba4b4034be2f2e55b660c0e447fc8a35ba4b406492;
SET @BorderBinary += 0x91b330b460c031b43a3943b54b407f85cc9541b460c0eb89ae0b3fae4b4096d1c8e715b660c0d5cdc5dff6a64b40dfc0e446;
SET @BorderBinary += 0x11b560c09350fa42c89d4b40dc2f9fac18b360c038f4160fef9b4b407155d977c5b260c09e8026c286a74b40cccd37a2fbae;
SET @BorderBinary += 0x60c0580053060ea44b40ab77b81d1aaf60c041f0f8f6ae9f4b40904ab1a3f1ac60c068739cdb849b4b40e78efe97ebaa60c0;
SET @BorderBinary += 0x93e00d69549a4b4015e5d2f805a960c0eb33677dca9b4b40a833f79070a760c0b9c3263273994b407afa08fce1a660c0bccd;
SET @BorderBinary += 0x1b2785914b407840d994aba760c075543541d48b4b4088d9cbb653a660c01dc70f9546844b40bed87bf145a560c08315a75a;
SET @BorderBinary += 0x0b7d4b408a389d642ba360c0c5e57805a2754b40e0d8b3e7b29f60c02a1bd65416694b405a457f68669d60c037bf61a24164;
SET @BorderBinary += 0x4b402cb7b41a129c60c0fc51d4997b604b403cf71e2eb99b60c0c2499a3fa6594b4088484dbb189860c0361d01dc2c564b40;
SET @BorderBinary += 0x0eddec0f949560c02a172aff5a564b401ea33cf3729460c0f3565d876a604b40fc5069c44c9060c082de1b4300644b406abb;
SET @BorderBinary += 0x09bee98c60c0454948a46d644b40a7936c75b98b60c039ed293927604b40074147abda8960c0b39602d2fe5b4b403e26529a;
SET @BorderBinary += 0x4d8760c02905dd5ed25c4b406afcc22b498560c0f7e461a1d6584b40ee04fbaff38060c050a8a78fc0594b4008cc43a6fc7f;
SET @BorderBinary += 0x60c0ab3e575bb15d4b402dcc423ba77e60c0ed28ce5147654b40e7abe463777f60c03a765089eb724b40e7fc14c7817f60c0;
SET @BorderBinary += 0xf58079c894834b40e066f162e18060c0bada8afd658d4b40acc612d6467f60c0389f3a5629974b40cafe791a308160c066d8;
SET @BorderBinary += 0x28eb37a34b40f488d1730b8460c0f3c98ae1eaa44b402c11a8fe418860c0fb3e1c2444b54b400e846401938460c0af3f89cf;
SET @BorderBinary += 0x9dba4b40892650c4a28960c0bbb376db85c64b40cf31207b3d8c60c0fc6ce4ba29d54b405ccccf0dcd8e60c0af230ed940d6;
SET @BorderBinary += 0x4b4069aa27f30f8f60c0441669e21de44b401bb80375ca9360c0618bdd3eabf44b4085ecbc8dcd9a60c074b4aa251d034c40;
SET @BorderBinary += 0x16e72d1d829b60c0fce38bd9ba064c40c4414294af9c60c071fc5069c40c4c40fa298e03af9a60c038f6ecb94c0d4c40726d;
SET @BorderBinary += 0xa818679c60c0291e17d522164c400ef96706f19e60c08ba37213b51c4c407d67e76247a160c0fbda4c73991e4c401d7233dc;
SET @BorderBinary += 0x80a260c02f4b3b35971f4c40bc04a73e10a560c0e6e95c514a284c409180d1e54da660c0ba85ae44a02a4c4014747b4963ad;
SET @BorderBinary += 0x60c03ffa264d832a4c404ecfbbb1a0b260c067d2a6ea1e2d4c4052b3075a01b560c050e27327d8294c404583143c05b560c0;
SET @BorderBinary += 0x185c7347ff234c4088f4dbd781b560c087da368c821c4c407cf31b269ab460c03db665c059104c40d6e5948018b560c07768;
SET @BorderBinary += 0x588cba0a4c406c09f9a067b760c05da10f96b1034c4043554ca51fba60c061c3d32b65fb4b4093a7aca6ebbd60c0ba641c23;
SET @BorderBinary += 0xd9f54b400103000000010000003f0000004a9c155193cc60c0603aaddba06e4c4073486aa164cd60c0f6b52e3542694c40b9;
SET @BorderBinary += 0x8ac56f0acc60c007ec6af294554c407d0569c6a2c960c09013268c664f4c40ce8aa8893eca60c0df13eb54f9464c401cb5c2;
SET @BorderBinary += 0xf4bdc760c00375caa31b474c40fed5e3be55c660c051a1bab9f8434c40aa2688ba0fc860c0e9b7af03e7384c40d5592db0c7;
SET @BorderBinary += 0xc760c0f73c7fdaa8324c402d7aa7026ec960c0368fc360fe2a4c403ed175e107c960c0b5300bed9c204c40668522dd4fc860;
SET @BorderBinary += 0xc01aa3755435114c40103fff3d78c660c08251499d80044c40f29a577556c960c087f71c588ef64b40a18499b6ffcb60c07f;
SET @BorderBinary += 0x4c6bd3d8f64b400890a16307cb60c02e1b9df353ec4b404a2366f6f9c960c0030473f4f8e74b40e52a16bf29c860c033dfc1;
SET @BorderBinary += 0x4f1cec4b407f4b00fea9c660c0ef8d210038f04b40d09cf529c7c360c026c632fd12f54b40465f419a31c360c0bc57ad4cf8;
SET @BorderBinary += 0xfd4b40ba4db857e6c360c02ea86f99d3034c4050c58d5bccc260c0b60e0ef6260c4c407fdde9ce93c060c06325e659490b4c;
SET @BorderBinary += 0x40b1bfec9ebcbe60c0fe98d6a6b10b4c40d0d556ecafbd60c023f1f274ae124c4046e9d2bf24be60c028965b5a0d174c4051;
SET @BorderBinary += 0x66834c32bc60c05cc823b8911c4c40705cc64d0dbc60c0adbeba2a50234c40d3f6afacb4ba60c0321d3a3def284c404bafcd;
SET @BorderBinary += 0xc64aba60c02b86ab0320324c4062f20698f9b460c0925a28999c384c409fad8383bdae60c0d13aaa9a203a4c407a390b5d48;
SET @BorderBinary += 0xad60c0c12eca486d3a4c4008e412479ea960c06b44300e2e3b4c407041b62cdfa560c04cc0af91243a4c4092acc3d155a160;
SET @BorderBinary += 0xc0bad7497d59424c406c79e57adb9d60c051fc1873d7424c4071e5ec9dd19960c0df313cf6b3404c408c12f4177a9560c0f8;
SET @BorderBinary += 0x33bc5983454c4039268bfb8f9360c0feb8fdf2c94c4c402a3927f6d09360c049f59d5f94544c4010e50b5ac89760c024404d;
SET @BorderBinary += 0x2d5b5b4c40b43d7ac37d9960c0a19bfd8172634c40664cc11ae79c60c0895e46b1dc664c40d1e80e62679f60c0747b4963b4;
SET @BorderBinary += 0x764c40a9f92af958a360c0f94674cfba804c4093dcdbff2baa60c0097953a557804c40fe7e315bb2aa60c08311fb0450804c;
SET @BorderBinary += 0x40fd86890629b160c0782d211ff4844c40a912656fa9b760c0b1a547533d894c402368cc246abc60c0abb019e0828c4c40f3;
SET @BorderBinary += 0xcb608c48c060c023809bc58b894c40fc8ba03193c160c0f8f884ecbc834c40babbce867cbd60c043dfddca127b4c404e5df9;
SET @BorderBinary += 0x2ccfbb60c0c93846b2476c4c4013471e882cbe60c04a21904b1c674c4049809a5a36c060c0705985cd006d4c4026a94c3187;
SET @BorderBinary += 0xc160c0a01a2fdd24764c4098c45911b5c460c066a032fe7d7a4c4027124c3533c660c035cea62380774c4015fda199a7c860;
SET @BorderBinary += 0xc05565df15c1774c404a9c155193cc60c0603aaddba06e4c400103000000010000002e000000c3b7b06ebcde60c0cabf9657;
SET @BorderBinary += 0xae334d40389f3a56a9de60c05339ed2939294d40e55e6056a8db60c0d42478431a174d40a87004a914d960c0785c548b880a;
SET @BorderBinary += 0x4d40e9a80ccc9ad860c06a7c808ed5014d406d72f8a413d860c00531d0b52ff84c4088821953b0d660c0f44bc45be7e34c40;
SET @BorderBinary += 0x209738f240d660c0eee6a90eb9d74c4096ae601b71d360c0babc395cabc14c40d673d2fbc6d160c0c2bcc79926b44c4038dd;
SET @BorderBinary += 0xb2437cd460c0aaf06778b39e4c40f645425b4ed460c02d05a4fd0f8e4c40b7989f1b1ad260c0425a63d009834c402d944c4e;
SET @BorderBinary += 0xedcf60c06cea3c2afe834c40868db27e33ce60c0b6662b2ff9874c40c651b9895acc60c04cf73aa92f8b4c40b66455841bcc;
SET @BorderBinary += 0x60c0244223d8b88e4c40ff59f3e3afc960c02cf015dd7a914c40d4d1713532c660c0cc5b751daa974c40b6f7a92a34c360c0;
SET @BorderBinary += 0x2a357ba015a24c40aad216d778bf60c036fe4465c3a64c40b01f628305bc60c0027e8d2441a24c40d68ba19ce8ba60c0e065;
SET @BorderBinary += 0x868db2a24c407974232c2ab960c0e6e44526e0a74c406f9c14e6bdbb60c02a1bd65416af4c40145ad6fde3bb60c0630cace3;
SET @BorderBinary += 0xf8bd4c40b5a679c729ba60c0afca85cabfc84c401e1b8178ddb960c061c1fd8007ce4c408cf161f6b2bc60c0c24f1c40bfd7;
SET @BorderBinary += 0x4c4006a051baf4bc60c00e4c6e1459e74c406bb6f292ffbf60c0e1067c7e18f54c407381cb63cdc260c00b24287e8cff4c40;
SET @BorderBinary += 0x63096b636cc460c091459a7807064d40a4005130e3c560c0799274cde4094d40c03fa54a94c560c0255b5d4e09104d408fce;
SET @BorderBinary += 0x2e7e2fc860c0f926204185124d4075af93fa32c860c049d8b79388124d40b77bb94f8eca60c0bda4315a47114d403b53e8bc;
SET @BorderBinary += 0xc6ce60c067cefa9463144d4097e5eb327cd360c04be48233f8154d407214200a66d660c00740dcd5ab144d401e128fa727d7;
SET @BorderBinary += 0x60c0c007270dd61a4d40594e42e98bd760c0af5e4546071e4d406bba9ee83ad960c0e1ccafe600254d405f09a4c4aedb60c0;
SET @BorderBinary += 0xa6d24f38bb2d4d40c3b7b06ebcde60c0cabf9657ae334d400103000000010000004e0000005cab3dec051261c067d47c957c;
SET @BorderBinary += 0x044d400e661360581261c0353ffed2a2f64c4066f9ba0c7f0f61c009168733bff24c409bae27baae0e61c0c782c2a04ced4c;
SET @BorderBinary += 0x400b992b83ea0b61c09109f83592ea4c40540ba42be20b61c0290ecce073ea4c40aaf3a8f8bf0961c0284696ccb1e24c40f0;
SET @BorderBinary += 0x6778b3060861c0bb24ce8aa8d74c409da04d0e9f0761c0904b1c7920d04c40310a82c7370561c04301dbc188c74c403c1746;
SET @BorderBinary += 0x7ad10261c0ae6186c613c74c40bc404981850161c0baf605f4c2c14c407422c15433fe60c08907944db9ba4c40ee974f568c;
SET @BorderBinary += 0xfc60c05f99b7ea3ab44c4088d7f50b76fb60c06b274a4222a94c409c871398cefa60c0c29fe1cd1aa44c407e71a94adbfb60;
SET @BorderBinary += 0xc05242b0aa5e9c4c40ef1f0bd1a1fa60c08b14cac2d7954c4062bce6551df860c00778d2c265954c4009a8700429f860c052;
SET @BorderBinary += 0xcf8250de8f4c40e4b9be0f07fb60c0fe7e315bb28a4c400ef6268664fb60c0315c1d00717f4c4094347f4c6bfa60c04659bf;
SET @BorderBinary += 0x99987e4c403f6f2a5261f460c0548a1d8d43814c404434ba8358f360c0be8575e3dd854c4010b1c1c249f260c08524b37a87;
SET @BorderBinary += 0x8d4c4081b3942ca7ee60c07329ae2afb884c40d13b15704feb60c054a9d903ad824c40da571ea427ee60c06d1cb1169f784c;
SET @BorderBinary += 0x40a8a5b91542ef60c00793e2e313724c40664b564538f060c01a87fa5dd86e4c4031ea5a7b9ff160c0603dee5bad6b4c4030;
SET @BorderBinary += 0x0e2e1df3ee60c057e71890bd624c40a608707a97eb60c0020d36751e614c406038d730c3e960c09833db15fa5c4c40dcef50;
SET @BorderBinary += 0x14e8e660c03e5c72dc29554c402bf9d85da0e560c0245f09a4c4564c40f5f57ccdf2e360c06823d74d294d4c404d2cf015dd;
SET @BorderBinary += 0xe160c071e2ab1dc5434c405470784144df60c0565ef23ff9374c407ee195244fdd60c063b48eaa262e4c40e21c7574dcda60;
SET @BorderBinary += 0xc063247b849a274c405da5bbebecd960c0fa78e8bb5b1f4c403ecbf3e06ed860c0eca4be2ced1a4c40d3122ba391d560c041;
SET @BorderBinary += 0xf163cc5d154c40bdc79926ecd460c02b82ffad64194c402bfa43334fd460c0791d71c806224c40b952cf8250d460c015342d;
SET @BorderBinary += 0xb1322c4c40ba313d6189d460c00307b47405394c4092b245d26ed560c04df1b8a816434c40982ec4ea0fd460c084268925e5;
SET @BorderBinary += 0x464c40d89942e7b5d360c0de8c9aaf92514c40b728b34126d460c0abafae0ad45a4c40bea1f0d93ad560c01742cefbff664c;
SET @BorderBinary += 0x40d8f50b7643d660c0fcc3961e4d734c40f644d7859fd760c0e42ec214e57c4c40fb78e8bb5bdb60c0de8b2fdae3a14c4076;
SET @BorderBinary += 0xa8a6246bda60c0b837bf61a2af4c407978cf8165da60c08767093202c04c4037177fdb13de60c0a46abb09bee14c40ff6f24;
SET @BorderBinary += 0x5b71de60c0fdcc125e74e44c4098c1189128e060c0164ed2fc31f14c40b2852007a5dd60c0cf47197101f64c40217365506d;
SET @BorderBinary += 0xde60c02897c62fbc044d404ad576137ce360c0e49b6d6e4c0b4d40b8ea3a54d3e860c0ab764d486b0c4d4032aa0ce3eeef60;
SET @BorderBinary += 0xc00871e5ec9d154d408cf7e3f6cbf660c01d1a16a3ae1d4d40e50aef7211f960c0033c69e1b2244d402b69c53714fc60c06c;
SET @BorderBinary += 0xe690d442214d400893e2e3130161c099f1b6d26b234d408274b169a50561c0a9674128ef214d40a46dfc894a0961c041b456;
SET @BorderBinary += 0xb439204d40685bcd3a630c61c0b986191a4f204d40f8a75489b20b61c07cf0daa50d134d4034d593f9470e61c011aad4ec81;
SET @BorderBinary += 0x0e4d40fe428f183d1161c0e061da37f70b4d405cab3dec051261c067d47c957c044d40010300000001000000070000009a96;
SET @BorderBinary += 0x58190d0263c0cc79c6be64354e40fe9aac518f0263c042588d25ac2b4e40ffebdcb499fe62c06090f469152f4e4056a01683;
SET @BorderBinary += 0x87fc62c0c7b94db857384e40fb1f60addafa62c0402fdcb9303e4e40205c01857afe62c08905bea25b414e409a9658190d02;
SET @BorderBinary += 0x63c0cc79c6be64354e4001030000000100000008000000a968acfd1d3363c0da1a118c83b14d40603c83867e3163c029cc7b;
SET @BorderBinary += 0x9c69aa4d40c6c210397d3063c0c100c28712a94d40691cea77612c63c07493180456aa4d40ddcebef2202b63c074b0fecf61;
SET @BorderBinary += 0xb04d40861a8524332d63c0fab31f2922b54d409352d0eda52f63c0b628b34126b54d40a968acfd1d3363c0da1a118c83b14d;
SET @BorderBinary += 0x4001030000000100000079000000d7dcd1fff25863c0a930b610e4ae4c4036c82423675963c05087156ef9a44c405fd218ad;
SET @BorderBinary += 0x235663c0b83b6bb75da44c40e99b340d0a5363c04067d2a6eaa04c40c23577f4bf5063c0d3db9f8b86904c402f1686c8e950;
SET @BorderBinary += 0x63c0e00f3fff3d804c404eee77280a4d63c06ccd565ef27b4c40f2e9b12d034a63c0ee5bad1397754c40c91ea166c84963c0;
SET @BorderBinary += 0x2577d844666c4c40197442e8204463c0a1116c5cff5e4c40608f8994e64463c00264e8d841574c401215aa9b8b4063c0f3e2;
SET @BorderBinary += 0xc4573b584c4005dd5ed2183f63c06e88f19a575f4c40c442ad69de3c63c0ef3499f1b6624c403b8db454de3a63c082893f8a;
SET @BorderBinary += 0x3a694c407f4c6bd3d83863c06a300dc3476a4c40e6b0fb8e613663c025cb49287d6d4c40956247e3503363c01f48de399471;
SET @BorderBinary += 0x4c4076e107e7533163c0cef753e3a5714c4056d636c5633163c0f6402b30647f4c4018b0e42a963263c094f7713447864c40;
SET @BorderBinary += 0x321b6492912f63c0309e4143ff8a4c40747ff5b8ef2c63c0effb372f4e8a4c409694bbcff12a63c07958a835cd7d4c404e7b;
SET @BorderBinary += 0x4ace892863c07156444df47f4c404e637b2d682663c00914b18861854c40dac4c9fd0e2263c06fd39ffd488d4c40ad174339;
SET @BorderBinary += 0xd11c63c0124bcadde7904c406c1ff2962b1c63c01d39d21918954c406f8099ef601e63c0a98427f4fa974c408e3f51d9301e;
SET @BorderBinary += 0x63c0674128efe3a04c4065e080962e1a63c0d4b32094f7a14c4090bc7328431663c058e36c3a02a44c40d7a19a922c1463c0;
SET @BorderBinary += 0x9dbb5d2f4da94c40c901bb9a3c1363c0825660c8eab04c4085cfd6c1411263c0a6f0a0d975b94c40a54dd53d320f63c06ce5;
SET @BorderBinary += 0x25ff93b74c407ee4d6a45b0a63c0dcd26a48dcab4c405ce509841d0863c07405db8827b14c40ad68739c5b0a63c0740987de;
SET @BorderBinary += 0xe2bb4c406c76a4fa4e0863c0f1f109d979c34c408c9df0121c0563c04f39268bfbcb4c40492f6af72b0563c0cf8250dec7cf;
SET @BorderBinary += 0x4c406bb933130c0a63c09942e73576d14c40bc1de1b4600c63c0839f38807ed54c4036c98ff8150e63c093fb1d8a02dd4c40;
SET @BorderBinary += 0x346953758f0963c068226c787adf4c40927538baca0663c0d2fc31ad4de54c409a7d1ea33c0b63c0a8df85add9ea4c402331;
SET @BorderBinary += 0x410d5f0a63c0ffb0a54753f54c4086e5cfb7850d63c09e7aa4c16df94c409d7fbbecd70d63c04a79ad84eefc4c401b2e724f;
SET @BorderBinary += 0xd71063c03d4679e6e5f44c4022533e04551463c0a7e3310395f54c40f1bc546ccc1563c05f764f1e16f04c401553e9271c18;
SET @BorderBinary += 0x63c0780ab952cfea4c40103e9468491963c01c0934d8d4ed4c40f0129cfac01963c0be30992a18f34c40f8a92a34101863c0;
SET @BorderBinary += 0xc6f65ad07bf74c4067d2a6ea1e1763c0b69f8cf161fe4c403db7d095881863c0abc95356d3034d405ddf8783041563c00c3a;
SET @BorderBinary += 0x2174d0074d4003cde7dced1063c09a0645f3000c4d402594be10720f63c03ecc5eb69d104d40f6949c13fb0b63c0f487669e;
SET @BorderBinary += 0x5c0f4d40ea5910ca7b0863c0a5828aaa5f114d4053aef02e970363c0634337fb03134d407784d382170163c05708abb18417;
SET @BorderBinary += 0x4d40eeb4352298fb62c0dd0720b589154d40db31755776f962c080289831051b4d4076c6f7c525fa62c0e9297288b8214d40;
SET @BorderBinary += 0xb2dafcbf6aff62c06b7a50508a2c4d4060e5d022db0263c00a4966f50e2f4d40ee7893df220463c099d6a6b1bd324d404b3c;
SET @BorderBinary += 0xa06c4a0763c0fab660a92e304d40e67805a2a70963c05872158bdf364d40d80ddb16650b63c0266bd44334364d405ab6d617;
SET @BorderBinary += 0x090b63c0f5108dee20324d40b4aa251d650c63c0ecf82f10042e4d40f8a57eded40d63c01cedb8e1772d4d40b936548cf30f;
SET @BorderBinary += 0x63c002d19332a92f4d403198bf42661063c0397d3d5fb3364d4042791f47f30e63c058fd1186013d4d404833164d670c63c0;
SET @BorderBinary += 0x9e077767ed424d4033fad170ca0a63c05a9e0777674b4d401a53b0c6590b63c06ed8b628b3514d40ceab3aab850e63c0ef8a;
SET @BorderBinary += 0xe07f2b4f4d405da5bbebec1163c01dfe9aac514f4d40b4024356b71363c01e84807c094d4d401efe9aac511563c0e1968fa4;
SET @BorderBinary += 0xa4454d408446b0717d1463c0edb776a2243c4d40a96a82a87b1763c04641f0f8f63a4d405c920376351963c0b7b585e7a534;
SET @BorderBinary += 0x4d40cc7b9c69421c63c0c0745ab741334d4056f487669e1d63c05c74b2d47a2b4d40105663096b2163c031cb9e0436274d40;
SET @BorderBinary += 0x8b8c0e48422363c0a432c51c04214d4013d385587d2663c0d0798d5da21a4d4044dac69f282763c085032159c0144d403ecc;
SET @BorderBinary += 0x5eb61d2a63c0bc57ad4cf8114d40cade52ce972b63c0d8d5e429ab0d4d40560dc2dc6e2d63c0a7cccd37a2074d4092c83ec8;
SET @BorderBinary += 0xb22b63c0f46beba7ff044d40b686527b912963c02c0b26fe28fe4c408e8eab915d2c63c046ed7e15e0f74c40649126de812f;
SET @BorderBinary += 0x63c0a245b6f3fdfc4c4016c3d501103163c0d55a988576f84c408cd82780623063c0287b4b395ff44c40baf605f4c23463c0;
SET @BorderBinary += 0x450e1137a7f04c4020d5b0df133763c0dc291dacfff14c40a69a594b013963c04754a86e2ef04c4016527e52ed3d63c0328e;
SET @BorderBinary += 0x91ec11e84c40fa2477d8c43d63c0d5928e7230d94c408eb0a888d33f63c018ca897615d44c40e4f4f57c4d4663c0b45208e4;
SET @BorderBinary += 0x12d54c40e98024ec5b4963c05e2a36e675d24c401422e0102a4d63c0e61c3c139acc4c4098512cb7b45063c0170b43e4f4c9;
SET @BorderBinary += 0x4c40f1bc546ccc5363c0882d3d9aeac14c40acff73982f5663c03a1e335019b94c40d7dcd1fff25863c0a930b610e4ae4c40;
SET @BorderBinary += 0x0103000000010000000e0000002c82ffade45a63c067edb60bcd354c40f433f5bac55763c0e7c2482f6a334c4068af3e1efa;
SET @BorderBinary += 0x5363c01d5723bbd23c4c401900aab8f15063c0df15c1ff56404c401bbcafca854863c0546ccceb883f4c402b306475ab4063;
SET @BorderBinary += 0xc05d6dc5feb23d4c401e6cb1db673c63c0c0779b374e444c40de1caed51e3c63c0917efb3a70484c40e481c822cd4063c0b7;
SET @BorderBinary += 0xb3af3c48494c40151c5e10114363c09cf6949c134f4c407c259012bb4663c07d7214200a4e4c40fab2b453735063c05fed28;
SET @BorderBinary += 0xce514d4c40b8cce9b2985663c0d7a4db12b9424c402c82ffade45a63c067edb60bcd354c4001030000000100000009000000;
SET @BorderBinary += 0xe8bd3104007863c00aa0185932e94b404e44bfb6fe7663c0476fb88fdce24b40dcbb067de97263c0d6c56d3480e14b40de8f;
SET @BorderBinary += 0xdb2f1f7263c0cf4a5af10de54b40169f0260bc7163c0a3af20cd58ec4b40a911fa99fa7063c036fe4465c3f44b40349c3237;
SET @BorderBinary += 0x5f7363c056d636c5e3f64b402dce18e6047663c056629e95b4ee4b40e8bd3104007863c00aa0185932e94b40010300000001;
SET @BorderBinary += 0x00000007000000c26d6de1799763c003b34291ee094c4055a01683879763c06cca15dee5024c408ffe976bd19563c0f31950;
SET @BorderBinary += 0x6f46ff4b404c8a8f4fc89363c0d5e6ff5547024c40963fdf16ac9363c09735b1c057084c403c821b29db9563c046425bcea5;
SET @BorderBinary += 0x0c4c40c26d6de1799763c003b34291ee094c40010300000001000000080000004609fa0b3da963c059a148f773484c4020b2;
SET @BorderBinary += 0x48136faa63c0bfefdfbc38434c4025ea059f66a563c08e01d9ebdd434c402288f37082a163c09a9658198d424c40a85489b2;
SET @BorderBinary += 0x379f63c083a0a3552d454c40282504abeaa263c0fd4b5299624a4c40ee60c43e81a563c0c45dbd8a8c4c4c404609fa0b3da9;
SET @BorderBinary += 0x63c059a148f773484c400103000000010000001800000018231285160864c00705a568e5744b40ae484c50430764c0462575;
SET @BorderBinary += 0x029a6e4b400035b56c2d0364c080ed60c43e7b4b401e1b8178dd0064c06614cb2dad824b40a8c64b3709fa63c00f5ce50984;
SET @BorderBinary += 0x834b40b343fcc316f863c0bdfe243e77884b4034f279c553f463c0232bbf0cc6844b40b29fc55224f063c02a5437177f834b;
SET @BorderBinary += 0x404be658de55ee63c000a777f17e784b402ae620e8e8e963c0cfb9dbf5d26e4b40ea5dbc1fb7e863c04489963c9e6e4b4035;
SET @BorderBinary += 0xb401d880e663c0ed80eb8a19754b40ab9509bfd4ea63c0bb2363b5f9854b40b22c98f8a3ef63c0d28bdafd2a984b4072c284;
SET @BorderBinary += 0xd1acf063c085048c2e6fa04b400cab782373f563c0e5ec9dd156974b40a81abd1a20fa63c092020b60ca964b40eeed96e400;
SET @BorderBinary += 0xfb63c0cfd90242eb9f4b402426a8e1dbfb63c0bdfe243e77a44b40d89fc4e7ce0064c028999cda199a4b40ebc6bb23630464;
SET @BorderBinary += 0xc0b11188d7f5954b401fdac70afe0564c0ce50dcf1268f4b40ed9dd156250664c0868e1d54e2844b4018231285160864c007;
SET @BorderBinary += 0x05a568e5744b400103000000010000001300000023827170691b64c08f15fc36c4a84b40499eebfbf01a64c043ff04172b9a;
SET @BorderBinary += 0x4b40c991cec0481a64c08366d7bd158f4b409ece15a5841764c03543aa285e934b4050e09d7cfa1464c081e9b46e83944b40;
SET @BorderBinary += 0x49a0c1a6ce1064c072d9e89c9f904b409e44847f910f64c0bc3c9d2b4a974b4009fa0b3de21064c0b9c5fcdcd0a04b40b4fe;
SET @BorderBinary += 0x9600fc0e64c097ff907efba44b40dbfae93feb0a64c02f151bf33aa04b40d712f241cf0964c0e25817b7d1a64b40ec8a19e1;
SET @BorderBinary += 0xed0464c05ed3838252b04b402dd0ee90620464c0a5811fd5b0b94b406e2f698c560864c0b4006dab59bb4b4096598462ab0a;
SET @BorderBinary += 0x64c0745ab741edb74b4028486c778f1064c0336953758fb04b40b37c5d86ff1564c020425c397bb34b4027f911bfe21964c0;
SET @BorderBinary += 0xdac35e2860af4b4023827170691b64c08f15fc36c4a84b4001030000000100000009000000346612f5822264c07e8b4e965a;
SET @BorderBinary += 0x514d4016139b8f6b2264c008c6c1a563464d403cbb7cebc31e64c081053065e0464d406614cb2d2d1c64c071ac8bdb684a4d;
SET @BorderBinary += 0x401c5c3ae6bc1564c094be1072de634d403a7650896b1664c00166be839f684d400892770e651d64c06f9eea909b5f4d40bf;
SET @BorderBinary += 0x4351a0cf2164c0c89750c1e1594d40346612f5822264c07e8b4e965a514d4001030000000100000006000000d7dd3cd5a12d;
SET @BorderBinary += 0x64c007431d56b89b4b40906456ef702e64c00a67b796c9964b404c1b0e4b032b64c08124ecdb49944b40931804568e2a64c0;
SET @BorderBinary += 0xad1397e3159c4b4040f4a44c6a2b64c07cec2e50529c4b40d7dd3cd5a12d64c007431d56b89b4b4001030000000100000005;
SET @BorderBinary += 0x000000fb027ae14e3664c091eee714e49f4b406ccec133213664c0adf886c267994b40b0ff3a37ed3164c071e65773809a4b;
SET @BorderBinary += 0x40aaf3a8f8bf3064c00055dcb8c5a24b40fb027ae14e3664c091eee714e49f4b400103000000010000000900000086ff7403;
SET @BorderBinary += 0x055b64c0397b67b455414b4026396057935b64c005a568e55e364b403a3c84f1535864c06a662d05a42f4b40b0027cb77953;
SET @BorderBinary += 0x64c050357a35402f4b40c05b2041f14e64c0e84cda54dd2b4b400e863aac704c64c0f2203d450e2f4b40494be5ed084b64c0;
SET @BorderBinary += 0x8e5a61fa5e334b4076db85e6ba5264c0c1e270e657394b4086ff7403055b64c0397b67b455414b400103000000010000000e;
SET @BorderBinary += 0x000000acfa5c6d45b364c0444b1e4fcb054b403a05f9d9c8b164c0e0641bb803034b4086e63a8d34a964c0ca6aba9ee8044b;
SET @BorderBinary += 0x405eb9de36d3a264c08e20956247094b40c4edd0b0989e64c066b96c74ce074b406ec328081e9a64c0f90d130d52144b4091;
SET @BorderBinary += 0x7efb3a709864c08c800a47901c4b406add06b55f9a64c0b8ae9811de1c4b408aff3ba2429c64c03e73d6a71c194b40f6e978;
SET @BorderBinary += 0xcc40a064c0298f6e8445114b40946e4be482a464c0a0185932c7104b4056f65d11fca864c0cccccccccc0e4b409d499baafb;
SET @BorderBinary += 0xae64c0da3521ad310a4b40acfa5c6d45b364c0444b1e4fcb054b400103000000010000000d00000034a2b437f8c164c02860;
SET @BorderBinary += 0x3b18b1174b409ae7887c97c364c0116c5cffae0f4b4055698b6b7cc164c0747808e3a7054b4013ef004fdabc64c023f3c81f;
SET @BorderBinary += 0x0c084b400059880e01bc64c0cd751a69a9044b40dafb54151ab964c05019ff3ee3084b4008ad872f93b164c0fa5e43705c0e;
SET @BorderBinary += 0x4b40527b116d47ac64c0008e3d7b2e194b409696917a4faf64c0fc36c478cd254b4069006f8104b464c03657cd7344264b40;
SET @BorderBinary += 0xc3d4963ac8bb64c08237a451811b4b40b4a9ba47b6be64c099805f23491c4b4034a2b437f8c164c028603b18b1174b400103;
SET @BorderBinary += 0x000000010000002c00000028417fa1c7ed64c0d18e1b7e37194e40361c9606feea64c07974232c2a104e40ba63b14daaea64;
SET @BorderBinary += 0xc01a88653387084e40d0cdfe4039e764c0bd874b8e3b054e406497a8de1ae264c0c9e0287975fe4d4098874cf910de64c007;
SET @BorderBinary += 0xec6af294fb4d4036ffaf3a72d964c05019ff3ee3f44d40505260014cd564c065321ccf67f04d408e38640369d064c026c286;
SET @BorderBinary += 0xa757ec4d40d05ca79196cb64c0bb25396057eb4d409160aa99b5c864c07c96e7c1dde74d40cade52ce17c664c0a9a10dc006;
SET @BorderBinary += 0xe04d4087342a70b2c264c01b62bce655e34d405a2a6f47b8c264c03e8f519e79eb4d40c1a90f246fbf64c0e57d1ccd91ef4d;
SET @BorderBinary += 0x40c98ff8156bbb64c02e35423f53ef4d4042edb776a2b864c0139b8f6b43f34d40e6417a8a9cb664c023f609a018f14d40a7;
SET @BorderBinary += 0xcccd37a2b264c0436d1b4641f44d40a7785c540bb164c02a1895d409fa4d40e0d39cbc48b464c0c30c8d2782024e4046d26e;
SET @BorderBinary += 0xf4b1b664c00c384bc972084e40c2bd326f55b564c088618731e90f4e40bce5eac726b764c06326512ff8144e409a61a3acdf;
SET @BorderBinary += 0xb564c07a53910a63194e40fca886fd1eb764c077465b95441e4e4002f1ba7ec1b564c0569a94826e254e40c631923d42bc64;
SET @BorderBinary += 0xc0183f8d7bf32b4e40a5daa7e331c164c0674128efe3284e40d8b969334ec364c02711e15f042f4e40d464c6dbcac464c0e4;
SET @BorderBinary += 0x141dc9e5374e4043a9bd88b6c764c0ee0390dac4314e4072874d64e6cb64c0347d76c0752d4e40a0aa4203b1cf64c0b4739a;
SET @BorderBinary += 0x05da314e4040be840a8ed164c041ee224c512e4e406aba9ee8bad364c02499d53bdc284e4075adbd4fd5d664c0e9d1544fe6;
SET @BorderBinary += 0x294e40bc051214bfda64c036e2c96e66224e40d40fea2205da64c02dcbd765f81f4e408e942d92f6da64c0026553aef01a4e;
SET @BorderBinary += 0x400742b28009de64c00229b16b7b1b4e40bc94ba649ce364c06ccec133a11d4e409d64abcb29ea64c07157af22a31d4e4028;
SET @BorderBinary += 0x417fa1c7ed64c0d18e1b7e37194e400103000000010000003a000000b4af3c484ff964c0b393c151f2aa4a40e625ff933ffb;
SET @BorderBinary += 0x64c02ea9da6e82a74a4080eecb99edf764c075ae282504a34a4089ee59d7e8f364c0a014addc0ba04a40eaaeec8241f164c0;
SET @BorderBinary += 0x2d5e2c0c91a34a40554d10759fef64c05ad5928e72a24a40a643a7e75ded64c0d731aeb838aa4a4084a10e2bdce964c02c09;
SET @BorderBinary += 0x5053cbaa4a40b01ef7ad56e964c03f34f3e49aae4a4029780ab952e564c04582a966d6b44a407092e68f69e264c04f3e3db6;
SET @BorderBinary += 0x65b64a40dc0e0d8bd1df64c08b34f10ef0b64a405e81e84919dc64c06d895c7006b74a402db1321af9d764c007af5dda70b8;
SET @BorderBinary += 0x4a40be1072deffd464c04f2157ea59be4a40b87361a497d264c01399b9c0e5c34a4016889e9449d064c0d1b359f5b9ca4a40;
SET @BorderBinary += 0x4696ccb13cce64c0172829b000d24a40da0418963fca64c0253d0cad4ed64a40904c874ecfc764c0b680d07af8da4a40910b;
SET @BorderBinary += 0xcee06fc464c0de58501894dd4a40200c3cf71ec364c0d87dc7f0d8e94a409d47c5ff9dc364c03509de9046ed4a4084a10e2b;
SET @BorderBinary += 0x5cc664c0c217265305eb4a40dc4aafcdc6ca64c01b81785dbfe44a4000c974e8f4cc64c02f17f19d98e74a40da5207793dca;
SET @BorderBinary += 0x64c097fe25a94cef4a407f4dd6a807c864c0813b50a73cf04a40401878eebdc664c0ecd79dee3cf54a407afb578c28c564c0;
SET @BorderBinary += 0x0c4f8d6abff74a403cdee4b768c264c033130ce71afc4a4034bf9a0384c564c025adf886c2ff4a403c11c47938c764c00a5a;
SET @BorderBinary += 0x5cc13cfe4a4076c58cf076c864c0371ac05b20fd4a40107ba1806dcb64c0f02f82c64c004b4067d47c95fccd64c02f4fe78a;
SET @BorderBinary += 0x52fa4a40b935e9b644d064c00116f9f543f64a40c79c67eccbd264c0ee5701bedbfa4a40cc63cdc8a0d464c04e7adff8da01;
SET @BorderBinary += 0x4b40eaedcf45c3d764c01407d0effb014b402ea704c424dc64c01684f23e8efe4a40e8bd310400e164c03106d671fcf84a40;
SET @BorderBinary += 0xec9fa70183e464c0f5824f73f2ee4a409be447fc8ae464c0080264e8d8e94a40faf202ec23e364c0d11c59f965e64a402921;
SET @BorderBinary += 0x58552fe064c06ff25b74b2e04a40f4c308e151e164c0eb71df6a9dda4a403883bf5f4ce264c04cc3f01131d54a409baa7b64;
SET @BorderBinary += 0x73e364c0ae44a0fa07d14a403637a6272ce564c010ad156d8ecd4a4062670a9d57e464c00ad6389b8ec64a403332c85d04e6;
SET @BorderBinary += 0x64c0b9dbf5d214c34a40bcc79926ece864c04f01309e41bd4a405d6bef53d5eb64c05f09a4c4aeb94a40ac8905bea2ee64c0;
SET @BorderBinary += 0xe8f2e670adb84a40c3b81b44ebf264c09701672959b24a400c73823639f664c037de1d19abb14a40b4af3c484ff964c0b393;
SET @BorderBinary += 0xc151f2aa4a40010300000001000000d904000025afce31200465c016a3aeb5f769504056d4601a860165c04563edef6c6450;
SET @BorderBinary += 0x40c8e7154f3dfb64c00795b88e716250404203b16ce6f564c0448a01124d5f50409c3061342bef64c0b267cf656a5a5040df;
SET @BorderBinary += 0xfab0de28eb64c0db17d00b77595040bad6dea72ae264c08d08c6c1a5585040a4face2fcadc64c019e42ec214575040566133;
SET @BorderBinary += 0xc005d864c058fca6b052555040761c3f541ad364c04b5af10d855550406937fa980fce64c0bde13e726b545040fe101b2c1c;
SET @BorderBinary += 0xcb64c0d0622992af515040ca87a06a74ce64c03882548a1d4f50409cfd81725bcf64c07a522635b44a50405c3ffd674dd464;
SET @BorderBinary += 0xc0c39ca04d0e485040b1a371a85fdc64c045b9347ee148504018d00b772edd64c033dc80cf0f4850403cdf4f8d97d764c08a;
SET @BorderBinary += 0x7269fcc2415040645c717154d664c0cdb051d66f3f504086e97b0dc1d264c04319aa622a3d5040753a90f5d4cd64c0aa4885;
SET @BorderBinary += 0xb185385040728577b908cd64c023809bc58b3650401cb0abc953cf64c0046f48a302335040c68b852172cf64c0520b259353;
SET @BorderBinary += 0x305040da1ebde13ecd64c03c4d66bcad295040b404190195c764c06d54a70359255040e21e4b1f3aba64c0d9cf6229922250;
SET @BorderBinary += 0x406342cc2555a964c018cbf44bc41e5040c2db831010a064c06b0bcf4bc51b5040268e3c10d99964c0a8716f7ec31c5040ca;
SET @BorderBinary += 0x4e3fa88b9164c06ea6423c1221504034be2f2ed58964c02c465d6bef235040a47213b5b48464c00c39b69e212450405ad93e;
SET @BorderBinary += 0xe42d7f64c0b67f65a549235040e7a6cd388d7a64c00ed6ff39cc2450401c210379f67564c0ef01ba2f6724504097900f7a36;
SET @BorderBinary += 0x6d64c0e736e15e992150403f36c98ff86764c0b62bf4c1321d5040c617edf1426464c0200bd1217018504057410c74ed6264;
SET @BorderBinary += 0xc00a12dbdd031c5040643a747ade6064c05912a0a6961e5040d446753a106164c0b796c9703c215040931b45d61a5e64c0d8;
SET @BorderBinary += 0xf2caf5b62250405b09dd25715b64c079cc4065fc1f504078b988efc45a64c04206f2ecf21b5040c4aeeded965864c0562c7e;
SET @BorderBinary += 0x53581550400b2593533b5464c023bda8ddaf185040a27895b54d5364c00d4e44bfb61e504011ffb0a5475164c0af5b04c6fa;
SET @BorderBinary += 0x21504041d5e8d5804764c0124f7633a3275040f19bc24a054664c09cbf0985082b5040c82764e7ed4164c01a14cd03582c50;
SET @BorderBinary += 0x4087e0b88c1b3c64c00053060e682d5040e1d05b3cbc3864c00c91d3d7f32f50403f1d8f19a83464c07bbaba63b1315040ae;
SET @BorderBinary += 0x2d3c2f953064c091ed7c3f35305040a4c2d842102c64c05ca8fc6b79315040e3c116bb7d2a64c0c84274081c3550405caad2;
SET @BorderBinary += 0x16d72664c067f1626188385040e44a3d0b422464c055698b6b7c395040e25cc30c8d2264c03f51d9b0a637504000fdbe7ff3;
SET @BorderBinary += 0x1d64c089cdc7b5a13450400fb8ae98111964c0f57f0ef3e52d5040bb421f2c631964c0d636c5e3a2275040a14ca3c9c51f64;
SET @BorderBinary += 0xc0409fc893a42250401bd5e940562664c0f8156bb8c81f5040b64c86e3792c64c0daaa24b20f2350403acac16c022f64c028;
SET @BorderBinary += 0x7e8cb96b205040e014562a283064c06d72f8a4131b5040fddb65bf6e2864c044183f8d7b1950406a8313d1af2564c073f563;
SET @BorderBinary += 0x93fc155040bd70e7c2c81e64c02cd49ae61d0e5040afcc5b751d1e64c09e060c923e04504036e7e099d01c64c0f224e99ac9;
SET @BorderBinary += 0xff4f403ca583f57f1864c061dee34c13ea4f406eda8cd3101964c094313ecc5ee04f40cc9bc3b55a2264c0e4141dc9e5c74f;
SET @BorderBinary += 0x409126de011e2664c0b857e6adbabe4f40c2fa3f87792d64c090a0f831e6ba4f40999cda19a63564c05cc5e23785bb4f40b0;
SET @BorderBinary += 0xe595eb6d3f64c0cb63cdc820b94f403270404b574264c09cdd5a26c3c14f40d2c43bc0134864c044c18c2958c54f40d481ac;
SET @BorderBinary += 0xa7d64c64c0b05417f032d14f408b506c05cd5264c0989eb0c403d04f40b29fc552a45664c06878b306efc94f40f0a31af6fb;
SET @BorderBinary += 0x5164c050c24cdbbfc44f4065a71fd4454b64c04f90d8ee1eba4f400d897b2c7d4d64c096cd1c925ab44f40eace13cfd95064;
SET @BorderBinary += 0xc00f4240be84a84f4013ccd2c5175364c0121846bbe3a34f4001f6d1a92b5764c0921d1b81789b4f40d600a5a1465a64c01e;
SET @BorderBinary += 0x1840f8509a4f405c9198a0065b64c0342bdb87bc934f40f14751676e5d64c015c26a2c618f4f40acc3d155ba6164c0571f0f;
SET @BorderBinary += 0x7d77874f40b5fcc0551e6a64c0daff006bd5844f400b5d8940f57064c070f085c954914f4018ae0e80b87364c09162804413;
SET @BorderBinary += 0x924f4043ad69de717764c0505260014c9b4f40fa804067527c64c0d0d1aa96749c4f400b444fca248264c04a438d4292a14f;
SET @BorderBinary += 0x408c4aea04b48664c00bee073c30a04f408099efe0278e64c04fe8f527f1994f40bab88d06709364c024607479738e4f4068;
SET @BorderBinary += 0x39d043ed9564c0fda19927d7824f40698d4127049a64c0d39d279eb3734f4038622d3e059c64c07422c15433674f40bc97fb;
SET @BorderBinary += 0xe4a89b64c0f59b89e942604f405a988576ce9a64c096033dd4b6574f40f693313ecc9e64c0855ca96741544f40255987a3ab;
SET @BorderBinary += 0xa164c0a374e95f924c4f401a8ba6b313a364c069dd06b5df424f4068791edc9da864c0aaf06778b3364f40f6471806acae64;
SET @BorderBinary += 0xc0c7629b5434244f407616bd5381b564c0ca845feae7114f402a91442f23b864c01a868f8829074f4021753bfbcab764c00f;
SET @BorderBinary += 0x29064834fb4e400281cea4cdb464c0a359d93ee4ef4e409a2842ea76b464c005c24eb16aec4e4077f52a32bab964c01de6cb;
SET @BorderBinary += 0x0bb0e94e407abfd18e1bbe64c006d847a7aeec4e40da73999a04c364c012471e882ce84e4036e675c4a1c164c0fa997add22;
SET @BorderBinary += 0xe24e4046b247a899c464c06665fb90b7dc4e40fad687f5c6c664c07c629d2adfcd4e407b67b455c9c464c0f1b6d26bb3c14e;
SET @BorderBinary += 0x40e20511a969c264c081caf8f719bf4e40a206d330fcbf64c0a17f828b15c54e4062b7cf2a33bd64c08204c58f31c74e4033;
SET @BorderBinary += 0xa6608db3bb64c084ed27637cc44e40bce9961de2b764c0a7e67283a1be4e40666b7d9150b964c0250516c094b94e401b6668;
SET @BorderBinary += 0x3c11bc64c0ff59f3e32fb74e40b0e8d66b7abd64c0f9d51c2098b34e4040c1c58a9aba64c0e907759142a74e40e6af90b932;
SET @BorderBinary += 0xb964c08e59f624b0a74e404e417e36f2b364c0a69883a0a3a34e405cc98e8d40b464c0fad005f52d9d4e40a25f5b3f7db464;
SET @BorderBinary += 0xc042588d25ac914e407216f6b4c3b164c04198dbbddc8b4e40aa24b20fb2ae64c0cad93ba3ad8a4e4063b5f97f55ac64c052;
SET @BorderBinary += 0xce177b2f8a4e40b82407ec6aaa64c01f82aad1ab954e40986a662d85a664c0bc1fb75f3e934e40dcbe47fd75a464c0a2258f;
SET @BorderBinary += 0xa7e58b4e40ba4a77d7d9a164c08d08c6c1a5874e402e573f3649a464c03d0ad7a370814e409af04bfd3ca664c086c954c1a8;
SET @BorderBinary += 0x7c4e4080b87dca78a364c0882ecd059a764e40eee6a90eb9a264c0bda59c2ff6744e40a5bc5642f7a064c0d634ef38456b4e;
SET @BorderBinary += 0x40a8a8fa954ea164c0b376db85e6624e40b0c56e9f55a064c0d4b5f63e555f4e40d0f23cb8bb9f64c07d91d09673594e4038;
SET @BorderBinary += 0xd4efc256a264c0012f336c94574e4016fa60199ba664c06e1118eb1b4e4e40c6707500c4ab64c085e7a562634a4e4000fdbe;
SET @BorderBinary += 0x7f73ad64c09c1551137d464e408048bf7d9dab64c027ba2efce0404e40fdf7e0b5cba864c034828debdf3f4e40ca51802818;
SET @BorderBinary += 0xa664c009302c7fbe3f4e40349a5c8c01a364c019fed30d14444e4019575c1c959f64c0bc934f8f6d454e409226de019e9e64;
SET @BorderBinary += 0xc0334fae2990434e40deab56267ca064c03270404b573c4e405378d0ec3aa264c048fab48afe3a4e4023a0c21124a464c0ec;
SET @BorderBinary += 0x8502b683374e40ee60c43e819f64c003763579ca2c4e40e78bbd17df9864c027beda519c254e4018d1764c5d9664c063efc5;
SET @BorderBinary += 0x17ed254e40dcdac2f3d29364c0384bc972121e4e40ecfb7090909064c0f56393fc88194e4040c4060b278d64c08251499d80;
SET @BorderBinary += 0x0c4e40cac2d7d7ba8864c0bea25bafe9054e4025e99ac9378464c011c64fe3defe4d4036548cf3b78564c09e7b0f971cfb4d;
SET @BorderBinary += 0x401361c3d3ab8664c09831056b9cf74d407e9065c1448464c0758d96033dec4d40d425e318c97d64c04fe5b4a7e4e64d40ba;
SET @BorderBinary += 0x809719b67864c0d3f4d901d7e54d40e5d18db0a86e64c0189128b4ace74d40bb26a435866564c0909c4cdc2aec4d4035d252;
SET @BorderBinary += 0x79bb5d64c041800c1d3bf44d4082aca756df5964c0dcd3d51d8bf74d401171732a995764c0ddb3aed172fc4d401cd0d215ec;
SET @BorderBinary += 0x5364c0af7ac03c64fc4d403d0d18247d5064c0a1f48590f3fc4d40ab5d13d29a4f64c09acde33098034e405af44e05dc4f64;
SET @BorderBinary += 0xc0a48636001b0a4e40cb4a9352d04f64c0014f5ab8ac104e40d82ac1e2704e64c0354069a851164e406b48dc63e94b64c09f;
SET @BorderBinary += 0x91088d60154e405a0bb3d04e4764c079abae4335074e4037177fdb934464c08657923cd7fb4d400ed76a0f7b4364c00be9f0;
SET @BorderBinary += 0x10c6f54d40435722507d4164c0dee68d93c2ec4d4086fe092e563c64c03dedf0d764d94d4022516859f73b64c0ad16d86322;
SET @BorderBinary += 0xd34d40d5af743ebc3864c0624b8fa67ac84d40afce31207b3664c080b4ff01d6be4d406e1283c04a3964c0eb8a19e1edbb4d;
SET @BorderBinary += 0x4049d6e1e82a3b64c0addba0f65bb74d40362383dcc53f64c07d3a1e3350ab4d407c6308008e4164c09c3237df88a04d4025;
SET @BorderBinary += 0x77d844e63f64c00fb1c1c249964d40197442e8203d64c0f88903e8f78b4d40e8db82a5ba3964c090f12895f07e4d40cea8f9;
SET @BorderBinary += 0x2a793864c083ddb06d516c4d40f3aca4155f3a64c09d279eb3055e4d403465a71fd43f64c0d84812842b584d401ec022bf7e;
SET @BorderBinary += 0x4564c059315c1d00534d40dac35e28e04064c0b5847cd0b34d4d4049490f43ab3964c04560ac6f604e4d40fef33460103864;
SET @BorderBinary += 0xc0954737c2a2464d409d47c5ff9d3164c0ca4faa7d3a4e4d40f9ba0cffe92b64c065c1c41f45554d40cdbf742aec2a64c0b8;
SET @BorderBinary += 0x00b19a225e4d406094a0bfd02a64c029e78bbd175f4d407cf31b261a2764c011e15f048d634d40da286dcac12264c0389ebb;
SET @BorderBinary += 0xae36694d40b89db4b31a2164c0ca3431115e6b4d40c6dff604092064c0ef517fbdc26c4d4072e0d572e71b64c0d1393fc571;
SET @BorderBinary += 0x704d40b4739a055a1a64c0d7f7e120216a4d40626a4b1d641764c03bc43f6ce9754d40bb99d18f861064c01a34f44f70814d;
SET @BorderBinary += 0x40556af6402b0a64c0620fed6305894d404a0d6d00360864c05643e21e4b7f4d4016a58460550a64c0e675c4211b7a4d40d7;
SET @BorderBinary += 0xdcd1ff720764c07345292158734d403ca41820d10464c078279f1edb6e4d4015713ac956ff63c0e9d495cff26a4d409e4484;
SET @BorderBinary += 0x7f11fd63c0b1868bdcd3634d40e1270ea05ff963c01cedb8e177694d408a8d791df1f763c015fa60191b704d40c2a04ca3c9;
SET @BorderBinary += 0xf663c0da56b3cef8764d402b4d4a41b7f363c0e0f599b33e774d40d80fb1c142f363c01c5c3ae63c714d40f48b12f497f463;
SET @BorderBinary += 0xc0a2073e062b6c4d40f56393fc08f163c05c5320b3b36a4d40ce72d9e81ced63c0b5696caf05634d40198f52094fe763c0b7;
SET @BorderBinary += 0x79e3a4304d4d40a3ca30ee06e263c0c154336b29364d403ae5d18d30dc63c0a0c37c7901324d408a3f8a3a73d963c059dc7f;
SET @BorderBinary += 0x643a344d40de550f9887d663c0c16c020ccb3d4d40b43d7ac37dda63c07c957cec2e504d40c382fb018fdb63c037e0f3c308;
SET @BorderBinary += 0x594d40d5cdc5dff6d863c0a206d3307c604d404bafcdc64ad963c0705985cd00674d4038f2406491d863c0198ee733a06e4d;
SET @BorderBinary += 0x40583b8a73d4d363c0088b8a389d744d403a07cf84a6d063c0791edc9db56d4d4073d6a71c13d263c01b81785dbf664d4022;
SET @BorderBinary += 0xe4bcff8fcd63c03cf6b3588a624d40da37f7570fcc63c038807edfbf5f4d4060c77f81a0ca63c0444df4f928554d40aaf413;
SET @BorderBinary += 0xce6ec763c0cc5ce0f2584f4d40cc0c1b657dc463c06531b1f9b84e4d4026ab22dce4b863c0aad55757055a4d409a05da1d52;
SET @BorderBinary += 0xb263c0dac70a7e1b604d40d8d138d46fac63c072fbe59315674d40a91ad668e7a463c0cea3718afa6d4d407500c45dbda363;
SET @BorderBinary += 0xc0b29943520b6f4d40753bfbca83a063c026361fd7866e4d4033e02c25cb9f63c0d9ad65321c6b4d4090dac4c9fda163c051;
SET @BorderBinary += 0xf69672be5e4d409674948359a463c0ca2f833122574d401714bee2d5a763c09332a9a10d4e4d401f9e25c808aa63c0b7ea3a;
SET @BorderBinary += 0x5453484d405fce6c5768af63c0bfee74e7893d4d407219373550b163c0925b936e4b304d4076e272bc82b163c0683f524486;
SET @BorderBinary += 0x234d4083fa96395daf63c0d0d38041d21b4d40904c874ecfb163c09a20ea3e00134d4059f8fa5a17b363c07311df89590b4d;
SET @BorderBinary += 0x4082548a1d8db463c02c42b11534ef4c4023d8b8feddb563c05114e81379e04c4052802898b1b663c0fdbad39d27d44c40ba;
SET @BorderBinary += 0x675da3e5b563c084b4c6a013ce4c408f519e79b9b563c0ad4d637b2dc84c404e098849b8b863c0800ef3e505c64c40668522;
SET @BorderBinary += 0xddcfbd63c0fa0b3d62f4bc4c40a75ce15daec263c054e0641bb8ad4c4001dd97335bc763c0aa46af0628a94c40aa9a20ea3e;
SET @BorderBinary += 0xca63c0adf6b0170aa44c405fee93a300d163c02efce07cea904c40db6cacc4bcd563c0068195438b7e4c403be12538f5d563;
SET @BorderBinary += 0xc0adc090d5ad744c40225514afb2d463c0a0fcdd3b6a6c4c401d7233dc00d563c00caf2479ae674c405298f738d3d763c01d;
SET @BorderBinary += 0x54e23ac6654c40f0fb372f4edb63c0e813799274654c40860fa02895dc63c0116d3ecd92674c40969526a520df63c0035c90;
SET @BorderBinary += 0x2dcb6b4c40e3512ae109e763c0973446eba85e4c4056f487661ef163c06f7f2e1a32504c4089cf9d607ffa63c02b137ea99f;
SET @BorderBinary += 0x454c404eee77288aff63c06e4dba2d91394c40309fac18ae0464c0715298f738334c40ee1f0bd1210764c0b403ae2b662c4c;
SET @BorderBinary += 0x40d2191879590c64c05b3ffd67cd234c40ba2efce0fc0c64c03ecc5eb69d1a4c4065a9f57ea30f64c08c65fa25e2094c4088;
SET @BorderBinary += 0xb7cebfdd1264c0f8325184d4fd4b40b4ab90f2131164c0c9e53fa4dffa4b40adbd4f55a10e64c0eee714e467f54b40a16648;
SET @BorderBinary += 0x15451064c0226aa2cf47ef4b408e8f16670c1264c087f71c588eee4b404b766c04621964c036c8242367f14b40e256410cf4;
SET @BorderBinary += 0x1964c021e527d53ef94b405e9f39ebd31964c008e1d1c611034c406420cf2edf1e64c01893fe5e0a034c4027f73b14052564;
SET @BorderBinary += 0xc0743e3c4b90014c40d65757056a2e64c0e3c281902cfa4b40e6cfb705cb3664c093ffc9dfbdf34b40257497c4d93964c0a8;
SET @BorderBinary += 0xc4758c2bf24b4060915f3fc43c64c05932c7f2aeea4b404a46cec29e4164c093c0e61c3ce54b406a11514cde4364c08c65fa;
SET @BorderBinary += 0x25e2df4b40bb99d18f064764c01f679ab0fdda4b408d98d9e7b14b64c04acff41263cd4b408e39cfd8175264c0cc9541b5c1;
SET @BorderBinary += 0xbb4b404faf9465885464c0e5982cee3fb24b40df89592f065a64c04543c6a354a64b408b506c05cd5c64c00cad4ece50a04b;
SET @BorderBinary += 0x40321b6492915b64c0bb421f2c63994b403123bc3d086164c0608db3e908964b40fa7abe66396464c0e3344415fe964b40df;
SET @BorderBinary += 0x3312a1116a64c0d28bdafd2a904b4049d57613fc6864c0ef8d210038844b402aadbf25006b64c03579ca6aba7c4b40fe8172;
SET @BorderBinary += 0xdbbe6d64c0e447fc8a357a4b40ac8db113de7064c06a2dcc423b854b4000e2ae5ec57864c0ace28dcc23874b40a29c6857a1;
SET @BorderBinary += 0x7c64c03ae466b801854b40d76b7a50d07f64c047551344dd7d4b400c3a2174d08364c00c1cd0d2157c4b408e4127848e8664;
SET @BorderBinary += 0xc00f5d50df32774b400ce2033bfe8a64c0008a912573724b404a9352d0ed8d64c00d863aac70774b40c6bfcfb8709264c01c;
SET @BorderBinary += 0x5e10919a724b402ea699ee759264c0beba2a508b694b403bc5aa41989564c074266daaee594b40d595cff2bc9764c0af3f89;
SET @BorderBinary += 0xcf9d524b4050fbad9da89b64c092af0452624f4b40beb9bf7a5c9e64c0ee59d768394a4b40fad346753a9e64c05b785e2a36;
SET @BorderBinary += 0x444b401b82e332ee9c64c0d2a92b9fe53f4b404aea0434919b64c007043a9336374b403d7fdaa8ce9764c0acc77dab75324b;
SET @BorderBinary += 0x40d1afad9f7e9464c050a73cba11324b40745b22179c8e64c0c28366d7bd354b406425e659498b64c0a371a8df853b4b4008;
SET @BorderBinary += 0xe57d1ccd8a64c01cd13deb1a434b4016dee5223e8864c090d959f44e494b4060cd0182398164c0111ac1c6f54f4b40902c60;
SET @BorderBinary += 0x02b77964c015fc36c478514b402a3927f6507264c0f4c0c760c54f4b40d0f1d1e28c6c64c0fe45d09849544b40ed44494824;
SET @BorderBinary += 0x6764c0b7e9cf7ea4564b40cd052e8f356164c077d66ebbd0524b40cd1fd3da346264c0a8fb00a4365b4b401fbaa0bee56564;
SET @BorderBinary += 0xc094a3005130634b40ff58880e016964c03ae97de36b634b40c1525dc04b6b64c0e50819c8b3674b4088bebb95256864c057;
SET @BorderBinary += 0xb1f84d616b4b405804ff5bc96464c043aa285e65714b40ac915d69196264c0463cd9cd8c764b4086e12362ca5e64c0a8aad0;
SET @BorderBinary += 0x402c7f4b401c5c3ae63c5d64c0caa2b08ba2794b4040fb9122b25a64c0e8a1b60da3764b401938a0a5ab5664c05eeffe78af;
SET @BorderBinary += 0x7a4b4012842ba0d05264c046b1dcd26a7c4b40075dc2a1375264c0124c35b396804b406090f469154f64c0d5ce30b5a5864b;
SET @BorderBinary += 0x4035d252793b4d64c0be2b82ffad844b4050a91265ef4d64c09c6b98a1f1764b40fdbd141eb44d64c0fcdcd0949d724b4012;
SET @BorderBinary += 0xa0a6962d4b64c03f6d54a7036b4b402e5393e00d4964c09b6f44f7ac6b4b40e42f2dea934764c013967840d9704b40842f4c;
SET @BorderBinary += 0xa68a4764c0670c7382367b4b4033a5f5b7044764c067b3ea73b5834b407d5bb054174664c0083a5ad592884b404417d4b7cc;
SET @BorderBinary += 0x4364c007b309302c8d4b40f10f5b7ab44164c0417c60c77f894b408c101e6d9c3e64c012bbb6b75b8e4b40703fe081013d64;
SET @BorderBinary += 0xc03e912749d78c4b4001f73c7f5a3964c06f26a60bb1864b40959d7e50173664c0365eba490c8a4b40fd8348869c3164c01d;
SET @BorderBinary += 0x1ec2f869884b40f44e05dc733264c0cea78e554a8d4b40548ec9e2fe3664c0db1324b6bb934b40d427b9c3263a64c0d5e594;
SET @BorderBinary += 0x8098964b40904b1c79a03b64c024b20fb22ca24b407b2e5393e03864c0fd86890629aa4b40c3bb5cc4f73564c0ac36ffaf3a;
SET @BorderBinary += 0xb44b40307e1af7663664c0d9b11188d7c14b406346787b103564c0161230babcc74b40e046ca16c93264c064c746205ecf4b;
SET @BorderBinary += 0x4086527b116d2f64c0e6ac4f3926d14b40805f2349902c64c088d4b48b69d04b40babe0f07092c64c07fba8102efc84b40c2;
SET @BorderBinary += 0xbe9d44042f64c0f9d51c2098bf4b4084d217424e2f64c00e4faf9465b84b40ca87a06a743064c09b53c90050b14b401684f2;
SET @BorderBinary += 0x3e8e2f64c0dd5d6743fead4b40f59d5f94202864c07b6308008ead4b4037177fdb932264c09e3d97a949b44b4009fce1e73f;
SET @BorderBinary += 0x1f64c028d2fd9c82bc4b40dcd78173c61a64c0e6cb0bb08fbc4b40f981ab3c011964c0527e52edd3b94b40b0045262571564;
SET @BorderBinary += 0xc02bbea1f0d9ba4b403e58c686ee1464c0bb07e8be9cc14b4053e8bcc6ae1064c0be4868cbb9bc4b40662c9acece0e64c09c;
SET @BorderBinary += 0x31cc09dac04b400150c58ddb0e64c014e97e4e41c44b40b6ba9c12900c64c015fda19927cd4b4036b1c057f40864c0bd16f4;
SET @BorderBinary += 0xde18d24b40a81dfe9a2c0464c0bfefdfbc38d74b40c4b5dac3de0164c0a4349bc761dc4b40264f594dd70064c064e42cec69;
SET @BorderBinary += 0xe54b40200e12a2fcfd63c01d5723bbd2e64b40141f9f901dfb63c08907944db9e64b4093c5fd47a6f863c022c2bf081aed4b;
SET @BorderBinary += 0x40a30227dbc0f563c0c403caa65ceb4b40849a215514f463c0e84999d4d0e64b40c51edac78af563c025c9737d1fe04b4023;
SET @BorderBinary += 0x4dbc03bcf563c0124e0b5ef4d34b40bd00fbe854f863c056b3cef8bece4b402672c1197cf763c0f31abb44f5c84b4056b60f;
SET @BorderBinary += 0x794bf663c0df4c4c1762c94b402b8716d94ef263c0791c06f357d04b409023b9940ff263c0a657493d91d14b4006da1d520c;
SET @BorderBinary += 0xf163c0601dc70f95d64b404885b185a0ec63c0573cf54883db4b407f6b274ac2e263c0dcb8c5fcdcea4b409c69c2f613e363;
SET @BorderBinary += 0xc00c022b8716f54b407500c45dbddc63c0db1324b6bbf94b4000e31934f4d763c0a9f6e978ccfa4b4042e90b21e7d463c03e;
SET @BorderBinary += 0x3a75e5b3fa4b40529e79396cd463c0647616bd53ff4b402ac6f99b50d063c085cd001764fd4b408445459ccecd63c08cb800;
SET @BorderBinary += 0x344aff4b40124f7633a3cc63c0a52e19c748084c4074435376facb63c0d74b530438114c40b07092e60fc963c02ba391cf2b;
SET @BorderBinary += 0x164c4024d236fec4c363c025e82ff4881d4c40b2d30feaa2c663c030b95164ad254c40c405a0513ac963c00bd0b69a75284c;
SET @BorderBinary += 0x4076374f7548cd63c0efffe384092b4c40677c5f5caacf63c0d252793bc22b4c407903cc7c07ce63c0847ea65eb7364c40c5;
SET @BorderBinary += 0x54fa09e7cb63c08827bb99d13b4c4086c613411cc963c090bb0853943d4c4069c36169e0c763c0bbf083f3a93b4c4079060d;
SET @BorderBinary += 0xfd13c463c0a96a82a8fb3a4c403bc5aa4118bf63c086e5cfb7053d4c40668522ddcfbb63c0077b1343723a4c40317a6ea12b;
SET @BorderBinary += 0xba63c059a31ea2d1414c406ebc3b32d6bb63c0d594641d8e484c40206118b064bd63c07cec2e5052524c4015713ac956b963;
SET @BorderBinary += 0xc02bd8463cd9554c402288f37002b763c03bc5aa4198534c40d1e9793796b563c06fd74b53044e4c40d0f0660d5eb363c0d2;
SET @BorderBinary += 0xc1fa3f874f4c40c7d63384e3af63c010001c7bf64e4c40e6913f1878ae63c00a11700855524c406ced7daa0ab263c0fb93f8;
SET @BorderBinary += 0xdc095a4c40919be106fcb063c06dc5feb27b604c4049d6e1e82aad63c08ae76c01a1634c401a84b9dd4ba963c041d5e8d500;
SET @BorderBinary += 0x674c40c9cb9a58e0a563c02b85402e71624c4061191bba59a263c0efe192e34e6b4c400475caa31ba163c05b5eb9de36714c;
SET @BorderBinary += 0x400e863aacf09d63c0c43c2b69c5754c40b6a2cd716e9a63c066d993c0e6724c403d2afeef889663c0c0c8cb9a587e4c4094;
SET @BorderBinary += 0x826e2f699463c05a2a6f47387f4c4068791edc9d9163c043a852b3077e4c40ec8497e0548f63c0de1ad82ac1884c40a1b94e;
SET @BorderBinary += 0x232d8e63c079e57adb4c8f4c4071ef5c29fa8b63c07132d64e62944c40da740470b38a63c0c9073d9b55974c408c2c9963f9;
SET @BorderBinary += 0x8a63c0cdc98b4cc09f4c40ba4f8e02c48a63c04be7c3b304ab4c400c1cd0d2958b63c0fb7266bb42b34c40f415a4190b8763;
SET @BorderBinary += 0xc04109336dffb84c40dfc2baf1ee8263c08b6a11514cb84c4088618731698063c029ce5147c7b94c404e2a1a6b7f8163c074;
SET @BorderBinary += 0x5c8dec4ac34c40bcc96fd1497d63c07ac4e8b985c44c404206f2ec727763c047c8409e5dc64c40f5ba45602c7763c04868cb;
SET @BorderBinary += 0xb914d14c4074eb353d287463c08cf0f62004d44c40d6ac33beaf7363c02c9d0fcf12d84c4006d7dcd17f7363c0e2900da48b;
SET @BorderBinary += 0xe34c4008abb184357063c05a9e077767e14c40946de00e546b63c0588d25ac8ddb4c40bf28417f216963c0fc4ffeee1de14c;
SET @BorderBinary += 0x40b8b06ebcbb6863c03fc39b3578e94c405d33f9661b6363c0ddb243fcc3ee4c404a969350fa6163c05565df15c1f34c408c;
SET @BorderBinary += 0xf7e3f6cb6363c01cebe2361afa4c407a36ab3ed76063c0e869c020e9ff4c4076c075c50c5c63c09ab0fd648c034d40baa129;
SET @BorderBinary += 0x3b7d5863c08655bc9179004d40c84274089c5263c0d4264eee77024d4098a59d9a4b4f63c0a3ffe55ab4064d40971e4df5e4;
SET @BorderBinary += 0x4a63c082c2a04ca30b4d402670eb6e1e4763c0e04735ecf7104d408d7bf31ba64463c0355b79c9ff1a4d4072c0ae264f4363;
SET @BorderBinary += 0xc0ad4ece50dc234d402ec555655f4263c08ec9e2fe232d4d40909e2287883f63c019e1ed4108324d4055a4c2d8424263c05e;
SET @BorderBinary += 0xd3838252384d40c26856b60f4063c080289831053f4d40f419506fc63d63c0a12c7c7dad3f4d40ccb1bcab1e3d63c0868bdc;
SET @BorderBinary += 0xd3d5474d40925852ee3e3b63c047ab5ad2514e4d402638f581643763c03752b648da4d4d40680586acee3263c0af58c345ee;
SET @BorderBinary += 0x514d404d840d4faf3163c04c4c1762f5574d40f294d5743d2e63c0e55c8aabca5a4d40c8b1f50ce12c63c0ed6305bf0d5f4d;
SET @BorderBinary += 0x401250e108d22b63c0975643e21e694d40ed526b43842963c09354f01d466d4d4016f71f998e2863c05240daff006f4d40c3;
SET @BorderBinary += 0xd7d7ba542a63c0685a626534744d40cc608c48942c63c06f29e78bbd794d4066a208a95b2f63c055151a88657f4d408f6d19;
SET @BorderBinary += 0x70163363c044dc9c4a06804d40252026e1423663c0d40ca9a278894d4012bef737683963c0a034d42824894d40909db7b1d9;
SET @BorderBinary += 0x3d63c00f9bc8cc05884d40fc54151a084263c0e15d2ee23b894d40cff57d38c84563c07c5c1b2ac68f4d404301dbc1884563;
SET @BorderBinary += 0xc06c58535914964d409ece15a5844463c08330b77bb99b4d40e65ab400ed4363c018ce35ccd0a44d409c2ff65efc4063c0ee;
SET @BorderBinary += 0x3d5c72dca94d4083dbdac2f33f63c06e826f9a3eb14d4051f86c1d9c3d63c05e49f25cdfb34d409b745b22973b63c06fb9fa;
SET @BorderBinary += 0xb149b64d403b511212e93763c0adbf2500ffb64d40c442ad695e3663c0eba9d55757bb4d40dc114e0b5e3863c0b1a4dc7d8e;
SET @BorderBinary += 0xc54d40cf66d5e7ea3563c0300dc347c4c64d40d25625917d3263c067ef8cb62ac74d406e4be482b33163c0931ada006ccc4d;
SET @BorderBinary += 0x402426a8e15b3163c08461c092abd04d406a882afc192d63c0b9c3263273d14d406ed921fee12963c09a745b2217d04d4071;
SET @BorderBinary += 0x8e3a3aae2763c0ee91cd55f3d04d4046e867eaf52463c0ba2a508bc1d34d40105a0f5fa62163c00394861a85d84d402006ba;
SET @BorderBinary += 0xf6852063c04012f6ed24e04d40575d876a4a2063c05ed3838252ea4d400070ecd9f31e63c063cf9ecbd4f04d409466f3388c;
SET @BorderBinary += 0x1b63c0dbf5d21401f04d40274a42226d1663c0739b70afccf54d40c85a43a9bd1563c088618731e9fb4d4048a643a7671263;
SET @BorderBinary += 0xc03cda38622d064e405dc0cb0c9b1163c046088f368e0e4e40dae6c6f4841263c02749d74cbe154e40496760e4651263c0fd;
SET @BorderBinary += 0x9c82fc6c1a4e402fbfd364461163c026a3ca30ee1e4e40eb8ec536290d63c00ed940bad8244e40e7ff55470e0c63c04609fa;
SET @BorderBinary += 0x0b3d2c4e4030b8e68e7e0763c0b72407ec6a324e40dfe00b93a90963c096e82cb308354e4040c1c58a9a0a63c0506b9a779c;
SET @BorderBinary += 0x3c4e4011e0f42e5e0863c0a23f34f3e4444e40bf60376c5b0463c0dc4603780b4a4e40ae62f19b420163c0dcb930d28b544e;
SET @BorderBinary += 0x40944db9c2bbfc62c0aaf1d24d625c4e405111a793ecf662c03ecbf3e0ee5a4e40809bc58b85f662c009302c7fbe5d4e4052;
SET @BorderBinary += 0x9b38b9dff862c07bd7a02fbd674e4051853fc39bf962c065c1c41f456d4e40eb6e9eea10f762c0eb1681b1be734e4056ef70;
SET @BorderBinary += 0x3b34f362c04c309c6b987b4e409a081b9e5eef62c001bb9a3c65814e408bc56f0a2beb62c0226aa2cf47814e4014419c8713;
SET @BorderBinary += 0xe862c07971e2ab1d854e40282a1bd654e562c0a833f790f0854e40ea059fe6e4e362c0e065868db28a4e40f0daa50d87e162;
SET @BorderBinary += 0xc07020240b98944e40439b3b5719df62c0bf0a0cab04994e4088f71c580ede62c0d5b0df13eb9a4e409e245d3379da62c0e1;
SET @BorderBinary += 0x5d2ee23b9d4e4085cfd6c1c1d562c00d33349e08a24e4022382ee326d162c02079e75086a24e409a99999999cd62c0d3bb78;
SET @BorderBinary += 0x3f6e9f4e40b1a4dc7d8ec662c000df6dde38a14e406cecde7f0bc762c04694af714a994e409a05da1d52c762c0b9f94674cf;
SET @BorderBinary += 0x944e407c46223482c862c0d8d30e7f4d904e40a0e3a3c519c262c0620e828e56934e407444be4b29c062c01055f833bc914e;
SET @BorderBinary += 0x4055dae21a9fba62c0d386c3d2c0894e40a7583508f3b662c060ac6f6072814e40313738151ab862c0cfaf07d0f67f4e405f;
SET @BorderBinary += 0x7afb7351bb62c02ea86f99d37b4e40855feae7cdbc62c0b7ea3a5453784e40850a0e2f88bf62c0698d412784704e409bc761;
SET @BorderBinary += 0x307fc362c0e061da37f7714e409d67ec4b36c662c0cf49ef1b5f734e40f677b647efca62c0e7c3b30419834e404ed36707dc;
SET @BorderBinary += 0xcc62c0b81d1a16a3844e4087c3d2c00fd062c01b6327bc04814e40fa230c0396d662c0a739799109784e40cea96400a8dc62;
SET @BorderBinary += 0xc09107228b346d4e404d83a27900e262c003763579ca644e405adaa9b95ce862c0cbb6d3d688624e40aef54542dbeb62c072;
SET @BorderBinary += 0xa1f2afe55d4e40d1add7f420ed62c016da39cd025b4e400952297634eb62c0280af4893c514e4033333333b3e962c07e32c6;
SET @BorderBinary += 0x87d9474e40f2b5679604e962c01edac70a7e3f4e403e74417dcbe962c0d3122ba391314e4016f88a6ebdeb62c06ed8b628b3;
SET @BorderBinary += 0x2f4e4036ad140239ec62c0dbc1887d02264e400c5531957eed62c0fca6b052411b4e400af2b3916bf362c00f070951be0c4e;
SET @BorderBinary += 0x406e861bf0f9f662c0f698486936014e400fed63053ff862c0be4c142175f54d40ef8cb62a09fa62c0328e91ec11ec4d4064;
SET @BorderBinary += 0x1d8eaed2fb62c0473657cd73e24d40312592e8e5f762c09eb30584d6d74d40a88aa9f493f462c0ddcf29c8cfd24d40543717;
SET @BorderBinary += 0x7f5bee62c0999b6f44f7d24d40126bf12980e962c0ce6dc2bd32d94d4067b5c01e93e662c095986725add04d40fb90b75c7d;
SET @BorderBinary += 0xea62c01309a69a59c94d40c7d45dd985f062c0a5660fb402c34d40a696adf5c5f762c05b96afcbf0bb4d4053cf82505efc62;
SET @BorderBinary += 0xc0b4c4ca68e4b54d407d7901f6d1fe62c02d3f709527ac4d40c05e61c17dff62c054c37e4faca34d400e2f88484dfd62c06d;
SET @BorderBinary += 0x8fde701f9d4d40357d76c075fb62c0527c7c4276924d40583d601e32f562c03d27bd6f7c8b4d403b8db454deed62c0a986fd;
SET @BorderBinary += 0x9e58914d40da37f7570fef62c0522976340e9f4d40fd683865eeea62c02594be10729c4d409737876b35e962c0dd9733db15;
SET @BorderBinary += 0x9c4d40fb0626370ae462c0cfd6c1c1de9a4d405a9c31cc09e062c02e3718eab09c4d40c2bcc79926de62c097c28366d79d4d;
SET @BorderBinary += 0x4077f6950769dc62c0dff8da334ba24d407347ffcb35dd62c003249a4011a74d4040868e1d54da62c009dd257156aa4d4023;
SET @BorderBinary += 0x6937fa18d762c01a4b581b63a54d40639813b4c9d562c029e78bbd17a74d40be69faec80d362c054feb5bc72b14d40c460fe;
SET @BorderBinary += 0x0a99d262c0cb0c1b65fdb84d402fff21fdf6cf62c0779d0df967ba4d40c877297549cf62c01324b6bb07b64d40429259bdc3;
SET @BorderBinary += 0xcd62c024ed461ff3ab4d40da19a6b654cc62c095b88e71c5ab4d40d270cadc7ccb62c0035e66d828b34d4028eca2e881c962;
SET @BorderBinary += 0xc07c09151c5eb64d402b2ff99ffcc862c0c6d8092fc1bb4d4005dec9a747c462c0716f7ec344c74d4044520b2513c062c0a8;
SET @BorderBinary += 0x88d349b6d04d401cd0d2156cbd62c0041901158ed84d402828452bf7ba62c0a857ca32c4d94d40e0f3c308e1b762c0c7b5a1;
SET @BorderBinary += 0x629cd14d4016f9f5436cb762c0332f87dd77da4d4000c45dbd0ab462c07ced992501de4d40d94125aee3b062c07aa702ee79;
SET @BorderBinary += 0xda4d40909f8d5c37b062c03c4d66bcade24d40221807970eb362c0bcae5fb01be64d40c37e4fac53b262c0946934b918ed4d;
SET @BorderBinary += 0x403929cc7b1caf62c0e34f5436acf34d40e25cc30c0dac62c0e3344415feea4d4074d190f1a8a862c0dd7536e49fef4d4032;
SET @BorderBinary += 0xe719fb12a762c0bb97fbe428f84d40de5a26c3f1a362c08c9fc6bdf9fb4d40438cd7bc2aa162c0ffacf9f197f84d40e738b7;
SET @BorderBinary += 0x09f79d62c06c0723f609fa4d4094a2957b819b62c0703e75ac52f64d40f38e5374a49962c09ae95e27f5f94d402157ea5910;
SET @BorderBinary += 0x9662c0cebf5df6ebf84d40add9a40cf39562c033447bf1adf84d4018e8da17509462c07e349c3237f54d40a0353ffe528f62;
SET @BorderBinary += 0xc046b3b27dc8f74d4049bda772da8c62c0fc6ce4ba29fd4d40fa4509fa0b8a62c06fd6e07d55044e40102043c70e8762c08c;
SET @BorderBinary += 0xb96b09f9fc4d4018e76f42218862c02c99637957f74d408d4292593d8362c09ae95e27f5f94d402cd49ae69d7e62c026e483;
SET @BorderBinary += 0x9ecdfa4d40a7ea1ed95c7b62c027f224e99aef4d403cdd79e2397d62c091ea3bbf28eb4d4052448655bc7d62c07493180456;
SET @BorderBinary += 0xe44d405f984c150c7c62c05852ee3ec7e14d4067ee21e17b7862c0688f17d2e1e54d40d2579066ac7462c065e08096aee84d;
SET @BorderBinary += 0x4066683c11447062c0b3d1393fc5eb4d4030629f008a6c62c054de8e705af04d40c45dbd8a0c6f62c04b1e4fcb0ff44d403f;
SET @BorderBinary += 0x36c98f786e62c01a834e081dfa4d4010acaa97df6a62c045b5882826fb4d4000aab8710b6c62c0793a579412024e4050c24c;
SET @BorderBinary += 0xdb3f6862c0ad65321ccf0d4e40e7c6f484a56462c01b0fb6d8ed154e40460c3b8cc95f62c03b3602f1ba1e4e40b1868bdc53;
SET @BorderBinary += 0x5d62c06e826f9a3e254e40fc89ca86355662c098d9e731ca234e4028d192c7d35462c022c2bf081a1f4e404e417e36725362;
SET @BorderBinary += 0xc02231410ddf1e4e40df1797aab44f62c050a8a78fc0254e40965e9b8d954c62c0c91ccbbbea294e40d2ac6c1f724762c0c3;
SET @BorderBinary += 0x9b35785f2b4e40541a31b34f4662c04eb2d5e5942c4e404df564fed14262c08a3bdee4b72e4e40ee92382ba23f62c02f4b3b;
SET @BorderBinary += 0x3597314e40d5cbef34993a62c04582a966d62c4e401e6ff25b743462c092ab58fca6264e40088f368e583062c04b395fecbd;
SET @BorderBinary += 0x284e40624cfa7b292c62c04a0a2c80292d4e400af65fe7262862c0ca332f87dd274e40520e6613602462c017ba1281ea254e;
SET @BorderBinary += 0x408a39083ada2262c08e210038f6284e404051d9b0a61e62c074232c2ae2244e404609fa0bbd1d62c0601bf164371d4e40dc;
SET @BorderBinary += 0x65bfeef41462c000c5c892391a4e40a2276552c31162c0cce9b298d8164e40e71a6668bc0d62c0b393c151f2124e40c68498;
SET @BorderBinary += 0x4b2a0b62c090f5d4eaab0b4e402176a6d0f90562c009db4fc6f80e4e40f697dd93870362c043a67c08aa0c4e4077d84466ae;
SET @BorderBinary += 0x0162c026a8e15b58054e4076172829300062c0143c855ca9014e4009522976b4fc61c01bf1643733fe4d40880fa37455fc61;
SET @BorderBinary += 0xc0cf9579a283fe4d406f7ec34403f961c0ffb0a54753014e4074779d0df9f361c006465ed6c4044e40f7e80df791e861c099;
SET @BorderBinary += 0x5fcd0182074e4087a757ca32e261c028b4acfbc7084e409c35785f15dd61c0e0f42ede8f0b4e40c87a6af5d5d761c047c9ab;
SET @BorderBinary += 0x730c0c4e4075ac527aa6cd61c0c3edd0b018094e4024f0879fffc161c012a27c410b034e40529acde330bd61c00298327040;
SET @BorderBinary += 0x014e403a4030478fb761c0ef6dfab31ffb4d40581af8510db361c0ef6dfab31ffb4d404a99d4d086af61c0ef01ba2f67f64d;
SET @BorderBinary += 0x404ad05fe891ac61c0594dd7135def4d40821dff0502a561c0a04e797423e84d40a4e4d539869d61c007ea944737e04d400c;
SET @BorderBinary += 0x5707405c9961c0d2df4be141dd4d401ea7e8482e8d61c0ecd632198ed94d406038d730c38761c0c9a7c7b60cd84d40a69883;
SET @BorderBinary += 0xa0a38561c01500e31934de4d40145b41d3928261c0ae7fd767cee04d40c8b1f50ce17b61c076340ef5bbe64d4060cb2bd7db;
SET @BorderBinary += 0x7861c04da1f31abbea4d409e245d33797361c031cb9e0436e94d4062f4dc42d77261c08cf4a276bfda4d4069ab92c8be7261;
SET @BorderBinary += 0xc0b8019f1f46d24d408481e7dec37761c01ef64201dbcf4d4028bb99d18f7b61c0aab8718bf9c54d409db81caf407461c0f9;
SET @BorderBinary += 0x9d2633deba4d406c5a2904726d61c01b2ac6f99bb04d4078263449ac6861c0e7fd7f9c30ab4d402eca6c90496261c0f085c9;
SET @BorderBinary += 0x54c1a44d40eb7074956e5d61c0668522ddcf9f4d4040f9bb77d45961c00629780ab99a4d408869dfdc5f5461c0902c6002b7;
SET @BorderBinary += 0x904d40363e93fd734b61c0f14410e7e1884d40b3976da72d4761c0373465a71f844d40b45549641f4261c05d13d21a837a4d;
SET @BorderBinary += 0x4094de37be763e61c05f27f56569714d40d7338463963d61c0df162cd5056c4d40990e3493083e61c082cef013e2664d40a0;
SET @BorderBinary += 0x4e7974233e61c0243fe257ac654d40bf99982ec43a61c03a765089eb5e4d40fb5b02f0cf3561c067b27f9e06544d403a0323;
SET @BorderBinary += 0x2feb3461c09aaf928fdd4d4d400c2252d32e3261c031b43a39434b4d404c6bd3d85e2b61c04ab3791c063f4d40c7b8e2e2a8;
SET @BorderBinary += 0x2761c0ac71361d013a4d40be1072de7f2261c05181936de0324d4086a92d75901f61c0bf9657aeb7334d40d1cabdc02c1d61;
SET @BorderBinary += 0xc0a9a3e36a642f4d405b7c0a80711b61c09be1067c7e284d4019e6046df21661c0e198654f02234d403e0ad7a3701661c00c;
SET @BorderBinary += 0x1cd0d2151c4d40f6b6990af11261c0cd203eb0e31b4d4024b20fb22c1261c015c26a2c611f4d40b22b2d23751261c0fb71fb;
SET @BorderBinary += 0xe593234d40aaf413ce6e1161c0d8648d7a88284d4031ec3026fd0d61c09160aa99b5264d40edb94c4d820861c0f6cfd38041;
SET @BorderBinary += 0x284d401f2e39ee940361c00ef3e505d82b4d404bccb392560161c0791b9b1da9304d4028ee78935ffd60c03883bf5fcc304d;
SET @BorderBinary += 0x401af7e6374cf760c011a96917d3324d4044be4ba9cbf460c07effe6c589294d40dca161316af160c09b1c3ee9442a4d40fa;
SET @BorderBinary += 0x17303096ee60c02d906c8d542b4d40d57abfd10eed60c0c5c72764e72b4d40d89fc4e7cee960c06ad619df171f4d40e60302;
SET @BorderBinary += 0x9d49e760c012363cbd521e4d407ec7f0d8cfe260c003e8f7fd9b194d40e700c11c3de360c053ca6b2574254d403eaf78ea91;
SET @BorderBinary += 0xe160c07de882fa96274d40c39acaa230e260c0e4486760e42f4d40df88ee5957e360c0c326327381394d4038632b3b0ee260;
SET @BorderBinary += 0xc0a2f197fac1394d400ed76a0ffbdd60c099620e828e3a4d40bc5aeecc04d860c00227dbc01d324d406344a2d032d460c054;
SET @BorderBinary += 0xc37e4fac1f4d407632384adece60c05dc0cb0c1b1d4d40104240be04cc60c07ec16ed8b61a4d40d691239d81c760c062d4b5;
SET @BorderBinary += 0xf63e194d400ababda4b1c460c01494a2957b194d409a20ea3e80c260c06abe4a3e76134d4012d9075996c160c0083c3080f0;
SET @BorderBinary += 0x074d402634492c29bb60c064af777fbcf74c40cacdea83aeb660c0d3bd87251de64c404e9d47c57fb660c001bb9a3c65e54c;
SET @BorderBinary += 0x40ce4bf2b07bb660c01f20dddf4ae54c408f559a40aab560c025c7c06d01e04c400708e6e8f1b460c0e94141295adb4c402e;
SET @BorderBinary += 0x8d5f78a5b560c044dc9c4a06d04c4047551344ddb360c03a048e041aca4c402522fc8ba0b060c06e693524eec34c40c153c8;
SET @BorderBinary += 0x957ab060c0d05ca79196bc4c40f86d88f11aaf60c0a051baf42faf4c4078b306efabaf60c01b800d8810a74c40c1a90f246f;
SET @BorderBinary += 0xb160c0d07ea4880c9f4c4096ae601bf1ae60c0ef3504c765944c404852d2c350aa60c027309dd66d8e4c4052d2c3d0eaa760;
SET @BorderBinary += 0xc081035aba82914c402600ff942aa560c03c69e1b20a8b4c40126bf129009e60c0e15aed612f864c40f86a47718e9c60c0ce;
SET @BorderBinary += 0x33f6251b7f4c40afd007cb589960c0d6338463966d4c402a3927f6d09160c02d944c4eed604c406c4c4060779160c0bfeace;
SET @BorderBinary += 0xf0575b4c40a60f5d505f9160c00ef3e505d8594c40f7ab00dfed9060c020ea3e00a9514c40a46b26df6c8e60c097defe5c34;
SET @BorderBinary += 0x484c40944e2498ea9060c0b0e42a16bf434c40a29927d7149460c05626fc523f3b4c40c8d3f203579960c042b0aa5e7e394c;
SET @BorderBinary += 0x4000016bd5ae9c60c0cc24ea059f3a4c408ffb56eb449f60c094f7713447384c40861e317aeea160c08dcd8e54df2d4c40a7;
SET @BorderBinary += 0x79c7293aa260c0226de34f542c4c406f9c14e63da260c00cca349a5c2a4c408f899466f3a060c071ac8bdb68284c40c7d809;
SET @BorderBinary += 0x2fc19e60c0c493ddcce8254c40c2887d02a89d60c0384bc97212224c40ddb1d826159c60c031410ddfc21e4c409563b2b8ff;
SET @BorderBinary += 0x9a60c0b377465b951e4c40fcaa5ca8fc9660c0ac1a84b9dd1b4c40bfb854a5ad9660c0608c48145a0e4c406f641ef9039360;
SET @BorderBinary += 0xc0f693313ecc024c403c1405fac48f60c076a38ff980084c4020d4450a658e60c04f72874d64fa4b403dd2e0b6b68c60c04e;
SET @BorderBinary += 0x44bfb67ef04b4032569bff578a60c048179b560aed4b40ee43de72f58860c05d88d51f61f64b40077b1343728560c0143c85;
SET @BorderBinary += 0x5ca9f54b4074eb353d288260c07bb94f8e02f04b40253fe2572c8460c0302dea93dce74b40c7832d767b8860c045eee9ea8e;
SET @BorderBinary += 0xe14b40f5ba45602c8760c0edb8e177d3d94b405846a596728660c0e81f96b2c5d14b40be2cedd4dc8560c052ee3ec747cb4b;
SET @BorderBinary += 0x40618bdd3eab8360c073b680d07ac64b40765089eb187f60c04ca4349bc7bf4b4010768a55037b60c0d55a988576ba4b4045;
SET @BorderBinary += 0x82a966567b60c01399b9c0e5b54b40543bc3d4967b60c0c6a0134207a54b4070253b36827a60c01e6cb1db67994b40840f25;
SET @BorderBinary += 0x5af27760c03b54539275904b402ab52a2ed97360c0f47ff3f3088e4b4082c64ca25e7360c0df347d76c08d4b4000362042dc;
SET @BorderBinary += 0x7260c033a7cb62628b4b401286014bae7460c052b648da8d844b40ce6e2d93617360c08c800a4790804b40cd220c468c7360;
SET @BorderBinary += 0xc0ede00066317e4b4001fa7dffe67360c039d384ed27794b40fc885fb1067360c0882991442f774b404dbb9866ba6f60c0e2;
SET @BorderBinary += 0x3ac61517774b405ed6c402df6d60c0145caca8c1724b4050ac53e57b6a60c016a3aeb5f76d4b40321ea5121e6860c006ee40;
SET @BorderBinary += 0x9df26e4b40e068c70d3f6660c05378d0ecba754b40ace63922df6760c05697530262784b4046072461df6760c0f04bfdbca9;
SET @BorderBinary += 0x7e4b40250516c0146660c0fc885fb186854b407636e49f196660c07c45b75ed38d4b40a1681ec0226560c06a4ab20e47994b;
SET @BorderBinary += 0x4065c57075006360c042ca4faa7d984b40f02f82c6cc6260c00b09185dde944b40aef4da6cac6160c001d9ebdd1f8f4b4022;
SET @BorderBinary += 0x1add416c6060c014b18861878b4b40eee714e4e75f60c06d533c2eaa854b40d311c0cd626060c027840eba847f4b40ce531d;
SET @BorderBinary += 0x72335f60c028b4acfbc77c4b4082e2c798bb5e60c004e275fd82774b404208c897505e60c059a4897780714b40c860c5a9d6;
SET @BorderBinary += 0x5d60c027f38fbe49674b407500c45dbd5b60c03733fad170624b409f02603c035b60c03e1f65c405624b40268e3c10595960;
SET @BorderBinary += 0xc0473657cd73644b402f8a1ef8985760c03b889d2974604b40dcd8ec48f55560c07216f6b4c35b4b4029b34126195460c0c4;
SET @BorderBinary += 0xcbd3b9a25e4b4087dc0c37605460c0ffaf3a72a4634b4014048f6fef5060c0c8293a92cb674b408f1b7e37dd4a60c0dea815;
SET @BorderBinary += 0xa6ef754b407d7555a0164760c0f302eca353834b40172d40db6a4560c0541b9c887e8d4b403d29931a5a4360c07c61325530;
SET @BorderBinary += 0x984b4046088f360e4060c0c476f700dda14b4050a912656f3f60c079e75086aaa64b40e5f1b4fcc04060c0f14927124cab4b;
SET @BorderBinary += 0x403bc61517474160c06917d34cf7b64b40e7340bb4bb4260c0c9367007eabe4b408066101fd84360c0e84b6f7f2ec84b40e4;
SET @BorderBinary += 0xd6a4db924360c01f9a79724dd74b40f6ecb94ccd4460c026fa7c9411dd4b401d7c067f6c4460c04a8487b7a8e14b408e3ba5;
SET @BorderBinary += 0x83f54360c02c4833164de74b40ebc5504eb44260c04580d3bb78e94b40ec4b361e6c4060c0505260014cf54b40ca15dee522;
SET @BorderBinary += 0x4060c03fc4060b27ff4b40bcc96fd1494360c079c9ffe4ef0e4c4084bbb376db4760c036e2c96e660c4c409563b2b8ff4a60;
SET @BorderBinary += 0xc0a0a52bd846104c40d95f764f9e4d60c082aad1ab01124c40492bbea1f04e60c06378ec67b11e4c40280b5f5feb5360c056;
SET @BorderBinary += 0x293dd34b224c407bf99d26b35760c0548847e2e52b4c406d74ce4ff15960c0b9e00cfe7e2f4c405da45016be6260c00742b2;
SET @BorderBinary += 0x8009344c40a326f340cc6260c0a869525326344c40c9e53fa45f6560c0a3e6abe463394c401763601dc76e60c07dace0b721;
SET @BorderBinary += 0x464c40f357c85c997260c0293a92cb7f4e4c40ee59d768b97a60c0ad105663094d4c40e99ac937db7c60c0425c397b67604c;
SET @BorderBinary += 0x4061c3d32be57b60c05ab6d61709674c408b6ebda6078460c034f0a31af66f4c4025660338ce8360c0f8bdd36513724c4006;
SET @BorderBinary += 0xd50627a28160c070033e3f8c864c409813b4c9e18b60c0bd50c076308c4c403eaf78ea118860c0041c42959a9b4c4071ae61;
SET @BorderBinary += 0x86c68b60c089cdc7b5a1ac4c4091d442c9e49160c0234910ae80c04c40fbadee0af89460c01249a7f705cd4c400186e5cf37;
SET @BorderBinary += 0x9860c0bbd1c77c40da4c405f7afb73d19b60c090ba9d7de5eb4c4048f7730a72a260c04be48233f8ff4c406a32e36da5a560;
SET @BorderBinary += 0xc0183be12538134d402a3a92cbffaa60c0777fbc57ad224d407e1d3867c4ae60c0fce07cea58314d40a46fd23428ac60c000;
SET @BorderBinary += 0x55dcb8c5364d4014b35e0c65b660c00b98c0adbb4d4d403e7ac37de4ba60c0236420cf2e5d4d4087191a4f04c860c0573b8a;
SET @BorderBinary += 0x73d46d4d40f6b182df86ca60c0b5503239b5754d40a7751bd47eca60c0ee79feb4517b4d40514a0856d5cc60c08e554acff4;
SET @BorderBinary += 0x7c4d40041f831527cc60c056d11f9a79844d40d28f865366cf60c073486aa164904d401840f85022d260c0ec65db696b904d;
SET @BorderBinary += 0x402688ba0f40d560c0b779e3a430974d4086c8e9eb79d660c0bf620d17b99f4d405ef58079c8de60c0a94a5b5ce3a34d404a;
SET @BorderBinary += 0xd23593efe060c09d9b36e334ac4d402fdcb93052e060c0ba2d910bceb04d400f26c5c727e260c0b9533a58ffb54d40035fd1;
SET @BorderBinary += 0xadd7e060c07364e597c1bc4d4087c267ebe0e060c02782380f27c84d40731074b4aae360c0fc6a0e10cccf4d4000c3f2e7db;
SET @BorderBinary += 0xe660c0cb29013109d54d4025917d9065e760c02ec72b103dd94d40dcbddc2747ef60c001840f255ae64d404d899aee18f760;
SET @BorderBinary += 0xc0b3629fa148dd4d40ee0390da44fe60c07b82c476f7d44d404dd7135d170661c07e1b62bce6d14d4042e8a04b380b61c03d;
SET @BorderBinary += 0xd2e0b6b6cc4d400b410e4a980761c0e594809884c74d40cbd8d0cd7e0761c04319aa622ac34d406a4b1de4750b61c002637d;
SET @BorderBinary += 0x0393b94d408f34b8ad2d0f61c0ed7f80b56abb4d4008c90226f00e61c04ae9995e62a44d408c28a0bc9c0f61c0e751cc1b94;
SET @BorderBinary += 0xa14d40fe9dedd19b1261c074e8f4bc1b954d406c990cc7731a61c0e8853b1746944d40a6643909a51b61c0b3b45373b9914d;
SET @BorderBinary += 0x409eb12fd9782861c0438a01124d804d402a3927f6502e61c0b72407ec6a744d40bcfd5e37cf3061c06d5cf56314744d408b;
SET @BorderBinary += 0xfa2477d83061c04f73f22213744d401825e82ff42f61c068942efd4b7e4d403317b83c563361c02d08e57d1c9f4d408ae255;
SET @BorderBinary += 0xd6b65261c07763416150e04d40dcf0bbe9965461c0de019eb470e54d40e161da37775661c07b2c7de882f44d40e4f560527c;
SET @BorderBinary += 0x6161c07c5c1b2ac6ff4d404dbc033c696661c0745b22179c0b4e4042075dc2a16261c04850fc1873294e40771211fec56261;
SET @BorderBinary += 0xc04ca4349bc72d4e40a9f92af9587661c091ef52ea922b4e4034a31f0da77f61c09df4bef1b5174e4032c51c041d8f61c079;
SET @BorderBinary += 0x3bc269c1274e40554d10751f9161c0397d3d5fb31c4e40647ac2120fa061c02f12da722e274e403fae07270fa061c086e518;
SET @BorderBinary += 0xd522324e40fe8cba8c10a061c0c551582e72f34e40cb24533114a061c07180dc12b97550404fcc7a3114a061c0fbcbeec9c3;
SET @BorderBinary += 0x7550401617b96015a061c0b15562a3e51f5140ad1397e315a061c0354069a851695140e7a7380ebca661c00490dac4c96b51;
SET @BorderBinary += 0x40e0b9f770c9ad61c0ae80423d7d6c51405e9f39ebd3b661c091d26c1e8772514041ef8d2180c061c04eb51666a175514030;
SET @BorderBinary += 0x46240aadc761c02dea93dc61795140a833f790f0cc61c027dbc01da87a5140368fc3607ece61c0b81e85eb517d5140902dcb;
SET @BorderBinary += 0xd7e5d761c03c84f1d3b8825140c51b9947fedf61c0b0c403caa6855140c8ee022505e961c0b4ff01d6aa89514057e9ee3a9b;
SET @BorderBinary += 0xed61c0b39602d2fe87514011c7bab88df061c060cb2bd7db8851400e12a27c41fd61c0cb1132906787514044317903cc0862;
SET @BorderBinary += 0xc026fdbd141e8351402c9d0fcf920e62c055d80c7041825140fe7dc685831562c063d2df4be17d5140420b09185d1962c01a;
SET @BorderBinary += 0x3048fab47e51409a61a3acdf1c62c08eaa2688ba7d5140342db1329a2562c0b60da320787f51403baa9a20ea2d62c07c0915;
SET @BorderBinary += 0x1c5e825140d2ac6c1ff23362c066666666668551402828452b773b62c013d1afad9f8a5140b66ad784344062c0c092ab58fc;
SET @BorderBinary += 0x885140f3e7db82254462c0ef703b342c8a5140962023a0425062c07de71725e88b5140d9976c3c585c62c04fb16a10e68b51;
SET @BorderBinary += 0x40aeb8382ab75f62c001a43671728951400740dcd52b6562c05eb7088cf5895140c3482f6a776762c0f2cb608c488d5140ae;
SET @BorderBinary += 0x65321ccf6d62c09ba8a5b9158c51403e4162bb7b7862c0bb5d2f4d118e5140e23d0796a37b62c01897aab4c592514054e3a5;
SET @BorderBinary += 0x9bc47e62c0b6d782de1b9451409f8f32e2828662c0043752b64896514057b3cef83e8b62c0d28a6f287c935140f9a067b3ea;
SET @BorderBinary += 0x8e62c0cdae7b2b129451401958c7f1438f62c0914259f8fa965140081c0934589562c01aa20a7f869b514077f52a32ba9d62;
SET @BorderBinary += 0xc07172bf43519b51409a249694bba562c0b4ea73b5159f514076f86bb2c6ae62c0c6dd205a2ba15140889cbe9eafb762c00f;
SET @BorderBinary += 0x5ebbb4e19f514046b071fdbbbb62c0e1b37570b0a051407afa08fc61c262c06dc328081e9c514010e7e104a6c962c01d3a3d;
SET @BorderBinary += 0xefc69a5140c05ab56b42cd62c0b70a62a06b9d51409869fb57d6d162c03a56293dd39e5140c79e3d9729d962c0da8b683ba6;
SET @BorderBinary += 0x9d51409fc893a4ebdc62c08f19a88c7f9d5140ec4fe273a7e062c07eaa0a0dc49b5140e675c4219be562c013f06b24099851;
SET @BorderBinary += 0x405cab3dec85e962c0fe7bf0daa59951407cd11e2f24f062c0478d0931979b5140b3b112f3acf762c052d2c3d0ea9b514018;
SET @BorderBinary += 0x5c73477ff762c00c73823639a05140fb5b02f04ff662c06a6b44300ea35140addd76a139ff62c07767edb60ba45140f88c44;
SET @BorderBinary += 0x68840263c06518778368a551409ce1067c7e0963c094f3c5de8ba651400a14b188e10d63c0558330b77ba751401074b4aa25;
SET @BorderBinary += 0x0f63c07f129f3bc1ab514006b98b30450b63c05645b8c9a8ac5140da8b683b260b63c0ca6e66f4a3af514038b9dfa1280663;
SET @BorderBinary += 0xc01f2dce18e6b25140ca880b40230763c0949ee925c6b45140cfd72c978d0d63c011346612f5b6514020b41ebe4c1663c09b;
SET @BorderBinary += 0x90d61874b851406214048fef1c63c0f12bd67091b851407ff78e1a932163c061fa5e4370ba51400018cfa0a12763c0e92807;
SET @BorderBinary += 0xb309bb5140be4d7ff6a32d63c0f88903e8f7b8514076887fd8523563c0dded7a698ab85140bfb7e9cf7e3c63c0889cbe9eaf;
SET @BorderBinary += 0xb8514049f59d5f144463c00ebc5aeeccb15140218fe0464a4963c0f6b4c35f93b451404e999b6fc44d63c07422c15433b551;
SET @BorderBinary += 0x40ac8a7093515263c0541d7233dcb451405ef6eb4e775363c08fa50f5d50bc51403b38d89b985263c0bce47ff277c051406c;
SET @BorderBinary += 0x921ff12b5e63c060aa99b514c85140c61858c7f16163c09c8713984ec95140a73b4f3c676863c0b6a0f7c610c551405d50df;
SET @BorderBinary += 0x32a76b63c030b610e4a0bf5140810871e56c7063c07b13437232bc514059349d9d8c6f63c03997e2aab2b85140da368c8260;
SET @BorderBinary += 0x7163c048bf7d1d38b65140dbfae93f6b7763c0936fb6b931b55140b2683a3b997d63c04929e8f692b65140cec47421567f63;
SET @BorderBinary += 0xc0d425e318c9ba514004c58f31777e63c0b0ca85cabfbd5140802a6edc627863c0e95f92ca14bf51401a187959937663c0a4;
SET @BorderBinary += 0xface2f4ac151406e4dba2d117163c0b1df13eb54c45140261aa4e0a97063c0fe277ff78ec6514067b96c74ce7263c0412619;
SET @BorderBinary += 0x390bcb51408eaf3db3a47c63c089ee59d768cc514027bd6f7c6d8163c076a22424d2cb5140ce6e2d93618263c0f12895f084;
SET @BorderBinary += 0xcf51409a982ec4ea8963c083f6eae3a1d05140dd43c2f7fe9063c0f8a3a833f7d25140da1b7c61329263c01536035c90d651;
SET @BorderBinary += 0x40778368ade89963c089eb18575cd25140f4f8bd4dff9c63c04be658de55cf51407d923b6ca2a563c0978a8d791dc65140aa;
SET @BorderBinary += 0xd216d778ad63c06f641ef983be51407711a62897b863c0a59d9acb0db85140a2ef6e6509c163c0efaa07cc43b55140b3cef8;
SET @BorderBinary += 0xbeb8cb63c0e108522976b45140fab7cb7e5dd263c022fdf675e0b2514013b875374fdb63c0e4ba29e5b5b25140957ec2d9ad;
SET @BorderBinary += 0xe363c0d76b7a5050b451400664af777fe563c06a6803b001b851400989b48dbff463c04a3fe1ecd6b251402a53cc41d0fb63;
SET @BorderBinary += 0xc0853fc39b35ad51407c48f8dedf0664c09927d714c8a3514082902c60021a64c02d228ac91b985140c539eae8382964c095;
SET @BorderBinary += 0x97fc4ffe925140d845d1039f3264c07a6d365662935140834f73f2223c64c08ba548be12955140efe3688eac4964c0747d1f;
SET @BorderBinary += 0x0e128d5140cde506431d5064c0d4efc2d66c86514036548cf3375964c0f3734353767b5140e61f7d93a65f64c0894160e5d0;
SET @BorderBinary += 0x7451407f2f85074d6264c06e179aeb346f514021054f21d76464c01aa3755435675140f1660dded76464c08aada069895b51;
SET @BorderBinary += 0x40a5d8d138d46764c0533bc3d49653514058198d7c5e7264c0e44ba8e0f0475140978dcef9a97d64c05ef1d4230d4051401c;
SET @BorderBinary += 0x78b5dc198864c0a226fa7c943b514000362042dc9064c00fed6305bf3a514034f0a31af69e64c0c2d8429083385140bad91f;
SET @BorderBinary += 0x28b7b064c00ce9f010c636514081069b3a8fbd64c031b3cf63943751400726378a2cc764c0d42b6519e237514082ab3c8130;
SET @BorderBinary += 0xc664c0f3aace6a812e5140ae9cbd335ac764c0ed0e290648275140fe9aac510fc964c0d788601c5c21514076e272bc82ca64;
SET @BorderBinary += 0xc0f6d214014e1c5140a376bf0af0d264c00c772e8cf4195140732b84d5d8da64c0d2aa967494155140ca4faa7d3ad364c013;
SET @BorderBinary += 0xef004f5a15514050a4fb3905ca64c08ecbb8a981125140eeb089ccdcc264c0cde847c3290e5140981249f432bf64c07a6b60;
SET @BorderBinary += 0xab040951407de71725e8bb64c0778192020b0751405cc5e23705b664c01cec4d0cc9055140709576e194ab64c0d28c59d3cc;
SET @BorderBinary += 0x015140e0be0e9c33ab64c09291b3b0a7015140c24b70ea03a364c040852348a5fb5040fa230c03169164c002f2255470ee50;
SET @BorderBinary += 0x4055a18158368864c0f75965a6b4e95040ac55bb26a48164c0a4c343183fe4504014eb54f91e7c64c01283c0caa1da504020;
SET @BorderBinary += 0x0725ccb47764c0f65d11fc6fcd5040406a1327777664c00000000000c75040e71bd13deb7264c023827170e9c55040c0594a;
SET @BorderBinary += 0x96936964c00953944be3c35040bdc458a65f6064c050ff59f3e3c15040e08618aff95a64c008e3a7716fbf5040da722ec555;
SET @BorderBinary += 0x5464c0ba4db857e6bf504060e3fa77fd4e64c0ea944737c2be50404a5f0839ef4e64c0ee23b726ddbc5040e048a0c1a65264;
SET @BorderBinary += 0xc034828debdfb950401611c5e40d5464c0ab23473a03b750402a5778970b5064c0a48b4d2b85af5040b75f3e59314b64c0ff;
SET @BorderBinary += 0x243e7782ae5040153944dc9c4564c01b6327bc04ac5040bc033c69614364c0d3c08f6ad8a75040957d5704ff3b64c0e1ea00;
SET @BorderBinary += 0x88bba050403bfc3559a33b64c0fa7b293c689d5040fa804067523d64c0b2648ee55d965040c5c6bc8e383664c0a26131ea5a;
SET @BorderBinary += 0x9950402f1686c8693264c0d236fe44659950401f662fdb4e2a64c0d73384639697504084622b68da2264c0556af6402b9450;
SET @BorderBinary += 0x40cc0bb08fce1f64c0942f6821018f5040473b6ef85d2664c0ee073c30808d5040d76839d0432a64c0842ba0504f8e504028;
SET @BorderBinary += 0x983105eb2a64c06a4df38e539050405ed4ee57812f64c0afe76b96cb905040b265f9ba8c3164c0c07adcb75a8f50407653ca;
SET @BorderBinary += 0x6ba53364c0a81b28f04e8b5040d07af832d13864c0cb2a6c06b8845040b3ee1f0bd13a64c09cdec5fb71815040f03504c765;
SET @BorderBinary += 0x4464c0bb0cffe9068550400436e7e0994a64c0c37fba8102825040e00ed4298f4d64c0be81c98d228350405f9a22c0e95364;
SET @BorderBinary += 0xc0de550f988782504032fe7dc6055864c012da722ec585504094347f4ceb5f64c01c774a07eb845040226fb9fab16464c060;
SET @BorderBinary += 0xe28fa2ce8350403cf88903e86b64c08a8d791d71855040535c55f6dd6f64c022de3aff76855040b5faeaaa407664c0541a31;
SET @BorderBinary += 0xb3cf835040087767edb67964c0e92add5d67865040b743c362547d64c06405bf0d318c504087fa5dd89a7d64c024438ead67;
SET @BorderBinary += 0x8e5040dfdfa0bdfa7a64c0a10f96b1a1905040253fe2572c7b64c058fe7c5bb0935040207efe7bf07b64c0d2a92b9fe59850;
SET @BorderBinary += 0x40b1170ad88e7964c0295c8fc2f59b5040492d944c4e7764c0bfd6a546e89f50402287889b537364c078d0ecbab7a3504034;
SET @BorderBinary += 0x0f60915f7a64c0a06cca15dea550401d5723bbd28c64c03a58ffe730a55040b9f11dc1d28c64c0a60162e630a55040d32f11;
SET @BorderBinary += 0x6f1d9a64c0462575029aa150409cd9aed007ad64c071395e81e89a50401f12bef737c164c04a7842af3f915040928e72309b;
SET @BorderBinary += 0xd864c008c6c1a56384504012fb04500ce964c0d978b0c56e7950406d37c137cdf464c0109546ccec725040ba162d405bff64;
SET @BorderBinary += 0xc0d619df17976e504025afce31200465c016a3aeb5f769504001030000000100000021000000ccb4fd2b2b2965c02a51f696;
SET @BorderBinary += 0x72644a409947fe60602865c09c6c0377a0604a40fa25e2ad732565c0b28174b169634a4098a77345292065c087f8872d3d6a;
SET @BorderBinary += 0x4a40e2ea00883b1b65c0dcba9ba73a744a40a703594f2d1865c00ef27a3029744a40f60a0bee071665c05d6dc5feb27b4a40;
SET @BorderBinary += 0x7c9dd497a51365c0ae7e6c921f814a40ea7c7896a00e65c0b16b7bbb25874a402d5c5661330d65c0909c4cdc2a8e4a406822;
SET @BorderBinary += 0x6c78fa0a65c00a9e42aed4954a400e643db57a0965c0d7c05609169d4a40ea7b0dc1f10265c07e350708e6a44a402e3718ea;
SET @BorderBinary += 0xb0fe64c027158db5bfab4a402a90d959f4fa64c0c2a1b77878b14a4016a06d356bfb64c0b8e2e2a8dcb64a40eeca2e18dcf9;
SET @BorderBinary += 0x64c0c8ec2c7aa7bc4a40c765dcd440f964c0a46e675f79c24a404835ecf744fd64c0478c9e5be8c24a4077d9af3bdd0065c0;
SET @BorderBinary += 0x8a54185b08c84a40669e5c53a00765c0c6db4aafcdc24a40848252b4f20a65c02d944c4eedbc4a40ec6987bfa60c65c01d91;
SET @BorderBinary += 0xef52eab24a4000c974e8740d65c0a70183a44fa94a402e20b41e3e0e65c0e7525c55f6a14a40c6dadfd99e1265c0014f5ab8;
SET @BorderBinary += 0xaca44a40bc2022356d1865c07ea8346266974a4091f0bdbfc11965c0c403caa65c8f4a408a743fa7201965c0e38920cec385;
SET @BorderBinary += 0x4a408e5bcccf8d1b65c0bd16f4de18824a403e3a75e5b31e65c0a1f14410e7774a4016f9f5436c2165c075012f336c724a40;
SET @BorderBinary += 0xccb4fd2b2b2965c02a51f69672644a4001030000000100000007000000acff73982f3a65c0342db1321a514c40ef384547f2;
SET @BorderBinary += 0x3565c0300c587215454c40ac3b16dba43265c03579ca6aba444c403eac376a852e65c06beee87fb94a4c40bfb854a52d2f65;
SET @BorderBinary += 0xc0f1811dff05504c4030db4e5ba33365c0b41ce8a1b64f4c40acff73982f3a65c0342db1321a514c40010300000001000000;
SET @BorderBinary += 0x1000000076df313c764565c057056a3178644a406f48a302a74665c06395d233bd5a4a40317903cc7c4265c0f0c16b97365c;
SET @BorderBinary += 0x4a40b406efab723e65c049111956f1644a409946938b313a65c005a2276552654a403271ab20863665c03315e29178634a40;
SET @BorderBinary += 0x884cf910543565c047aaeffca26e4a408d0b0742323565c088f37002d3794a406ce690d4c23565c01ff46c567d844a405245;
SET @BorderBinary += 0xf12aeb3765c05dfe43faed8b4a40d447e00f3f3a65c094d920938c884a403c6bb75d683865c028ed0dbe307d4a4020645930;
SET @BorderBinary += 0x713b65c01b2b31cf4a744a405c902dcbd74065c089cc5ce0f2784a4024607479f34265c00caf2479ae754a4076df313c7645;
SET @BorderBinary += 0x65c057056a3178644a40010300000001000000070000000ef96706714d65c097e13fdd409b4c405f0839ef7f4d65c05f0663;
SET @BorderBinary += 0x44a2944c4032c85d84294965c036ae7fd767904c40a52e19c7484465c07f68e6c935974c4028d87f9d9b4465c043ab933314;
SET @BorderBinary += 0x9f4c40c896e5ebb24965c0f23ff9bb779e4c400ef96706714d65c097e13fdd409b4c4001030000000100000008000000c05f;
SET @BorderBinary += 0xcc962c5a65c096218e7571514a40662ac423f15a65c0ad49b72572474a40e8c1dd593b5965c0dafe959526454a40cbbbea01;
SET @BorderBinary += 0xf35565c07ec2d9ad654a4a40fbae08feb75265c0a3552de9284b4a406898da52075165c03c9d2b4a09574a405a99f04b7d55;
SET @BorderBinary += 0x65c090f63fc05a594a40c05fcc962c5a65c096218e7571514a4001030000000100000006000000a69a594b016a65c05b41d3;
SET @BorderBinary += 0x122b3f4a40944db9c2bb6965c08862f20698394a40c0012d5d416765c05455682096374a40e8120ebd456665c04544317903;
SET @BorderBinary += 0x404a4019558671376865c0eba86a82a8434a40a69a594b016a65c05b41d3122b3f4a4001030000000100000036000000f949;
SET @BorderBinary += 0xb54fc77a65c07e880d164ec84f40f243a511337b65c06c2409c215be4f4082a966d6527865c08409a359d9b04f4079758e01;
SET @BorderBinary += 0x597565c03bf9f4d896ad4f404eb16a10e67065c01132906797a94f4088b7cebfdd6d65c00b7c45b75ea74f4066dd3f162269;
SET @BorderBinary += 0x65c0a794d74ae8ae4f40810706103e6765c0a93121e692b24f40c684984b2a6265c0c0c8cb9a58b64f4024986a66ad5c65c0;
SET @BorderBinary += 0xa4880cab78b54f40ff76d9af3b5565c09a5df75624b04f40707a17efc74d65c0fad346753aa84f40b4024356b74965c08ee8;
SET @BorderBinary += 0x9e758d9e4f40a6b915c26a4865c09816f549ee964f403a0664aff74565c0b62e35423f974f403065e080964165c094f59b89;
SET @BorderBinary += 0xe9944f4022c84109333c65c06a2c616d8c8d4f4041800c1d3b3965c0641ef98381854f40b83d41623b3865c049287d21e47a;
SET @BorderBinary += 0x4f40c2f7fe066d3465c0f90e7ee200784f405af3e32f2d3265c01893fe5e0a7d4f40f9bd4d7f763265c05296218e75834f40;
SET @BorderBinary += 0x44fcc3961e3165c0a4a5f27684894f40fd12f1d6f92d65c09541b5c1898e4f403a3fc571602765c04df4f92823964f400187;
SET @BorderBinary += 0x50a5662265c0f1ed5d83be964f403a014d840d1e65c020990e9d9e914f4086915ed4ee1a65c0c9570229b1934f407c975297;
SET @BorderBinary += 0x0c1865c0a8e2c62de69b4f40920035b5ec1565c06053e751f1a54f405ad8d30eff1d65c0dc611399b9aa4f408a5b0531d022;
SET @BorderBinary += 0x65c0887fd8d2a3ab4f40f6b86fb5ce2e65c070cadc7c23ae4f4000a5a146213265c09c11a5bdc1b14f409415c3d5013565c0;
SET @BorderBinary += 0x0d4dd9e907b74f40e083d72e6d3b65c0265305a392b84f406ea7ad11414065c024cd1fd3dabc4f40da76da1a914165c08f4f;
SET @BorderBinary += 0xc8cedbc44f40151c5e10114365c0fd9c82fc6cce4f40db32e02ca54565c0fd80070610d04f40b08a37328f4865c0880e8123;
SET @BorderBinary += 0x81d64f40965b5a0d094b65c06588635ddcd84f406745d4449f4f65c07daf21382ed94f40e94482a9665365c0807c09151cd6;
SET @BorderBinary += 0x4f40f646ad307d5b65c0a4a65d4c33cb4f4063efc5176d5e65c086c8e9ebf9c84f405ad2510ee66965c0a08499b67fcf4f40;
SET @BorderBinary += 0xb7ec10ffb07165c0b1f677b647d54f40da3d7958a87265c041b62c5f97db4f40de8fdb2f9f7365c0fb1d8a027de44f402e3d;
SET @BorderBinary += 0x9aeac97765c0b35bcb6438e44f40340ef5bbb07965c0091346b3b2db4f405caad216577965c03d0ad7a370cf4f40f949b54f;
SET @BorderBinary += 0xc77a65c07e880d164ec84f40010300000001000000090000001ec6a4bf979365c0a0bfd02346274a4074b680d07a9465c04c;
SET @BorderBinary += 0x1aa375541f4a40cc457c27e69065c0041901158e204a40ea7aa2eb428d65c05dbf60376c234a405e11fc6fa58965c0282499;
SET @BorderBinary += 0xd53b2a4a4036ffaf3a728a65c02973f38de82e4a40fd14c781578e65c081b053ac1a324a40d8101c97719165c066b96c74ce;
SET @BorderBinary += 0x2d4a401ec6a4bf979365c0a0bfd02346274a400103000000010000000d0000000e9d9e7763a265c0e0f25833325a4e40ce6d;
SET @BorderBinary += 0xc2bdb2a365c09601672959544e40842f4ca60aa265c0282a1bd654404e400169ff03ac9c65c05a80b6d5ac394e40b4722f30;
SET @BorderBinary += 0x2b9465c0ff5a5eb9de2a4e4082751c3f548d65c0404cc2853c284e40a6b228ec228865c0f1d24d6210264e403ac8ebc1a487;
SET @BorderBinary += 0x65c0e23ac615172b4e405871aab5308c65c0060b2769fe304e40ce4f711c789165c0fbcbeec9c3344e40c70e2a711d9b65c0;
SET @BorderBinary += 0x1d3c139a24424e40dfa46950349d65c058c85c19544d4e400e9d9e7763a265c0e0f25833325a4e4001030000000100000025;
SET @BorderBinary += 0x00000034bdc458a6e965c0cdcb61f71d074a40790261a758ea65c0648ee55df5004a40d87bf145fbe465c07ac1a73979014a;
SET @BorderBinary += 0x400f98874c79e065c038894160e5004a40c90050c58ddc65c00394861a85024a40d9cf622992d765c0e47ff277ef004a407f;
SET @BorderBinary += 0x2f8507cdd165c08cd7bcaab3044a4055a3570314cd65c0b80375caa3014a408c0e48c23ecc65c077baf3c4730a4a403c855c;
SET @BorderBinary += 0xa9e7c865c0062d2460740b4a40d45e44db31c365c06b6116da39094a40c8073d9bd5bc65c08d23d6e253064a40d882de1b43;
SET @BorderBinary += 0xba65c01ec3633f8b054a40560c570740b665c078ec67b114074a40f3c98ae16ab065c08121ab5b3d034a405d33f9669bac65;
SET @BorderBinary += 0xc06c1ff296ab034a40da39cd026da565c0fdf675e09c054a403b1a87fa5d9f65c0b62bf4c132084a4040f9bb77549e65c0f8;
SET @BorderBinary += 0xc43a55be0d4a4060aa99b594a565c0261aa4e029104a4058703fe001ac65c07841446ada0d4a40be4c1421f5b065c0721420;
SET @BorderBinary += 0x0a66144a40e44ba8e0f0b465c0ea77616bb6124a4062307f85ccbc65c0cf0d4dd9e9114a40b3b45373b9c065c06806f1811d;
SET @BorderBinary += 0x114a4076a38ff980c165c0cea44dd53d1e4a407a1d71c886bf65c0d59ae61da7284a408e006e162fc265c0b7cebf5df6314a;
SET @BorderBinary += 0x402cedd45ceec565c0a354c2137a354a403a747ade8dca65c03cbebd6bd02f4a403695456197ce65c0878a71fe26284a404e;
SET @BorderBinary += 0x29af95d0ce65c060048d99441b4a4050c24cdbbfd165c0b48eaa2688144a40f19d98f5e2d665c0fca9f1d24d104a4068b455;
SET @BorderBinary += 0x4964dc65c0a019c40776104a40b8c667b2ffe065c069554b3aca0b4a4034bdc458a6e965c0cdcb61f71d074a400103000000;
SET @BorderBinary += 0x010000002700000072e0d572671e66c05a457f68e6d749400bb43ba4981f66c0d66d50fbadcd49401215aa9b0b1e66c02843;
SET @BorderBinary += 0x554ca5cb4940d9cef753e31966c045d3d9c9e0ce4940c058dfc0e41666c005dcf3fc69cf494066a032fefd1466c05a61fa5e;
SET @BorderBinary += 0x43d4494030d7a205681166c0020ccb9f6fd949401973d712f20e66c05d86ff7403dd49408ead6708470966c0d314014eefde;
SET @BorderBinary += 0x4940f836fdd90f0566c04c6e14596be249407847c66af3ff65c06a2fa2ed98e64940a0f65b3bd1fe65c02992af0452ec4940;
SET @BorderBinary += 0xeb55647440f965c0f5ba4560acf54940395fecbd78f465c07689eaad81f7494029cde67198ed65c0586dfe5f75fc494088ba;
SET @BorderBinary += 0x0f406aee65c08fa4a487a1014a40a8328cbb41f565c05b5eb9de36ff494072840ce4d9f965c0777fbc57adfe4940c097c283;
SET @BorderBinary += 0x66fc65c0217024d060ff4940e659492b3e0066c02c0abb287a084a403944dc9cca0166c081768714030e4a40990d32c9c804;
SET @BorderBinary += 0x66c0d07ea4880c0f4a40d829560dc20666c070ed444948084a404eed0c53db0566c0faeb1516dcff494061360186650566c0;
SET @BorderBinary += 0x2b6519e258f949402157ea59900566c0a7b1bd16f4f0494022aaf067f80966c02afc19deacef49401e32e543d00d66c01daa;
SET @BorderBinary += 0x29c93aee4940252191b6711266c0849ecdaacfeb4940bceb6cc8bf1166c0f964c57075f4494097530262921166c0a12aa6d2;
SET @BorderBinary += 0x4ffa4940ec2fbb278f1266c05e0d501a6a004a40950c00555c1666c0893f8a3a73fb494042ebe1cbc41866c0592f8672a2fb;
SET @BorderBinary += 0x49402cd32f11ef1966c09cbd33daaaf649406c3d4338661866c07d7555a016ef49404483143c051966c06589ce328bea4940;
SET @BorderBinary += 0xbaf1eec8581d66c0c231cb9e04e6494072e0d572671e66c05a457f68e6d7494001030000000100000011000000b4ad669d71;
SET @BorderBinary += 0x3566c0e0bbcd1b27df494064416150a63666c0622992af04da494050e27327d83466c07344be4ba9d349405bb395977c2f66;
SET @BorderBinary += 0xc0e063b0e254d74940ca15dee5222b66c0921e865627d949402c2e8ecacd2866c0ec4ca1f31ad7494078060dfd132666c08c;
SET @BorderBinary += 0x9b1a683ed94940d07d39b35d2366c07ff78e1a13dc4940800c1d3b282366c0bc1c76df31ea49400e6c9560712166c0d38217;
SET @BorderBinary += 0x7d05f349405af3e32f2d2366c0051555bfd2f74940d216d7f8cc2566c04dd53db2b9f84940dae89c9f622666c0994528b682;
SET @BorderBinary += 0xf449406216da394d2766c0560a815ce2e64940ce380d51052a66c05cffaecf9ce3494074b2d47abf2f66c0cff4126399e249;
SET @BorderBinary += 0x40b4ad669d713566c0e0bbcd1b27df494001030000000100000013000000cc0bb08f4e4666c048da8d3ee6f34940baa29410;
SET @BorderBinary += 0x2c4766c044f7ac6bb4ee494026e1421ec14266c0c15087156ee74940fc53aa44d93f66c0f5d6c05609e44940b8585183693f;
SET @BorderBinary += 0x66c016bb7d5699db49405c3cbce7c04166c037a27bd635da4940062cb98ac54366c0849b8c2ac3d6494088d7f50b764166c0;
SET @BorderBinary += 0xe63922dfa5d049407020240b183d66c05ebc1fb75fcc49408ec70c54c63b66c058e02bbaf5d64940f6949c137b3a66c040f8;
SET @BorderBinary += 0x50a225db494056b8e523293866c0519e7939ece249406400a8e2c63466c0e8a1b60da3e64940cfbbb1a0b03366c05abbed42;
SET @BorderBinary += 0x73ed49405801bedb3c3866c0512b4cdf6bec4940fc56ebc4653c66c0293fa9f6e9ec4940f816d68d773e66c0c03a8e1f2af5;
SET @BorderBinary += 0x4940137f1475e64266c0d07cceddaef54940cc0bb08f4e4666c048da8d3ee6f349400103000000010000000700000076f9d6;
SET @BorderBinary += 0x87755c66c0a69a594b01c94940ebfd463b6e5a66c0ea909be106c649403ae466b8815766c09fe238f06ac54940f0c16b97b6;
SET @BorderBinary += 0x5266c0e3c281902cc84940f831e6aea55166c01cebe2361ace4940151a8865b35566c0077c7e1821d0494076f9d687755c66;
SET @BorderBinary += 0xc0a69a594b01c949400103000000010000000600000040170d190f5c66c097e13fdd40eb4940de921cb0ab5c66c0feb5bc72;
SET @BorderBinary += 0xbde34940cb811e6a5b5966c03cbf28417fdf494076abe7a4775766c00e66136058e449401ea33cf3f25866c0e200fa7dffec;
SET @BorderBinary += 0x494040170d190f5c66c097e13fdd40eb494001030000000100000007000000cc7a3194936566c0245cc823b8a34940a46950;
SET @BorderBinary += 0x340f6466c00bd12170249c4940185b0872506266c0c6c03a8e1fa049407e1ccd91155d66c09acde33098ab494068b0a9f3a8;
SET @BorderBinary += 0x5d66c0feb7921d1bb149402426a8e1db5f66c08d5bcccf0db54940cc7a3194936566c0245cc823b8a34940;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'AK';
SET @BorderBinary = 0x01030000000100000099000000b30a9b012eb35cc0029cdec5fb4b404033f9669b1bb45cc02d9622f94a484040642310af;
SET @BorderBinary += 0xebb25cc07ac4e8b985464040b5e1b034f0b35cc0519e7939ec4240406ea6423c12b45cc01e15ff77443f4040a6d1e4620c70;
SET @BorderBinary += 0x5cc024eeb1f4a11540404f2358745c555cc02d57c1e1260540408fa850dd5c175cc0a01518b2babd3f401ef2196d7cd75bc0;
SET @BorderBinary += 0xd008d448c16c3f4016fbcbeec9c45bc0ab74779d0d553f401518d277739d5bc098b6dfc048553f407636e49f19755bc03eac;
SET @BorderBinary += 0x376a85553f401bd7bfeb33435bc0c6dadfd91e553f401c08c90226435bc099982ec4eacb3f40c4211b4817435bc04869368f;
SET @BorderBinary += 0xc30a40406bb933130c435bc01f62838593364040c90807f703435bc02eb28861876340407b8505f703435bc0e42cec698763;
SET @BorderBinary += 0x4040508a56ee05435bc01b81785dbf9a4040a3ca30ee06435bc077baf3c473b4404044d0d89dfb425bc0b7594b1e9de34040;
SET @BorderBinary += 0xc8ebc1a4f8425bc0522635b401f040407dea58a5f4425bc0655419c6dd424140718cb8f0f3425bc0781ce835264a41404a5f;
SET @BorderBinary += 0x0839ef425bc0f6b0170ad87a41408ca3a176f7425bc0e123bc085c9641405a65a6b4fe425bc08f5033a48aae4140e17b7f83;
SET @BorderBinary += 0xf6425bc08444dac69fce414031b5a50ef2425bc0aa8251499df0414039c4848fef425bc0f82737a04c004240a4de5339ed42;
SET @BorderBinary += 0x5bc0af5b04c6fa0e4240304ad05fe8425bc07e384888f26f4240ba8102efe4425bc07afa08fce17f4240d49d279eb35f5bc0;
SET @BorderBinary += 0x922232ace27f424000378b170b805bc02e3a596abd7f4240003acc97179e5bc0c8409e5dbe7f4240cadb114e0bb05bc00039;
SET @BorderBinary += 0x61c2688042402654707841c45bc0616f62484e804240d13b1570cfd15bc075e5b33c0f804240745df8c1f9d95bc05e488787;
SET @BorderBinary += 0x30804240870e880d6bda5bc01f01bd6b30804240cd069964e4165cc03cbd529621804240bde47ff277225cc02a9b34621880;
SET @BorderBinary += 0x4240bccff1d1e2225cc065ff3c0d18804240f5c2528f16355cc016815ea90c804240c987fa578c395cc0c68de3de09804240;
SET @BorderBinary += 0x13622ea9da3d5cc03eeb1a2d078042408ffe976bd17d5cc05917b7d1008042405e4bc8073d835cc04c86e3f90c804240c235;
SET @BorderBinary += 0x8bd535835cc0ba6edd0fec6b42406118b0e42a835cc05fed28ce514d424006f4c29d0b835cc0f5ba4560ac29424048348122;
SET @BorderBinary += 0x16835cc0525f96766a224240718dcf64ff825cc06e15c440d71842407ff6234564865cc0bbb6b75b920f4240624d6551d888;
SET @BorderBinary += 0x5cc01936cafacd064240143fc6dcb5895cc088d860e124034240dd5ed218ad8d5cc03c32569bff014240dcf4673f52915cc0;
SET @BorderBinary += 0x14e8137992044240293e3e213b945cc0a88aa9f413084240b9347ee195955cc02ea86f99d30d42404e29af95d0975cc0c4cc;
SET @BorderBinary += 0x3e8f511242404d840d4faf9a5cc02104e44ba81242400e4e44bfb69c5cc095f1ef332e1042409082a7902b9f5cc0da1d520c;
SET @BorderBinary += 0x901042404aeb6f09c0a05cc04791b586521342401553e9279ca45cc08fdfdbf46713424053e8bcc62ea85cc0f92b64ae0c12;
SET @BorderBinary += 0x4240a4e2ff8ea8aa5cc00fb56d18050f42406eddcd531daf5cc00ce4d9e55b0d424091ef52ea92af5cc0971c774a07094240;
SET @BorderBinary += 0x330e003792af5cc0547a539070084240f549eeb089af5cc0c495b37746014240454b1e4fcbae5cc0e8154f3dd2f8414095d5;
SET @BorderBinary += 0x743dd1ac5cc06939d0436df341409be3dc26dcaa5cc07c259012bbee414090f7aa9509ad5cc0f5673f5244e84140378dedb5;
SET @BorderBinary += 0xa0ac5cc03bc43f6ce9dd41408ba8893e1fac5cc0691cea7761d34140a7406667d1a95cc0d6e07d552ece41401a34f44f70aa;
SET @BorderBinary += 0x5cc0ee05668522c341404a0c022b87aa5cc03753211e89b9414024473a0323a85cc064ca87a06ab441402062838593a55cc0;
SET @BorderBinary += 0xada0698995a14140747808e3a7a45cc09d11a5bdc19141404a9869fb57a65cc02497ff907e8f41401f680586aca75cc0d312;
SET @BorderBinary += 0x2ba3918f4140942f682101a85cc06c3f19e3c38841403cdc0e0d8ba85cc06422a5d93c80414037c2a2224ea85cc0f068e388;
SET @BorderBinary += 0xb5784140f3caf5b699a85cc0b28009dcba6f4140afeded96e4a45cc0e3361ac05b6841403412a1116c9f5cc01749bbd1c75c;
SET @BorderBinary += 0x414011a62897c69d5cc00377a04e79584140d21a834e089b5cc0b7b6f0bc544a414015e63dce34985cc03e59315c1d424140;
SET @BorderBinary += 0x8c81751c3f985cc09f73b7eba5394140a0ff1ebc76955cc087fa5dd89a394140b8b1d991ea905cc0dbf7a8bf5e334140bc91;
SET @BorderBinary += 0x79e40f8b5cc044679945282c41409e4143ff04895cc0cd1c925a28274140aaddf02503895cc0e151e3e1cc2641401956f146;
SET @BorderBinary += 0xe6885cc0dd088b8a3821414061c3d32b658b5cc0e386df4db71e4140a4198ba6b38e5cc0755ab741ed174140a5846055bd92;
SET @BorderBinary += 0x5cc07a36ab3e57154140ac53e57b46965cc0c05774eb35114140c1c6f5effa995cc0111956f1460e41409df529c7649b5cc0;
SET @BorderBinary += 0x3a3fc571e00b41408b8ffb9c869b5cc0824ca06c1a0a4140bd512b4cdf9b5cc0d6a88768740541407bbfd18e1b9d5cc0b9a6;
SET @BorderBinary += 0x406667014140a4c519c39ca05cc0aed172a087fa404040321d3a3da25cc031af230ed9f64040abcdffab8ea05cc016bce82b;
SET @BorderBinary += 0x48f340405a677c5f5ca05cc0dd5b9198a0ee40409c6d6e4c4fa15cc0942c27a1f4e94040787de6ac4fa05cc05660c8ea56e1;
SET @BorderBinary += 0x4040a6d590b8c79f5cc0a0e062450ddc40405fed28ce51a05cc04ab4e4f1b4d84040e5b4a7e49ca15cc0774b72c0aed44040;
SET @BorderBinary += 0x11e0f42edea15cc0280f0bb5a6cd4040ea20af0793a15cc02f6b6281afc640403cdd79e239a65cc09757aeb7cdbe4040e600;
SET @BorderBinary += 0xc2ef43a85cc0122c0e677eb7404069fe98d6a6a85cc09e95b4e21bb6404078efa83121ab5cc0897956d28ab5404028983105;
SET @BorderBinary += 0x6bae5cc0b5a7e49cd8b3404006b98b3045ad5cc00261a75835b04040e333d93f4fad5cc078ebfcdb65a9404069e21de049ae;
SET @BorderBinary += 0x5cc00ad5cdc5dfa44040919c4cdc2aab5cc055fa0967b7a0404001a1f5f065ab5cc068226c787a9d404092cf2b9e7aab5cc0;
SET @BorderBinary += 0x990b5c1e6b9440402e90a0f831ad5cc0e40f069e7b8d4040c2c3b46feeaa5cc0b9e2e2a8dc84404091d3d7f335a85cc0d93c;
SET @BorderBinary += 0x0e83f9834040d13b1570cfa45cc018778368ad844040b2864e9f17a15cc0a8080b09278340407782fdd7b9a05cc0bef6cc92;
SET @BorderBinary += 0x00834040c0046eddcd9e5cc039cfd8976c7c4040cafd0e45819e5cc0bfd53a713976404041b96ddfa39d5cc0906456ef7073;
SET @BorderBinary += 0x40406ff1f09e039e5cc08386fe092e6c4040d8f15f2008a25cc0cd02ed0e2964404044696ff085a45cc0babc395cab5f4040;
SET @BorderBinary += 0x1b5ac44283a75cc0a9b338d1da5e4040c5538f34b8aa5cc0bbef181efb5d4040cccea2772aad5cc0e02a4f20ec5e4040d507;
SET @BorderBinary += 0x92770eae5cc094490d6d005c4040d044d8f0f4b05cc08ba8893e1f53404020274c18cdb35cc0bf5e61c1fd4e4040b30a9b01;
SET @BorderBinary += 0x2eb35cc0029cdec5fb4b4040;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'AZ';
SET @BorderBinary = 0x010300000001000000db000000ee2422fc8ba757c0109546ccec3f4240933a014d84a557c02b685a6265264240b892ee32;
SET @BorderBinary += 0xfca357c04ae95888bb14424095e8d86e52a357c0d789e6bb150d42409a0986730da257c0e3a430ef71fe41403f51d9b0a69f;
SET @BorderBinary += 0x57c09735b1c057e2414041acf2f78d9f57c04abaf55d2ce14140967b8d96479e57c0aa88c0e9bbd141401649bbd1c79c57c0;
SET @BorderBinary += 0xa226fa7c94bf4140f3e6e039d59b57c0081ca5e453b2414083a3e43cc59b57c0de116f4d74b14140f02e17f19d9b57c0aef2;
SET @BorderBinary += 0x04c24eaf41403cdba337dc9b57c000193a7650a34140b8a0b6e5589c57c0b1f4163400884140de3509ffa39c57c0833a5388;
SET @BorderBinary += 0x8c7741407500c45dbd9c57c0d7a02fbdfd71414092c5e8ce149d57c075b88e844e5d4140e27a14ae479d57c01ee1b4e04551;
SET @BorderBinary += 0x4140a63eaac9839d57c01e52ed56f4404140696ff085c99d57c0cdab3aab052e4140503542fb169e57c00eae1e794d184140;
SET @BorderBinary += 0x2b82ffad649e57c0f819170e84024140b295cd898b9e57c0e8f6efc46ff84040b6f5d37fd69e57c02424d236fee440406abc;
SET @BorderBinary += 0x7493189f57c04c1938a0a5d140403b8a73d4d19a57c0fdd8243fe2c940406f490ed8d59857c09e4319aa62c84040d218ada3;
SET @BorderBinary += 0xaa9657c09be5b2d139c74040cd8fbfb4a89557c03c139a2496c84040fc1a4982709357c06186c61341c84040e603029d498f;
SET @BorderBinary += 0x57c01d71c806d2c94040c6504eb4ab8d57c0663046240ac94040fecf61bebc8b57c03d26529acdcb4040c2a2224e278957c0;
SET @BorderBinary += 0x728a8ee4f2c940409f5912a0a68457c063d4b5f63ec940401351102cce8257c00d8c418e9ec64040c3ee3b86c78257c03199;
SET @BorderBinary += 0x2a1895c64040b587bd50c08257c0ec67b114c9b740405b22179cc18257c05bb22ac24daa4040ad47f09fbf8257c0f456840f;
SET @BorderBinary += 0xb8a24040bdfa78e8bb8257c0ec6b5d6a84944040f1b913ecbf8257c01d3ba8c4758240409c63f6a2217457c075cf18577b82;
SET @BorderBinary += 0x40405b15e69b837357c01dfd54937b8240401b45d61a4a6e57c0d15625917d8240400db858f5576157c09a01c12566824040;
SET @BorderBinary += 0x2c331f8e645f57c0007b519e628240406b0da5f6225857c06fd6e07d558240409c062356454f57c0739c27584e8240408f8a;
SET @BorderBinary += 0xff3ba24c57c01af7e6374c824040f25449fc463f57c0b4e35f4735824040e0bbcd1b273e57c05de0f258338240407ab33031;
SET @BorderBinary += 0x622e57c0a79077f3d58140400dfb3db14e2e57c063b5f97fd58140404df1b8a8162057c0e12879758e814040cceec9c3420e;
SET @BorderBinary += 0x57c01a868f88298140409155d4e56c0457c0a145c8f3158140404bc32b326c0457c0c99762f21581404016f4de1802f856c0;
SET @BorderBinary += 0xbaa1293bfd8040403d7fdaa84edf56c074e95f92ca80404065d70c0f77dd56c01c0ef382c48040407155794be6db56c0635e;
SET @BorderBinary += 0x8e5cbf8040403dd90d9eeed056c0a5a123489b804040e9efa5f0a0ca56c0d3db9f8b8680404049cd7efc36ca56c0022c6d63;
SET @BorderBinary += 0x7081404003081f4ab4c756c05053cbd6fa864040207c28d192cb56c0478d0931978c404009336dffcac956c0927538ba4a91;
SET @BorderBinary += 0x4040adda3521adc656c0081c0934d89040403db9a64066c556c087a4164a269740404f3e3db665c456c0d007cbd8d09d4040;
SET @BorderBinary += 0x6f7ec34483c556c0143e5b0707a34040d7d7bad408c856c02ec55565dfa34040ab77b81d1ac956c0f5d4eaababac404093dd;
SET @BorderBinary += 0xcce847c756c0e8a221e351b2404012f5824f73c956c02ae27492adb64040129f3bc1feca56c09bc8cc052ebb404085eb51b8;
SET @BorderBinary += 0x1ecc56c0dae1afc91abf404085ecbc8dcdcd56c007600322c4c34040e34e964929cd56c05963236303c64040d0b52fa017cc;
SET @BorderBinary += 0x56c09d11a5bdc1c94040c83ec8b260c856c0a4c0029832ce404017618a7269cb56c0cd902a8a57d340403463d17476c656c0;
SET @BorderBinary += 0x882b67ef8cd440409a5e622cd3c456c00795b88e71db404049bc3c9d2bc956c01840f850a2df4040d0ecbab722c756c09943;
SET @BorderBinary += 0x520b25e34040c85eeffe78c556c0c824236761e34040c687d9cbb6c156c00fed6305bfe1404080ef366f9cc156c0798ec877;
SET @BorderBinary += 0x29e74040e066f16261c356c0067e54c37ee94040997e8978ebc356c0ca89761552f04040ffcc203eb0c156c007b64ab038f4;
SET @BorderBinary += 0x40409dbb5d2f4dc256c04fabe80fcdf840404ed2fc31adc556c0354415fe0cfb404029cde67118c356c02a01310917fe4040;
SET @BorderBinary += 0x7d06d49b51c056c0876a4ab20efd40403db83b6bb7be56c04544317903004140a54bff9254bc56c0add85f764f024140f792;
SET @BorderBinary += 0xc6681db956c008c9022670034140b680d07af8b756c04e7cb5a33809414072dc291dacb956c056815a0c1e0c4140f71c588e;
SET @BorderBinary += 0x90bc56c02f849cf7ff0d41404194a58777bc56c068d5909fee0e41403374b5d16bbc56c00d3ab14c5e0f41408463963d09bc;
SET @BorderBinary += 0x56c01893fe5e0a1341401c42959a3db956c0b7989f1b9a14414060c9552c7eb856c0a547533d99174140d313967840b956c0;
SET @BorderBinary += 0x30f0dc7bb81c4140ba10ab3fc2b556c05a10cafb381e4140620fed6305b456c03ca1d79fc423414084d4edec2bb056c020ec;
SET @BorderBinary += 0x14ab06254140f86f5e9cf8b056c0753dd175e12b4140fcdf1115aaae56c0e4805d4d9e2e41407289230f44aa56c009a7052f;
SET @BorderBinary += 0xfa2a4140116e32aa0ca956c05f79909e22314140880d164ed2a456c03b6f63b323354140a1478c9e5ba556c06bba9ee8ba3a;
SET @BorderBinary += 0x4140d844662e70a456c0f4df83d72e4341408d614ed026a356c096e99788b748414048dbf81395a556c0e38c614ed04e4140;
SET @BorderBinary += 0xc4d7e1c1b0a456c023dc7a1d1c5141407f68e6c935a356c0ecd808c4eb5441407e384888f2a256c03ba759a0dd594140c094;
SET @BorderBinary += 0x81035aa056c0b8c83d5ddd61414078b130444e9e56c05778978bf8644140174339d1ae9d56c0cfd6c1c1de6a41403938b263;
SET @BorderBinary += 0x1c9a56c06b3ce0fee96a4140a3ffe55ab49956c0b7973446eb6a41402d05a4fd0f9456c08afed0cc936f41407e9afa5fee93;
SET @BorderBinary += 0x56c0c4171796b96f41402979758e019056c0dc80cf0f237441400a2aaa7ea58f56c0226e4e25037841400ff0a485cb9356c0;
SET @BorderBinary += 0x6669a7e6727f41405740a19e3e9356c047ad307daf8341409df0129cfa9056c0fda02e522885414061a2410a9e8c56c05af2;
SET @BorderBinary += 0x785a7e864140da3a38d89b8b56c02de92807b38b4140a4dde8633e8a56c0315f5e807d90414032ace28dcc8556c05e454607;
SET @BorderBinary += 0x248f414026f911bf628656c06a85e97b0d954140450da661f88556c0c8ee0225059a4140716f7ec3448656c02ac76471ff9f;
SET @BorderBinary += 0x41406d6de179a98a56c0e1ef17b325a34140d3a3a99ecc8756c062bebc00fba64140198ee733a08556c018cfa0a17fae4140;
SET @BorderBinary += 0xd42afa43338756c09badbce47fb44140fef0f3df838456c077d844662eb641400114234be68256c08f4e5df92cb54140d09a;
SET @BorderBinary += 0x1f7f698156c0068195438bba4140923f1878ee8256c04031b2648ebf4140b3b5be48688256c02b85402e71c6414002d2fe07;
SET @BorderBinary += 0x587d56c092921e8656c54140f8307bd9767c56c0f5d72b2cb8c7414048e17a14ae7b56c007b13385cecd4140f357c85c1978;
SET @BorderBinary += 0x56c05b785e2a36d041407976f9d6877956c0f46a80d250d34140a7ad11c1387d56c0b5696caf05d9414012329067977a56c0;
SET @BorderBinary += 0xe318c91ea1e0414057772cb6497756c028603b18b1df41406f0b96ea027356c0d12346cf2de44140dec4909c4c6e56c04cfc;
SET @BorderBinary += 0x51d499e7414011381268b06e56c0838593347fec4140923eada23f6e56c098f6cdfdd5ef4140a46b26df6c6956c0a64412bd;
SET @BorderBinary += 0x8cf241400c76b6a8876956c084dea09fa8f3414086376bf0be6956c0dd408177f2f5414099b51490f66b56c0aef204c24ef9;
SET @BorderBinary += 0x41401c774a07eb6e56c0d80e46ec13004240832d76fbac7956c02ee23b31ebff41402157a367667d56c0e6aec1b1dfff4140;
SET @BorderBinary += 0xe17cea58a58656c09cdd5a26c3ff41400596651f7e9256c0070c59c58dff414094dc6113999756c0707b82c476ff414019c8;
SET @BorderBinary += 0xb3cbb79556c0e49f19c407064240c03bf9f4d89256c0d68ee21c750e4240679b1bd3138f56c03752b648da114240218e7571;
SET @BorderBinary += 0x1b8e56c034bdc458a6174240539840ac1a8c56c0c248a86478194240f7216fb9fa8956c04276dec6661b4240d1e5cde15a87;
SET @BorderBinary += 0x56c0957d5704ff21424047e6913f188456c0feb8fdf2c9264240861c5bcf108456c0944a7842af2d4240a6457d923b8456c0;
SET @BorderBinary += 0x25ae635c71314240202235ed628856c0ad4a22fb20354240f92b64ae0c8956c0ee23b726dd3a42406133c005d98956c08922;
SET @BorderBinary += 0xa46e673f424022cca3c0208e56c08baa0de27a3f4240d49ae61da79f56c0bcafca85ca3f424017d0281ee0a456c03203f4c3;
SET @BorderBinary += 0xcb3f4240a0dd21c500b156c049a0c1a6ce3f42408897650e31b256c060ecff9bcd3f4240698b6b7c26c156c0afb0e07ec03f;
SET @BorderBinary += 0x424065fb813619c856c07ff3c6d5b73f42403baa9a20ead956c00018cfa0a13f42409e38358a0eda56c02aaa8d4ea23f4240;
SET @BorderBinary += 0x1d9c6de1ccdc56c05d09d065af3f424025afce3120e956c0c35f9335ea3f4240d588a7a807eb56c0183d31a4e73f42403595;
SET @BorderBinary += 0x456117ff56c002284696cc3f42405835461cb50757c0ce55d3cac43f42407e7f1a9e9e0957c01639fc0fc33f42409fe238f0;
SET @BorderBinary += 0x6a1657c0ddaf027cb73f4240cbacad5fdd2157c0a834a2e4c33f4240444ab3791c2457c08ec70c54c63f4240086823eb6d31;
SET @BorderBinary += 0x57c0e1ba5430c13f42408e59f624b03557c015aa9b8bbf3f42406c829ebda83657c0c052eb3abf3f4240d4d347e00f4857c0;
SET @BorderBinary += 0xf4a3e194b93f4240ede26ad7c75257c042c794f6c63f42406d85be512e5457c0a6501fb6c83f42401cb0abc9535b57c059a3;
SET @BorderBinary += 0x1ea2d13f424022636ede646557c063d09c02dc3f4240e3a6069acf6c57c0fca4daa7e33f4240ac2a6ff7787757c08833b3d8;
SET @BorderBinary += 0xda3f42409d29745e637d57c0c87a6af5d53f42409f4da003ef8457c020e1b471de3f4240e40d30f31d9757c0728a8ee4f23f;
SET @BorderBinary += 0x4240ee2422fc8ba757c0109546ccec3f4240;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'AR';
SET @BorderBinary = 0x0106000000060000000103000000010000000a0000009f758d9603a65dc0d860e124cdbb404057cc086f0fa45dc07c80ee;
SET @BorderBinary += 0xcb99b7404056f0db10e39e5dc0912a8a5759af4040b726dd96c89d5dc01155f833bca9404097e5eb32fc975dc010ccd1e3f7;
SET @BorderBinary += 0xa8404018ce35ccd0945dc08e06f01648a64040b247a81952925dc0846055bdfcac4040397d3d5fb3975dc026df6c7363b440;
SET @BorderBinary += 0x40d925aab7069f5dc0902dcbd765be40409f758d9603a65dc0d860e124cdbb404001030000000100000009000000aaeffca2;
SET @BorderBinary += 0x04a65dc016a1d80a9a84404051f52b9d0fa95dc01668774831824040ba4c4d8237a55dc0a94c3107417740403cdd79e2399f;
SET @BorderBinary += 0x5dc0aa436e861b6c4040348463963d9b5dc0aa2b9fe57966404055c03dcf9f965dc00247020d36694040477364e5979c5dc0;
SET @BorderBinary += 0xd906ee409d7240405725917d90a25dc0994869368f7d4040aaeffca204a65dc016a1d80a9a84404001030000000100000007;
SET @BorderBinary += 0x000000f911bf620de55dc0fcdf1115aaa3404056f31c91efe25dc05758703fe09d40408d28ed0dbedd5dc085419946939b40;
SET @BorderBinary += 0x40f52c08e57ddb5dc062838593349d40402db308c556db5dc0ed7daa0a0da24040f0fd0ddaabe05dc08d09319754a74040f9;
SET @BorderBinary += 0x11bf620de55dc0fcdf1115aaa34040010300000001000000110000009a046f48a3fa5dc02e58aa0b78074140b45549641ff8;
SET @BorderBinary += 0x5dc058c9c7ee02034140ccecf318e5f75dc0726891ed7cfd404032e9efa5f0f25dc05bafe94141fb404074eb353d28ee5dc0;
SET @BorderBinary += 0x1666a19dd3fa4040287e8cb96bea5dc03a3e5a9c31fe40400ea320787ce35dc0b9a5d590b8ff4040d22417cc36df5dc00309;
SET @BorderBinary += 0xffce8dff40407ba2ebc20fd95dc04eb6813b50ff4040a054fb743cd75dc0030af5f411004140b4af3c484fd75dc0a06af46a;
SET @BorderBinary += 0x80064140645c717154dc5dc0eb707495ee06414096a6a48c20de5dc0fd037f5ce90641402ba913d044e45dc0f1f3df83d706;
SET @BorderBinary += 0x4140b2135e8253ef5dc0dd5cfc6d4f064140b8ae9811def65dc09622f94a200941409a046f48a3fa5dc02e58aa0b78074140;
SET @BorderBinary += 0x0103000000010000000d0000008675e3dd91175ec0f224e99ac90941401b800d88101d5ec0ca518028980341407311df8959;
SET @BorderBinary += 0x175ec0a7e507aef2fe4040e4da5031ce0c5ec0afb48cd47bfa40406ad8ef89750b5ec02e71e481c8f6404032c687d9cb075e;
SET @BorderBinary += 0xc03f51d9b0a6f24040cb4c69fd2d035ec0da907f6610f54040365a0ef450fe5dc0fa0ca837a3f840407e3b8908fffe5dc078;
SET @BorderBinary += 0x7b1002f2fd4040f6b182df86035ec02e8eca4dd40441401004c8d0b1085ec0e5ec9dd156034140c87bd5ca840f5ec09b1f7f;
SET @BorderBinary += 0x69510741408675e3dd91175ec0f224e99ac90941400103000000010000009b01000030f31dfcc4185fc000fe2955a2404440;
SET @BorderBinary += 0x1a6f2bbd361a5fc0cc94d6df123844405797530262175fc0fcdea63ffb2f4440b1db679599165fc0d40968226c2a4440263a;
SET @BorderBinary += 0xcb2c42175fc09b8d959867214440478fdfdbf4155fc094f430b43a1f4440dd0720b589105fc0d7338463961744403271ab20;
SET @BorderBinary += 0x060c5fc09160aa99b5104440a0c03bf9f4085fc0de718a8ee40e4440207c28d192055fc0005130630a0a4440b29b19fd6804;
SET @BorderBinary += 0x5fc083161230ba024440eb724a404c025fc02cb5de6fb4014440f8122af69c015fc0c3fcaa932a004440fc4ffeee1dfd5ec0;
SET @BorderBinary += 0x51db865110f643406bf0be2a17fa5ec022c495b377ee4340e7e26f7b82f65ec02ff7c95180ea4340dc63e94317f55ec0cfd7;
SET @BorderBinary += 0x2c978ddc43405378d0ecbaf25ec0af3c484f91d743403e3c4b9011f25ec0ff756eda8ccf4340e78c28ed0df15ec0ba10ab3f;
SET @BorderBinary += 0xc2c64340359886e123f45ec0eb353d2828b9434000581d39d2f45ec02ff834272fae434018b325ab22f35ec0944db9c2bba2;
SET @BorderBinary += 0x43403f53af5b04f15ec01cd2a8c0c9984340a2b94e232dee5ec0242713b70a90434080828b1535ec5ec01e51a1bab9824340;
SET @BorderBinary += 0x00e0d8b3e7ee5ec028f04e3e3d7a4340fd9fc37c79ed5ec0f0dc7bb8e47443405f99b7ea3aea5ec0e2e7bf07af6f4340ff40;
SET @BorderBinary += 0xb96ddfe85ec0999eb0c4036c43402eaf5c6f9be45ec07383a10e2b664340e5695b779ee25ec0dd3a138f4262434042209738;
SET @BorderBinary += 0xf2e05ec0395fecbdf85e4340478e740646dc5ec03ec91d36915943408292020b60d65ec06d8b321b644c4340cea44dd53dd5;
SET @BorderBinary += 0x5ec0d94125ae63484340e4688eacfccf5ec064e42cec69414340e048a0c1a6ca5ec0aa2a3410cb3c4340035dfb027ac55ec0;
SET @BorderBinary += 0x9ca223b9fc3143408735954561c45ec065a54929e82a4340228d0a9c6cc35ec0dcf4673f522643406ccceb8843c05ec08042;
SET @BorderBinary += 0x3d7d042643406703488d33c05ec06fc454abd9254340191bbad91fbf5ec0e738b709f7224340ddd1ff722dbf5ec054c72aa5;
SET @BorderBinary += 0x671e43401ae1ed4108bd5ec0b471c45a7c164340838593347fbd5ec06ad8ef89750e4340c974e8f4bcc05ec025c808a87000;
SET @BorderBinary += 0x43402ae3df675cbe5ec00e4dd9e907ff4240412c9b3924bc5ec08a3db48f15044340be688f17d2b65ec0c4245cc823024340;
SET @BorderBinary += 0xae2afbae08b35ec06934b91803fd424062d7f6764bb05ec033c34659bff742402237c30df8ac5ec05f419ab168f24240ec4b;
SET @BorderBinary += 0x361e6cab5ec01e3691990bf442405c5a0d897ba65ec08df0f62004f0424068e89fe062a25ec0ff791a3048ea4240024bae62;
SET @BorderBinary += 0xf19e5ec0ff571d39d2e94240db166536c89a5ec063ce33f625ed42407b8670ccb29c5ec0adf545425bf24240e3a59bc4209f;
SET @BorderBinary += 0x5ec0e2e6543200f64240ca6c9049469f5ec0ec4acb48bdfb42401990bddefd9c5ec05e2d776682ff4240c91f0c3cf79f5ec0;
SET @BorderBinary += 0xb58993fb1d0443402b85402e719f5ec0b60f79cbd50d43406baefd93439f5ec0fda9c7cef60d434026c28bf871995ec0020f;
SET @BorderBinary += 0x832c2d1243404606b98b30995ec06bd26d895c1243405473b9c150935ec0d0b7054b750d4340a1012f8a3c915ec05734fe59;
SET @BorderBinary += 0xba0743403599f1b6d2905ec042d0d1aa96064340543bc3d496945ec02f698cd651014340c885917ff0955ec08037273b2f01;
SET @BorderBinary += 0x43407a32ffe89b975ec0c808a870040143404a26a77686975ec032ffe89b34fd42403197546d379b5ec0f9d9c87553fa4240;
SET @BorderBinary += 0xdb6cacc43c985ec017d1764cddf34240fa6184f068955ec017f3734353f442400789a6a709955ec003c72b1969f24240664f;
SET @BorderBinary += 0x029b73935ec0d9ea724a40ea424030d461855b955ec00fb3976da7e74240e49f19c407945ec090813cbb7ce34240d4f36e2c;
SET @BorderBinary += 0x28905ec06ea12b11a8e04240ae0d15e3fc8f5ec020cf2edffadc42400caf2479ae8d5ec07a7077d66ed9424050a912656f8a;
SET @BorderBinary += 0x5ec0a7751bd47ed54240ed32425b6b8a5ec08ff6bc3369d5424046990d32c9895ec0d49cbcc804d24240166bb8c83d895ec0;
SET @BorderBinary += 0xc153c8957aca4240eacda8f92a875ec07bbaba63b1c3424020edd3ce44885ec00151e3adbac24240cf8250dec78a5ec0f0c0;
SET @BorderBinary += 0x00c287c04240b80375caa38f5ec0734bab2171c742407619fed30d975ec074eca012d7cb424050c763062a995ec0fdf33460;
SET @BorderBinary += 0x90da424007836decf2985ec01adf1797aada4240161747e526975ec00f289b7285db42401cef8e8cd5965ec05da27a6b60dd;
SET @BorderBinary += 0x4240f48b12f417985ec07e198c1189de424062d9cc21a9985ec0c614ac7136e54240c710001c7b995ec0975643e21ee74240;
SET @BorderBinary += 0x1cec4d0cc99d5ec0ce86fc3383e64240e9465854c4a05ec0747b4963b4e24240fbd559c55ba05ec0ef9a1f1327de42406872;
SET @BorderBinary += 0xd11b0ba05ec0486f8616a4da4240444b1e4fcb9f5ec095f25a09ddd7424015c78157cb9f5ec0255af2785ace4240ce1c925a;
SET @BorderBinary += 0x28a15ec0cefdd5e3bec94240fd4cbd6e11a15ec05e0ce544bbc24240f8872d3d9a9f5ec06ebda60705bf42403cdc0e0d8b9c;
SET @BorderBinary += 0x5ec0ae6186c613bb424043aa285e659c5ec026fe28eaccb7424016687748319a5ec04ab0389cf9af42407c08aa46af995ec0;
SET @BorderBinary += 0x94ba641c23ab4240a0e85c30f5995ec02a3f3cc650a8424088bce5eac79a5ec042af3f89cf9f4240b858518369995ec0b79a;
SET @BorderBinary += 0x75c6f79742400af8359204965ec0723106d6719242409ca38e8eab945ec082ffad64c78e424056496afad5925ec085b4e045;
SET @BorderBinary += 0x758d4240054eb6813b925ec0a9bbb20b068d4240ae0e80b8ab905ec0f2b1bb4049894240b745990d328d5ec0ec67b114c981;
SET @BorderBinary += 0x42404c8a8f4fc8865ec00cca349a5c7a42405472d3ea4e845ec060806e6c0f7a42404c530438bd815ec092cb7f48bf794240;
SET @BorderBinary += 0x66a54929e87c5ec07fd93d79587c4240b7b75b92037a5ec0c7bab88d067c4240fa9cbb5d2f775ec0fe428f183d774240dc55;
SET @BorderBinary += 0xdece03745ec0596f906bce6c424015562aa8a8725ec01a14cd03586842408fa67a32ff725ec0eb1d6e87866342406c753925;
SET @BorderBinary += 0x20745ec0eee714e467574240a2b3cc2214775ec041b456b4394e4240baf8db9e207b5ec0f430b43a39514240f209d9791b7e;
SET @BorderBinary += 0x5ec07dceddae974a4240797aa52c437c5ec0a46fd234283e424049ba66f2cd795ec0c24d46956132424095f25a09dd785ec0;
SET @BorderBinary += 0x6d73637ac226424032e6ae25e4745ec0f31abb44f51e424030302b14e9715ec0d4f02dac1b1d42406de2e47e876b5ec0488b;
SET @BorderBinary += 0x3386391542405434d6fece675ec0904946cec20c4240d68d7747c6645ec02aa6d24f38034240bf61a2410a625ec0f10d85cf;
SET @BorderBinary += 0xd60142402dd49ae61d5f5ec098defe5c34fc41409087bebb955d5ec0dd5f3dee5bf14140ae105663095a5ec08639419b1cec;
SET @BorderBinary += 0x414004bfcb2136565ec09bce59a9c8e54140a0a52bd846555ec093a641d13ce441409b9141ee22545ec073f4f8bd4ddb4140;
SET @BorderBinary += 0xcefe40b96d515ec015713ac956d5414073f6ce68ab4a5ec09f7422c154d1414048f949b54f475ec00c3cf71e2ec941406dc9;
SET @BorderBinary += 0xaa0837405ec05778978bf8ba4140361d01dc2c3d5ec0fbe4284014ba41400efad2db9f385ec05c6f9ba910b741405af3e32f;
SET @BorderBinary += 0x2d375ec0ad4d637b2dae4140bc22f8df4a385ec0d48041d2a7a541404f58e20165395ec01d37fc6eba9f4140e81725e82f36;
SET @BorderBinary += 0x5ec04fadbeba2a9a4140a9bd88b663305ec0a7aca6eb89944140cd920035b52d5ec0a9143b1a8796414050189469342b5ec0;
SET @BorderBinary += 0x83a5ba8097934140340ef5bbb0285ec0670a9dd7d88f414086c77e164b285ec0e49f19c4078a4140826e2f698c285ec07c7e;
SET @BorderBinary += 0x18213c8441405b51c0999e295ec0e233d83fd27c4140c780ecf5ee2a5ec05969520aba73414016f71f990e275ec0670a9dd7;
SET @BorderBinary += 0xd86d41402a357ba015285ec0f10baf24795e414055f833bc59275ec049f25cdf875d414014cb2dad86265ec0d15ca7919658;
SET @BorderBinary += 0x41401cb0abc953295ec06a6ad95a5f4a4140a913d044d8275ec0ca367007ea46414033198ee733255ec03f1bb96e4a474140;
SET @BorderBinary += 0xa47213b534235ec0863b17467a454140355f251fbb205ec02c2cb81ff042414032e6ae25e41c5ec0711e4e603a394140bce9;
SET @BorderBinary += 0x961de2125ec069dfdc5f3d3c4140c095ecd808095ec0a661f888983c4140bc1fb75f3e035ec035954561173b41402194f771;
SET @BorderBinary += 0x34fe5dc0f9ba0cffe9384140c1a90f24eff75dc058e20165533441407efca5457df55dc060e7a6cd38354140fdf7e0b54bf2;
SET @BorderBinary += 0x5dc0f71dc3633f35414010eb8d5a61ed5dc0dff76f5e9c324140b8ab5791d1eb5dc007077b13433441404a09c1aa7ae75dc0;
SET @BorderBinary += 0xc763062ae3354140ee96e4805de25dc0a25d85949f32414013a7c8ad96de5dc005b8c6bf7d304140d691239d81dd5dc0334e;
SET @BorderBinary += 0x4354e12f41406a9f8ec70cd85dc0161406651a2941404f22c2bf08d45dc0f86ef3c649234140e255430cb4d15dc0220a57c3;
SET @BorderBinary += 0xcf2041407b4d0f0a4ad15dc0b70721205f2041409baa7b6473d05dc0910da48b4d1b41402639605793ce5dc07a6ccb80b314;
SET @BorderBinary += 0x4140f06778b306c75dc022a81abd1a0c4140e54350357ac45dc072a25d85940b414064b14d2a1abd5dc08bdf14562a064140;
SET @BorderBinary += 0x585d315a72bc5dc0c10bc28afb054140691b7fa2b2b65dc02d0439286104414050e3defc86b35dc0683d7c9928004140bf45;
SET @BorderBinary += 0x274badaf5dc03f8d7bf31b044140eb0088bb7aab5dc0d8b628b341044140013274eca0a65dc0b37c5d86ff0441401bf4a5b7;
SET @BorderBinary += 0x3fa15dc03fac376a85034140624b8fa67a9d5dc0d09849d40bfc40400bb3d0ce699a5dc02fc1a90f24f140405e656d533c99;
SET @BorderBinary += 0x5dc053573ecbf3e64040289831056b9b5dc03e5c72dc29e340406ed921fe61995dc004c93b8732de404092ae997cb3965dc0;
SET @BorderBinary += 0x05a73e90bcdd40408d0e4cb854955dc0c8e6e0c84fdc40402c4833164d945dc00400c79e3ddb40409f39eb538e905dc05bed;
SET @BorderBinary += 0x612f14da404047daede0d78e5dc0e7a548cd8edb40409d11a5bdc18b5dc09bff571d39de4040a88fc01f7e885dc047e5266a;
SET @BorderBinary += 0x69e04040c1b64e2c6e875dc0350ea6d946df4040b22fd978b0855dc04c88b9a46add4040d1e638b709805dc0621399b9c0d3;
SET @BorderBinary += 0x40409f5a7d75557b5dc046054eb681cd4040118c834bc7755dc07d40a03369c94040ec32fca71b745dc07c08aa46afc64040;
SET @BorderBinary += 0x841ee851dd6e5dc018f46a4f75be40401ec022bf7e6e5dc06f8099efe0bd40407c0e2c47c86d5dc000fdbe7ff3ba4040b838;
SET @BorderBinary += 0x2a3751695dc03b376dc669b8404015df96f427665dc080a6a51188b14040ca15dee522665dc0b4571f0f7db14040e1cff066;
SET @BorderBinary += 0x0d635dc0bdfdb968c8ae4040d4298f6e845c5dc0c3b5dac35ea24040809c306134575dc0da37f7578f9540407ec9c6832d54;
SET @BorderBinary += 0x5dc0c80567f0f78b4040abecbb22f8515dc0d2aa967494814040a1eb7cbb6a515dc0de3e51fddd7c40400af4893c49505dc0;
SET @BorderBinary += 0x07d0effb377340406a3f28ef64505dc067f3c9c8096e4040d80ddb1665505dc099d2fa5b026e40401d3d7e6fd3505dc0f5f1;
SET @BorderBinary += 0xd077b76c4040c156091687515dc07fa31d37fc6c4040647ac2120f525dc03a3aae46766b4040f607ca6dfb515dc0f71dc363;
SET @BorderBinary += 0x3f69404083ddb06d51505dc088d349b6ba644040fe7c5bb054505dc01c446b459b594040cee33098bf4f5dc08fc18a53ad55;
SET @BorderBinary += 0x4040a67b9dd4974c5dc0906802452c58404001da56b3ce4a5dc0ab3dec850256404098a25c1abf485dc07422c154334f4040;
SET @BorderBinary += 0x562c855373485dc00627cefaf44a4040d8a02fbdfd475dc0287b4b395f444040ad68739cdb365dc031ee06d15a4740403cbd;
SET @BorderBinary += 0x529621285dc0e97aa2ebc2494040edf318e599225dc0ad11c138b84a4040b5ff89a2cb065dc0f6518e912d4f4040bbd573d2;
SET @BorderBinary += 0xfb025dc0876ef607ca4f4040b3d1393fc5dd5cc0b0946588635540405ef1d4230dc05cc0e6e5b0fb8e594040d50792770eae;
SET @BorderBinary += 0x5cc094490d6d005c4040cccea2772aad5cc0e02a4f20ec5e4040c5538f34b8aa5cc0bbef181efb5d40401b5ac44283a75cc0;
SET @BorderBinary += 0xa9b338d1da5e404044696ff085a45cc0babc395cab5f4040d8f15f2008a25cc0cd02ed0e296440406ff1f09e039e5cc08386;
SET @BorderBinary += 0xfe092e6c404041b96ddfa39d5cc0906456ef70734040cafd0e45819e5cc0bfd53a7139764040c0046eddcd9e5cc039cfd897;
SET @BorderBinary += 0x6c7c40407782fdd7b9a05cc0bef6cc9200834040b2864e9f17a15cc0a8080b0927834040d13b1570cfa45cc018778368ad84;
SET @BorderBinary += 0x404091d3d7f335a85cc0d93c0e83f9834040c2c3b46feeaa5cc0b9e2e2a8dc8440402e90a0f831ad5cc0e40f069e7b8d4040;
SET @BorderBinary += 0x92cf2b9e7aab5cc0990b5c1e6b94404001a1f5f065ab5cc068226c787a9d4040919c4cdc2aab5cc055fa0967b7a0404069e2;
SET @BorderBinary += 0x1de049ae5cc00ad5cdc5dfa44040e333d93f4fad5cc078ebfcdb65a9404006b98b3045ad5cc00261a75835b0404028983105;
SET @BorderBinary += 0x6bae5cc0b5a7e49cd8b3404078efa83121ab5cc0897956d28ab5404069fe98d6a6a85cc09e95b4e21bb64040e600c2ef43a8;
SET @BorderBinary += 0x5cc0122c0e677eb740403cdd79e239a65cc09757aeb7cdbe4040ea20af0793a15cc02f6b6281afc6404011e0f42edea15cc0;
SET @BorderBinary += 0x280f0bb5a6cd4040e5b4a7e49ca15cc0774b72c0aed440405fed28ce51a05cc04ab4e4f1b4d84040a6d590b8c79f5cc0a0e0;
SET @BorderBinary += 0x62450ddc4040787de6ac4fa05cc05660c8ea56e140409c6d6e4c4fa15cc0942c27a1f4e940405a677c5f5ca05cc0dd5b9198;
SET @BorderBinary += 0xa0ee4040abcdffab8ea05cc016bce82b48f3404040321d3a3da25cc031af230ed9f64040a4c519c39ca05cc0aed172a087fa;
SET @BorderBinary += 0x40407bbfd18e1b9d5cc0b9a6406667014140bd512b4cdf9b5cc0d6a88768740541408b8ffb9c869b5cc0824ca06c1a0a4140;
SET @BorderBinary += 0x9df529c7649b5cc03a3fc571e00b4140c1c6f5effa995cc0111956f1460e4140ac53e57b46965cc0c05774eb35114140a584;
SET @BorderBinary += 0x6055bd925cc07a36ab3e57154140a4198ba6b38e5cc0755ab741ed17414061c3d32b658b5cc0e386df4db71e41401956f146;
SET @BorderBinary += 0xe6885cc0dd088b8a38214140aaddf02503895cc0e151e3e1cc2641409e4143ff04895cc0cd1c925a28274140bc9179e40f8b;
SET @BorderBinary += 0x5cc044679945282c4140b8b1d991ea905cc0dbf7a8bf5e334140a0ff1ebc76955cc087fa5dd89a3941408c81751c3f985cc0;
SET @BorderBinary += 0x9f73b7eba539414015e63dce34985cc03e59315c1d424140d21a834e089b5cc0b7b6f0bc544a414011a62897c69d5cc00377;
SET @BorderBinary += 0xa04e795841403412a1116c9f5cc01749bbd1c75c4140afeded96e4a45cc0e3361ac05b684140f3caf5b699a85cc0b28009dc;
SET @BorderBinary += 0xba6f414037c2a2224ea85cc0f068e388b57841403cdc0e0d8ba85cc06422a5d93c804140ce35ccd078b35cc0334e4354e191;
SET @BorderBinary += 0x414008cbd8d0cdc25cc095f0845e7faa4140b648da8d3eca5cc08124ecdb49b64140e4d87a8670d35cc038bd8bf7e3c44140;
SET @BorderBinary += 0x684128efe3d95cc04c6c3eae0dcf414036cb65a373e95cc0c360fe0a99e7414037c34a5b79e95cc0020217eea1e74140ffbc;
SET @BorderBinary += 0x02bb26f65cc0ee7da9b155fb414052499d8026f95cc0240a2debfeff4140de770c8ffd055dc0d2c6116bf113424094180456;
SET @BorderBinary += 0x0e185dc0bddd921cb02f4240fef49f353f1f5dc08a58c4b0c33a4240b7eee6a90e405dc0f981ab3c816c42405e68d4c09f4a;
SET @BorderBinary += 0x5dc009f05387507c4240014f5ab8ac4f5dc03a730f09df83424028d53e1d8f6b5dc034b8ad2d3cad4240aaab582158755dc0;
SET @BorderBinary += 0xd3d40d1d83bb4240ed65db696b815dc01210937021cd4240fa188146649b5dc0cf312c7ab7f24240daaa24b20fa05dc02d24;
SET @BorderBinary += 0x607479f942403b394371c7bc5dc00a4b3ca06c224340aa5410fe0fca5dc05738cfcb0a354340ff40b96ddfd15dc00168942e;
SET @BorderBinary += 0xfd3f43406704b07e09d55dc0d438dba46544434081bd554b77e55dc075bf5987485b4340f16261889ce55dc06dab59677c5b;
SET @BorderBinary += 0x43401092054ce0f95dc034492c2977774340a435069d10005ec048f7730af27f43400378cd5c20005ec067ba6eb4a3884340;
SET @BorderBinary += 0xea3272d72a005ec0902cfc9a6c8e43408474c21d37005ec04782ff413395434082751c3f54005ec0645930f147a54340d920;
SET @BorderBinary += 0xd6914e005ec0752ed14082a843409eb735a031005ec088ea8e42f7b8434015c616821c005ec02db1321af9c44340b8e83ff1;
SET @BorderBinary += 0xfeff5dc0140c82d477dc43402cd8463cd9ff5dc0f1ba7ec16efa4340a1832ee1d0ff5dc05436aca92c104440cdafe600c1ff;
SET @BorderBinary += 0x5dc085eb51b81e29444092eba694d7ff5dc0bc564277495c44408f899466f3ff5dc0ce5147c7d56e44407898f6cdfdff5dc0;
SET @BorderBinary += 0x3ba8c4758c9744400e10ccd1e3ff5dc0687407b133cf44405feb5223f4ff5dc04948a46dfcef44406ccd565ef2ff5dc02c48;
SET @BorderBinary += 0x33164dff444079ca6aba9e0b5ec03d7fdaa84eff44408602b68311205ec0af20cd5834ff4440deaaeb504d2c5ec0c9e4d4ce;
SET @BorderBinary += 0x30ff444094a6636949385ec070c379792aff4440e57e87a240425ec0abae433525ff4440bb438a0112505ec040bcae5fb0ff;
SET @BorderBinary += 0x4440a73ffb91225c5ec072bf4351a0ff44403b6f0a80a45c5ec01b3053eca3ff4440d15ad1e6386b5ec0acc266800b004540;
SET @BorderBinary += 0x5e48878730765ec0a3cc0699640045408c2fdae385865ec0e1b6b6f0bc004540c613419c87925ec0060b2769fe004540b81d;
SET @BorderBinary += 0x7db587925ec0de895169fe00454062f8889812a05ec07ea99f3715014540c18bbe8234b35ec056ee056685004540d8800871;
SET @BorderBinary += 0xe5c25ec08ba4dde863004540a4e36a6457c95ec0054b75012f014540f17aac49c4ce5ec0d19f264ea300454045d5af743ed6;
SET @BorderBinary += 0x5ec003965cc5e2ff44400bd28c45d3db5ec097aab4c53500454073400c2539e15ec0b30194e2e4ff444065e256410cea5ec0;
SET @BorderBinary += 0x100533a660ff44406cf9b18592f45ec092d2207270ff44407349d57613005fc046054eb681ff4440e2aab2ef8a0d5fc09d2e;
SET @BorderBinary += 0x8b89cdff4440397cd289040d5fc04f5b238271f84440a69d9acb0d0e5fc0d9243fe257ec4440c4e8b985ae0f5fc0774f1e16;
SET @BorderBinary += 0x6ae54440950ed6ff390c5fc0dd2230d637de44407c629d2adf095fc06325e65949dd44406b2a8bc22e095fc0bcc96fd1c9da;
SET @BorderBinary += 0x4440100874266d075fc0a78fc01f7ed044409eec66463f055fc01b834e081dc64440c6230a7d51045fc0056bb5797cbb4440;
SET @BorderBinary += 0x664aeb6f09045fc01281ea1f44b844406c7c26fbe7055fc0821c9430d3a444402bbea1f0d9075fc0b7990af148984440ef3b;
SET @BorderBinary += 0x86c77e0a5fc0ebe2361ac0914440a3737e8ae3095fc0aa46af06288b444050560c5707085fc0d3dc0a6135864440b6476fb8;
SET @BorderBinary += 0x8f075fc04912842ba07e44409c6d6e4c4f0b5fc09128b4acfb6b44401c5f7b6649135fc085048c2e6f54444030f31dfcc418;
SET @BorderBinary += 0x5fc000fe2955a2404440;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'CA';
SET @BorderBinary = 0x010300000001000000630000002d40db6ad6435bc06bb6f292ff3f4340df6e490ed8435bc031b43a3943234340cc0d863a;
SET @BorderBinary += 0xac425bc037fdd98f141543405449d8cbac425bc0ccfd693496134340b45b7c05ba425bc0d2c6bd2fcaf042400110534fcd42;
SET @BorderBinary += 0x5bc0128361270abe4240ba8102efe4425bc07afa08fce17f4240861a8524b3275bc0b228eca2e87f4240f1dd6dc045185bc0;
SET @BorderBinary += 0x06eac3bcf17f424007280d350a005bc0d07b630800804240a8106dc7d4de5ac06a266c2600804240f5e27745f0da5ac07b63;
SET @BorderBinary += 0xf12900804240855d143df0da5ac0126bf12900804240b742588d25b85ac0213a048e04804240438cd7bcaab75ac09dd9aed0;
SET @BorderBinary += 0x077f424023ee8ab37a9e5ac07b3936fd337f4240dbbe47fdf5955ac0de59bbed427f4240a21aa0b16c805ac0dcbc15cb687f;
SET @BorderBinary += 0x42403fabcc94d67f5ac0f37002d3697f42402afa4468fb6d5ac06ace1ce1777f424013622ea9da6d5ac08d60e3fa777f4240;
SET @BorderBinary += 0x5b272ec72b625ac0b6f3fdd4787f4240b0389cf9d55a5ac03fc39b35787f42406667d13b15505ac0f65d11fc6f7f424093a5;
SET @BorderBinary += 0xbe831e4e5ac03257f39e6e7f424048166b38ec495ac05df3e5b46b7f4240d656ec2fbb475ac0e7c2482f6a7f4240202a8d98;
SET @BorderBinary += 0xd92e5ac097a77345297f42408e739b70af155ac03737a6272c7f4240f7e7a0b180005ac0aa9bce677c7f4240f838d384edee;
SET @BorderBinary += 0x59c03f7100fdbe7f4240b6daf3bd82c559c0b47d168efb7f42405f45460724c059c0a54c6a6803804240dfa5d425e3b559c0;
SET @BorderBinary += 0xd192c7d3f27f4240b37dc85baeac59c0d4d2dc0a617f4240522ae109bd9659c080d6fcf84b7f424051a5660fb48259c0569b;
SET @BorderBinary += 0xff571d7f4240184339d1ae8259c0a2d288997d8442403bff76d9af8259c0942d9276a38d424017299485af8259c095809884;
SET @BorderBinary += 0x0ba14240ed0bea1eaf8259c022eccffad0b1424095cd0a57ae8259c078eff1b077d24240309fac18ae8259c02db29defa7dc;
SET @BorderBinary += 0x424031d7ba90af8259c0c7455d7f88de4240ce6bec12d58259c04c8bfa24770e434090cbb249db8259c0c1c9c6b396214340;
SET @BorderBinary += 0xa0122e8ddb8259c0f5bce05f66224340b189cc5ce08259c0037b4ca4343143409f592fa5e98259c01c3c9ab6bd4e4340e4f0;
SET @BorderBinary += 0xcff5ec8259c0eaa5ccd5495943404a7cee04fb8259c0aad55757058643406b032d56058359c0d6758df30a914340fab31f29;
SET @BorderBinary += 0x228359c0b60f79cbd5af4340cc5a3893328359c0fe21be16bac843407ce93612338359c00e3f92ab7ac943408272dbbe4783;
SET @BorderBinary += 0x59c0c3d7d7bad4e84340e9f010c64f8359c025ab22dc64004440643f8ba5488359c03c4b9011502b4440360baaa3488359c0;
SET @BorderBinary += 0x596a1149b32c44408806ec93488359c033c4922e5238444082e04367488359c00445f03649594440e0db3d5e488359c0d6c2;
SET @BorderBinary += 0x126ff25f4440f9a23d5e488359c01e300f99f25f44400281cea44d8359c09ca1b8e34d804440545efc564f8359c0a91a73e3;
SET @BorderBinary += 0x4d8044407171546ea2a359c0043752b64880444078704c01bfa759c0614393d94880444079ab3e5bd2a959c0ba355feb4880;
SET @BorderBinary += 0x4440de3d40f7e5c459c0b0a888d34980444014f743be7ad859c04c5fb01d3f804440c2f99bb6b8e459c0d4607f6b38804440;
SET @BorderBinary += 0x4835ecf7c4e459c0b35bcb6438804440dc627e6e68035ac0530262122e804440c58d5bcccf1f5ac011fc6f253b804440b709;
SET @BorderBinary += 0xf7cabc365ac04aeb6f09c07f4440ab3fc230603c5ac0834069e4c07f4440dffcfa12b8515ac0627a5221c47f4440a59e05a1;
SET @BorderBinary += 0xbc515ac007600322c47f44402c0bbc09328c5ac0d5593729b67f444087df4db7ec8d5ac0bb0d6abfb57f444049b553098e94;
SET @BorderBinary += 0x5ac0e9746d82c57f4440cfedab6e10b75ac020894c8c17804440c1c606c456d45ac045f775245d8044403909a52f84d75ac0;
SET @BorderBinary += 0x144031b264804440c8bc815dc7fa5ac0a5246a35288044409b711aa20a105bc0c8224dbc038044402194f77134435bc05ab9;
SET @BorderBinary += 0x179815804440f91400e319435bc0696caf05bd694440d60a10b016435bc0d9a1e722d05444402444f98216435bc002d19332;
SET @BorderBinary += 0xa9534440938ee6313f435bc0d93faef77f1c4440a8fe412443435bc0d4415e0f26174440f86bb2463d435bc0957d5704ffef;
SET @BorderBinary += 0x43403cd2517c41435bc0526ad5568ad44340c1a9e0ad44435bc0c216c2e7b5bf43409cbf514047435bc045d3394aefae4340;
SET @BorderBinary += 0x80d6fcf84b435bc0359886e1239043407fd1bd6ad6435bc0e94bfca3ff3f43402d40db6ad6435bc06bb6f292ff3f4340;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'CO';
SET @BorderBinary = 0x01030000000100000062000000c59b51368a6c52c0580bd9b0c08e44402bf697dd936e52c0446b459be38c44407f68e6c9;
SET @BorderBinary += 0x356a52c099805f2349824440698eacfc326a52c03909a52f8480444028c16f6a126a52c0e4c8ecad257e4440f19e03cb116a;
SET @BorderBinary += 0x52c0dbfb54151a7e4440a2d0b2ee1f6652c023f3c81f0c8244408159a148f76352c0e0d5726726824440130d52f0146152c0;
SET @BorderBinary += 0x648ee55df58444408dedb5a0f75d52c0b5dfda8992864440032159c0045b52c02444f982168644403448c153c85852c0890b;
SET @BorderBinary += 0x40a374874440ae0e80b8ab5652c08e210038f68a44409f1b9ab2d35752c0a1100187508d44401a868f88295552c06c585359;
SET @BorderBinary += 0x148e4440e589808f055352c0eae3dab08c8e4440763ff4b0445152c0ad77b144ef8e444003763579ca5052c095b4e21b0a8f;
SET @BorderBinary += 0x4440a415df50f84c52c070d05e7d3c9444401f3410bc0f4b52c0444e21ffa39344402dcdad10564852c051137d3eca924440;
SET @BorderBinary += 0x321d3a3def4652c03c670b08ad9344402bcbc3a1794652c0c71282fbf4944440b3ea73b5154552c07bf7c77bd5984440198f;
SET @BorderBinary += 0x52094f4152c00a7f86376b9a4440ccb1bcab1e3f52c0685bcd3ae39d44400aa3c2a1073f52c09030bafef99d44403d0abfc2;
SET @BorderBinary += 0x1c3e52c086409913e29e444086a8c29fe13b52c09b8e006e16a144401c4efc0cda3952c08cefe897e59f4440410e4a986938;
SET @BorderBinary += 0x52c0c98d226b0d9f4440c5008926503252c0490ed8d5e4a14440b5334c6da93052c045d3d9c9e09e444082380f27302c52c0;
SET @BorderBinary += 0xba826dc4939f44408e23afefe02952c0a48df90a00a2444073b8567bd82952c0608db3e908a244402975c938462652c01440;
SET @BorderBinary += 0x31b264a24440800ef3e5052352c02157ea5910a044404ebbaf4f362252c069b856507da0444069c537143e1e52c097c62fbc;
SET @BorderBinary += 0x92a24440c79dd2c1fa1952c0caa2b08ba2a34440daab8f87be1852c04014cc9882a14440adbeba2a501652c0f833bc5983a3;
SET @BorderBinary += 0x4440ecc580c5c21552c00d448b9090a344407f129f3bc11252c073b8567bd8a344406d8c9df0120f52c08925e5ee73a64440;
SET @BorderBinary += 0x79ac1919e40c52c0003961c268a84440ee5bad13970852c0703e75ac52a644408315a75a0b0652c04fcaa48636a844404276;
SET @BorderBinary += 0xdec6660152c0a510c8258ea84440f3e2c4573bfd51c00c73823639aa44404818062cb9f851c010069e7b0fab44401a321ea5;
SET @BorderBinary += 0x12f751c0014eefe2fda84440be839f3880f551c073f4f8bd4dad44409fc728cfbcf551c0b587bd50c0b44440cf64ff3c0df3;
SET @BorderBinary += 0x51c0747973b856b54440bd746d86abf251c07ad866dbdbc544407f0f3dda84f251c0039ccea665cc4440b03907cf84f251c0;
SET @BorderBinary += 0xe353008c67cc44403ac07d9686f251c0627b5315ecd144409516d7138af251c08b7feca4bedc4440b91798158af251c04e26;
SET @BorderBinary += 0x6e15c4dc44404696ccb1bcf251c06e6b0bcf4be74440bce5eac726f351c0019f1f4608014540b6627fd93df351c086191a4f;
SET @BorderBinary += 0x0403454065ad56f4a5f851c0c12d5c6835034540641f645930ff51c04f75c8cd700345406c98b2c3890652c0caedbc27aa03;
SET @BorderBinary += 0x454097348cd4af0852c0a6fd45ecba034540d099d5cfb90c52c0ec702171da0345407aff1f274c1452c0b9c1508715044540;
SET @BorderBinary += 0xd9f84440701952c0b7fb295233044540c1a0436b962052c014de11c05c0445403e40f7e5cc2152c04ab54fc763044540304a;
SET @BorderBinary += 0xd05fe82652c0aef02e17f1034540af95d05d122f52c0b54df1b8a804454056647440123152c09886e1236200454023842d9d;
SET @BorderBinary += 0x953152c0c91294c645004540614d6551d83352c0698995d1c8ff44405a441493373652c095b54df1b8044540f86f5e9cf83f;
SET @BorderBinary += 0x52c03672dd94f2044540e54f9d418f4052c0fad826c5fa044540aaca9f0b6b4352c0934d438c220545407e340dd1244852c0;
SET @BorderBinary += 0x132aab4e64054540dae21a9fc94e52c0328ffcc1c005454082380f27305f52c0c651b9895a064540fa0d130d526052c0f529;
SET @BorderBinary += 0xc76471e9444098f1da94256152c0517c2d1957d544404c1762f5476152c08ba548be12d2444005165b3de66152c06bbc2803;
SET @BorderBinary += 0x7ac34440d07d39b35d6252c01d3ba8c475b84440a54716edc26252c0f73671053ab0444026858083c36252c0e83079c92db0;
SET @BorderBinary += 0x444070f1f688c56252c068a7c5b203b04440e46a7f5fd36252c076e07e8fe3ae4440c617edf1426352c06b425a63d0a54440;
SET @BorderBinary += 0x081f4ab4e45e52c0cff23cb83b9b4440c59b51368a6c52c0580bd9b0c08e4440;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'CT';
SET @BorderBinary = 0x010300000001000000360000009206b7b585f152c0ea95b20c71dc434069705b5b78f252c0191a4f0471dc4340ef3d0ff7;
SET @BorderBinary += 0x14f152c0d7ca2de356b04340d11dc4ce14f152c0e8a221e351b04340728b7912abf052c06535ca33fda54340341a406f69f0;
SET @BorderBinary += 0x52c059240c75939f43403ee4bac4e1ef52c0f2befb2352924340dce0845047ee52c0c3d1b0c1376a434083a8e09448ed52c0;
SET @BorderBinary += 0x792bac4e545143402250fd8348ed52c0888043a852514340e8423dece9ec52c01589f235c7474340402d060fd3ec52c00491;
SET @BorderBinary += 0x459a7845434019e3c3ec65ec52c0a8fc6b79e53a4340d7a19a92acde52c05b21acc6123a4340d7dbc5a6d7d552c0533fa970;
SET @BorderBinary += 0xe93943404cf8a57edecb52c0410ddfc2ba394340ee1f0bd121c352c08a7269fcc23943407d772b4b74c352c0295dfa97a444;
SET @BorderBinary += 0x43401dacff7398c452c08d614ed0265943400038f6ecb9c552c0e33785950a664340dfa7aad040c752c0ad6a494739644340;
SET @BorderBinary += 0x0c569c6a2dca52c09943520b256543404fae2990d9ce52c033c2db83106c4340b75b920376d352c0f701486de2744340b855;
SET @BorderBinary += 0x10035dd352c07570b03731784340fd652b30a0d352c0d79ba0ed4c79434024624a24d1d552c0349d9d0c8e8243400cca349a;
SET @BorderBinary += 0x5cd952c0187b2fbe688743403140a20914da52c0b5a338471d9143406cb2463d44d952c00f09dffb1b984340291e17d522da;
SET @BorderBinary += 0x52c086a8c29fe1a1434096ce876709de52c06d6e4c4f58aa43407fce28755ce052c03f14c51669af43405c3ae63c63e152c0;
SET @BorderBinary += 0x8d08c6c1a5b14340c937dbdc98e452c000a8e2c62db8434077137cd3f4e552c0bc5983f755bd43403e5a9c31cce152c002d7;
SET @BorderBinary += 0x1533c2bf434095b88e71c5e152c0572250fd83c4434036e7e099d0e052c0448b6ce7fbc94340cb4a9352d0e252c040355eba;
SET @BorderBinary += 0x49cc4340317898f6cde352c06e50fbad9dd04340a4a99ecc3fe252c014cac2d7d7d2434073d9e89c9fe052c0232e008dd2d7;
SET @BorderBinary += 0x4340bbd05ca791de52c0809bc58b85db434072e0d57267dd52c003ed0e2906e2434008ff97ed39dc52c0d7c06dcef0e34340;
SET @BorderBinary += 0xfdf3346090da52c040852348a5e64340cde67118ccde52c09b9141ee22ea4340c9e369f981e452c09a25016a6aeb434056d8;
SET @BorderBinary += 0xc54909e652c0b26a1102d4ea43403412a1116cea52c0f38e537424e943405b936e4be4ed52c0cf66d5e76ae543409d9b36e3;
SET @BorderBinary += 0x34f052c026dd96c805e143409206b7b585f152c0ea95b20c71dc4340;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'DE';
SET @BorderBinary = 0x0103000000010000000a000000b519a721aa4753c08e1f2a8d987743405a8638d6c54553c07bd7a02fbd7343409a931799;
SET @BorderBinary += 0x804253c0f0a1444b1e6f4340d4902a10804253c07a5c60bbae6b4340429605137f4253c05d85949f54654340ed612f14b03e;
SET @BorderBinary += 0x53c02219726c3d6b4340868db27e333a53c087156ef9487243402ff1b8b7294053c04d55f28a967b43400723f609a04253c0;
SET @BorderBinary += 0x92ccea1d6e7f4340b519a721aa4753c08e1f2a8d98774340;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'DC';
SET @BorderBinary = 0x01060000000400000001030000000100000010000000185932c7f27354c076c3b64599913840a6b4fe96007454c059fb3b;
SET @BorderBinary += 0xdba38b384007b47405db6b54c0620fed63058f3840990cc7f3196654c0570740dcd597384074b4aa251d6154c0efffe38409;
SET @BorderBinary += 0x9f38400bcd751a695c54c032e4d87a86a43840d1e7a38cb85954c0f59d5f94a09f3840fb3c4679e65554c0363d282845a338;
SET @BorderBinary += 0x40cd55f31c914f54c0c49107228bac3840e5603601865354c0046eddcd53c13840bc5cc477625c54c066be839f38d03840f9;
SET @BorderBinary += 0x84ecbc8d6454c0e3326e6aa0c138408e91ec116a6554c01118eb1b98bc3840ea76f695076b54c01a18795913b338403126fd;
SET @BorderBinary += 0xbd147054c04961dee34ca73840185932c7f27354c076c3b645999138400103000000010000000600000089981249f48054c0;
SET @BorderBinary += 0xf06778b3068b3840f693313ecc8154c0effd0ddaab7f384007b13385ce7a54c0af1f6283857f38403aab05f6987754c084f0;
SET @BorderBinary += 0x68e38895384075914259f87e54c039605793a794384089981249f48054c0f06778b3068b3840010300000001000000060000;
SET @BorderBinary += 0x0096e82cb3088c54c03d0b42791f933840ba48a12c7c8b54c08f368e588b873840f5f57ccd728654c06859f78f8588384059;
SET @BorderBinary += 0xdb148f8b8554c069519fe40e973840b91803eb388954c0a26131ea5a9f384096e82cb3088c54c03d0b42791f933840010300;
SET @BorderBinary += 0x00000100000061010000e4486760e4e555c0c073efe192f33e40bef4f6e7a2e855c03e03eacda8dd3e40b56ad784b4e255c0;
SET @BorderBinary += 0x274d83a279c43e40ec9fa70183e155c09a20ea3e00bd3e402b14e97e4edc55c0f336363b52b13e4003ce52b29cd955c003e6;
SET @BorderBinary += 0x21533ea83e40f5a0a014add955c0244223d8b89a3e40fdf675e09cdb55c0ff8ea850dd8c3e40f373435376dc55c0463eaf78;
SET @BorderBinary += 0xea813e401249f4328ada55c00fd253e410753e40946b0a6476d755c0ff06edd5c76f3e40e8bb5b59a2db55c0e3f90ca83767;
SET @BorderBinary += 0x3e4072a43330f2dc55c0d6a6b1bd16583e40d72e6d382ce155c05ca79196ca473e409a7b48f8deda55c0d3b9a294104c3e40;
SET @BorderBinary += 0xef1ea0fb72d455c0003620425c513e40177fdb1324d155c0c58a1a4cc3503e403f63a97bb4ce55c05038b476d3513e40d783;
SET @BorderBinary += 0x49f1f1c955c05454fd4ae7533e403aae2840d4ba55c0df44a139765e3e403d0ad7a370b655c0f0daa50d87613e402f80e0f4;
SET @BorderBinary += 0x38b355c095553c1f6f623e40edb94c4d82a855c00070ecd973653e40dbdd03745f9a55c0172aff5a5e613e409c81dfaa6e99;
SET @BorderBinary += 0x55c05dcbdb87a3603e405d177e703e8e55c06a65c22ff5573e4067b62bf4c18555c05514afb2b64d3e40dd43c2f7fe7f55c0;
SET @BorderBinary += 0x2f698cd651453e409d251825c07f55c06f248eb8d6443e4034b91803eb7355c004392861a62d3e40a661f888986c55c0374f;
SET @BorderBinary += 0x75c8cd183e40c7444ab3796655c02764e76d6c0e3e409f56d11f9a6455c0654e97c5c4063e40a20a7f86375f55c03d0801f9;
SET @BorderBinary += 0x12f63d403d62f4dc425b55c0e3dc26dc2bf33d40a041074fe95855c063a1a8ca92ec3d4090f2936a9f5855c0ae484c50c3eb;
SET @BorderBinary += 0x3d40b54df1b8a85a55c0a2b1f677b6d73d4040f67af7c75955c021cb82893fc23d400f45813e915655c0715303cde7a83d40;
SET @BorderBinary += 0x96c9703c9f5055c047e5266a69ae3d408a0873849e4e55c0ff18b54868ab3d405c55f65d114a55c0e9ec647094a43d4098f9;
SET @BorderBinary += 0x0e7ee24255c0dc0bcc0a45963d40eb18575c1c3855c022179cc1dfa73d40c41f459db93155c0e595eb6d33b13d40a565a4de;
SET @BorderBinary += 0x532c55c092921e8656c33d40e5eb32fca72655c01ef818ac38c93d4098c11891282455c08fdfdbf467cf3d40bed9e6c6f424;
SET @BorderBinary += 0x55c01c7920b248e33d40cd7344be4b2255c0ea5910cafbe83d409fe3a3c5191e55c0fa5dd89aadec3d40b43ba418201b55c0;
SET @BorderBinary += 0x376bf0be2ae73d405089eb18571655c00ca9a27895e53d40eeca2e185c1555c0dfa0bdfa78ec3d405865ea61d51555c05bff;
SET @BorderBinary += 0x9220f4f53d400da5f622da1555c017f3734353f63d40cde49b6d6e1755c0cbb73eac37023e402a711de38a1255c0e76d6c76;
SET @BorderBinary += 0xa40e3e406ccf2c09500d55c0567c43e1b3153e401c075e2d770b55c00a7e1b62bc123e4054a86e2efe0755c022fc8ba03117;
SET @BorderBinary += 0x3e4051c20d59df0455c037fc61f45d193e40677e3507080455c0ad889ae8f3193e405f251fbb0b0055c0b3942c27a1183e40;
SET @BorderBinary += 0x7bf53a0382ff54c09719e550da163e4068791edc9dfb54c0f451465c000a3e40081a33897af254c0dac70a7e1bfa3d4098f4;
SET @BorderBinary += 0xf75278eb54c06af3ffaa23eb3d4094490d6d00e854c03b342c465ddb3d402ac6f99b50e554c070e998f38cc93d40e8f692c6;
SET @BorderBinary += 0x68e254c0b70bcd751ab93d40309b00c3f2de54c0e7e104a6d3b23d40952710768ada54c068ca4e3fa8ab3d40069b7d0c81da;
SET @BorderBinary += 0x54c0f627244083aa3d40fe2955a2ecd954c08d7a884677983d402de92807b3d954c0884a2366f6853d40c2323674b3d354c0;
SET @BorderBinary += 0xaf5e454607783d4006668522ddd254c08c2ac3b81b703d403259dc7f64cf54c0c058dfc0e46e3d402f4d11e0f4cc54c0aad2;
SET @BorderBinary += 0x16d7f8643d40ff76d9af3bcb54c01c42959a3d583d40ef8b4b55daca54c0e63a8db4544a3d403a9d84769eca54c020b549ec;
SET @BorderBinary += 0x014a3d409f0436e7e0c654c00f41d5e8d5443d408d791d71c8c454c0c139234a7b3f3d40e1b54b1b0ec554c0b72407ec6a32;
SET @BorderBinary += 0x3d40c53a55be67c354c0950a2aaa7e213d4006280d350ac154c0e7dd585018203d40d386c3d2c0bf54c09544f641962d3d40;
SET @BorderBinary += 0x213999b855bb54c0c210397d3d2b3d40e59997c3eeb454c069de718a8e283d40cb63cdc820b354c0dd425722501d3d409603;
SET @BorderBinary += 0x3dd4b6b454c04d8237a451193d40fca886fd9eb054c06fb4e386df0d3d4052d32ea699b054c03f8864c8b1013d40fb833f52;
SET @BorderBinary += 0x5bb054c08482cbf43c003d40647616bd53ae54c02e8a1ef818f43c4012d9075916ac54c098f6cdfdd5e73c4052448655bcae;
SET @BorderBinary += 0x54c0e78711c2a3d93c40d04543c6a3ad54c0768bc058dfcc3c406b63ec8497ad54c0e6ff55478eb83c4068075c57ccaa54c0;
SET @BorderBinary += 0x653387a416b23c4027abe82accaa54c04f14e8dbbdb13c40baf605f4c2aa54c0b0abc953569f3c40af5e454607aa54c02767;
SET @BorderBinary += 0x28ee788b3c40a4c2d84290aa54c00a12dbdd037c3c402cac49fc35ac54c0ee22177fef6e3c40ac8905bea2ac54c021e4bcff;
SET @BorderBinary += 0x8f6b3c4042959a3dd0ae54c048bf7d1d38533c40a1f14410e7b054c0edf0d7648d3e3c40d4b6611404b754c0c616821c942c;
SET @BorderBinary += 0x3c408435c22900b754c0d99c6aaa132c3c406bf294d574b654c047718e3a3a1a3c40602bab164cb654c0cd78a0a4eb173c40;
SET @BorderBinary += 0x7630629f00b554c021ab5b3d27053c40e272bc02d1b554c0cf0d4dd9e9ef3b40ad4d637b2db654c0aaf06778b3da3b40ea20;
SET @BorderBinary += 0xaf0793b254c05d6a847ea6ca3b4079211d1ec2af54c05b5eb9de36bb3b40378b170b43af54c087342a70b2ad3b40e15e99b7;
SET @BorderBinary += 0xeaae54c01c5da5bbeb9c3b40f0879fff1ead54c09cdcef5014a03b40dab277d259ab54c055913ffd31aa3b4001bd70e7c2a9;
SET @BorderBinary += 0x54c0ed28ce5147b33b4023d6e25300a854c03e95d39e92bb3b40e3dd91b1daa754c06a32e36da5c73b4026240a6459a754c0;
SET @BorderBinary += 0x0e5cb7a7b3c93b40e3defc8689a554c08b8ba37213d13b40063aae933fa454c0361082441ad63b400070ecd973a354c014e6;
SET @BorderBinary += 0x3dce34d93b409cbe9eaf599f54c0ee75525f96d23b40c539eae8b89c54c02995f0845ecf3b40ab21718fa59b54c0b95164ad;
SET @BorderBinary += 0xa1c43b40eb54f99e919e54c08fe046ca16b93b408e1ebfb7e9a054c03673486aa1b43b40c12d068162a354c0efabbd0d3ca5;
SET @BorderBinary += 0x3b40c3d2c08f6aa554c0aeba0ed594983b4099b67f65a5a954c00a0c59ddea853b40747d1f0e12ae54c071c6302768873b40;
SET @BorderBinary += 0xcfd72c978daf54c00b5d8940f5873b40e76b96cb46ac54c0f738d384ed6f3b40f0689ca07ba954c0dd989eb0c4633b40c6a3;
SET @BorderBinary += 0x54c213a754c0f14927124c593b40e8818fc18aa254c0c2853c821b413b400fb22c98f89c54c0ada415df50143b404040e0fe;
SET @BorderBinary += 0xa09754c04776b85d32f23a40a338471d1d9454c0df68c70dbfdb3a4000266763f49154c0a039a52010ca3a40c075c58cf090;
SET @BorderBinary += 0x54c07a6f0c01c0c13a408dea7420eb9054c0066344a2d0b23a4086e63a8db48f54c063d2df4be1993a40333509de908b54c0;
SET @BorderBinary += 0xb77d8ffaeb793a408196ae601b8854c07cee04fbaf6f3a4067edb60bcd8454c082fb010f0c6c3a4050ff59f3e38054c029e5;
SET @BorderBinary += 0xb512ba733a409bff571d397d54c07f15e0bbcd733a4074ce4f711c7b54c0698995d1c86f3a40b62276d02c7654c002d53743;
SET @BorderBinary += 0x93543a40172b6a300d7654c0ba8102efe4533a403cbb7cebc37354c062f20698f9263a40863b17467a7054c0c9c4ad821800;
SET @BorderBinary += 0x3a4049d8b793886e54c0c8b3cbb73ee83940764d486b0c6b54c0d2fc31ad4ddb3940d9226fa4f96854c05f0a844da6e03940;
SET @BorderBinary += 0x382d78d1576754c04e603aaddbe439405439ed29395e54c00c1f115322d1394073082e83475c54c054942fdd99cd39402d78;
SET @BorderBinary += 0xd157905854c0a2224e27d9c639405ef58079c85654c0bde2a9471ab43940f984ecbc8d5254c00917f2086eac394043c4cda9;
SET @BorderBinary += 0x644f54c090f63fc05a993940a67f492a534d54c0548a1d8d43813940a3cc0699644954c00f9a5df756683940205c01857a49;
SET @BorderBinary += 0x54c075560bec3155394014eae923f04a54c01f7efe7bf03e39402d3c2f151b4954c0022b8716d92e3940a452ec681c4554c0;
SET @BorderBinary += 0xe7dced7a691e3940d906ee409d4054c0fed137691a203940c667b27f9e3a54c060e4654d2c243940313d6189073854c08a01;
SET @BorderBinary += 0x124da02c3940a9150842ec3654c009cedcf8712d394027c0b0fcf93354c0d1c77c40a02f3940bfed0912db2f54c0ec1681b1;
SET @BorderBinary += 0xbe253940c153c8957a2d54c0aca8c1340c2739401840f850a22954c08fc536a96830394043a9bd88b62254c0c8940f41d534;
SET @BorderBinary += 0x39409d280989b41f54c0aa7af99d26333940438ead67082054c02d228ac91b283940f8c3cf7f0f2154c09d2cb5de6f183940;
SET @BorderBinary += 0xf9484a7a182754c04b3ca06cca013940bd5301f73c3654c017450f7c0cda384060e3fa777d4254c03a05f9d9c8c53840e694;
SET @BorderBinary += 0x8098844954c0688f17d2e1b538408592c9a99d4654c0cee15aed61ab38401bbb44f5d63d54c07f68e6c935b53840f5a0a014;
SET @BorderBinary += 0xad2954c0410ddfc2badd3840683ba6eeca1f54c09f1b9ab2d3ff3840ecbe6378ec1654c0dcd440f33927394006d3307c440f;
SET @BorderBinary += 0x54c0c0adbb79aa5339404ea0a67cdf0e54c06fa8202f4a5639405b09dd25710a54c043c6a354c2733940e9d32afa430b54c0;
SET @BorderBinary += 0xf92d3a596a853940e49f19c4070f54c05c381092056c3940247f30f0dc1354c0b30584d6c36339409109f835921554c0b054;
SET @BorderBinary += 0x17f0327739400ce8853b171454c0382ee3a6068a3940f73aa92f4b1354c064abcb29019d39405d6c5a29041154c0c4910722;
SET @BorderBinary += 0x8ba83940381268b0a90e54c09206b7b585bb3940e7887c97520b54c07bbb253960af3940edf2ad0feb0954c0a6d0798d5daa;
SET @BorderBinary += 0x3940e65f0d9a430854c0fab46f7304bf39403423b45f0b0854c0dcce1a75c2c139401c430070ec0754c0d177b7b244c33940;
SET @BorderBinary += 0x36c64e78090754c0fd9fc37c79d13940530438bd8b0754c0af97a60870ea39408496cd755f0754c029bbf3c3a8f83940b8fe;
SET @BorderBinary += 0x4e745c0754c0488ac9e99ff939403ab01c21030754c0185b087250163a4063826912f50654c06f644233cc173a40aa2b9fe5;
SET @BorderBinary += 0x790554c0d13b1570cf3f3a407106d51cdb0454c0ed324dc227523a406b7bbb25390354c0a2b5a2cd71823a4090813cbb7c02;
SET @BorderBinary += 0x54c0621399b9c0913a40421f2c63430254c01fd61bb5c29c3a401859d8ea460254c0ef8a8b318ba53a400adae4f0490254c0;
SET @BorderBinary += 0x92b06f2711ad3a400a630b410e0254c004e275fd82c53a404a3fa139120254c03a59ee7ee5c53a40f30016f9f50254c0fe7a;
SET @BorderBinary += 0x8505f7db3a4002b5d524510554c0f3a78dea74f83a40aa454431790754c019541b9c88123b40f98381e7de0854c0b2f2cb60;
SET @BorderBinary += 0x8c1c3b40894160e5d00954c07ff3e2c4572b3b400b65c061ac0c54c05e55828b54433b40f3c81f0c3c1054c00c59ddea3961;
SET @BorderBinary += 0x3b4066ffeb97441454c00571fad5ad8e3b408f1a13622e1554c0e6046d72f8983b40e12879758e1854c07d91d09673bd3b40;
SET @BorderBinary += 0x020438bda61c54c0cda6159d4adc3b408e75711b0d2354c0543541d47d0c3c40499d8026c22554c0d903adc0902d3c404372;
SET @BorderBinary += 0x3271ab2654c0971936cafa413c40bbb20b06d72654c094a0bfd023563c4079ca6aba9e2554c0895ddbdb2d693c40da54dd23;
SET @BorderBinary += 0x9b2154c0310400c79e753c40172aff5a5e2554c0daa7e33103993c40f8c5a52a6d2954c0a8c64b3789ad3c40c727f1738f2e;
SET @BorderBinary += 0x54c0ca28b39d8bca3c40f910548d5e3254c0fd4cbd6e11e03c409e5e29cb103a54c02460747973103d40868bdcd3d53d54c0;
SET @BorderBinary += 0xbc1de1b4e0253d4055dcb8c5fc4254c09be09ba6cf4e3d4057136004974654c0613109a74f6d3d40ce4f711c784a54c0bccb;
SET @BorderBinary += 0x457c278e3d40a4fdcf59774d54c0f1dca71dafab3d408061f9f36d5054c06e66f4a3e1c83d40c05df6eb4e5154c0c0e61c3c;
SET @BorderBinary += 0x13e23d4001c11c3d7e5254c00af4893c49ea3d40d8904ac7f55754c003250516c0403e40f33977bb5e5954c0f35487dc0c57;
SET @BorderBinary += 0x3e40c2f9d4b14a5a54c084656ce8667b3e40367172bf435b54c0d2a57f492a7f3e401a6992fe735b54c00a54c53695813e40;
SET @BorderBinary += 0xbd175fb4c75b54c046e7fc14c7853e40fa78e8bb5b5c54c074eca012d7993e40016a6ad95a5b54c034f44f70b1b23e4099d7;
SET @BorderBinary += 0x11876c5c54c06a8313d1afb53e40527c7c42766054c0de196d5512b93e4048861c5bcf6154c06b44300e2eb93e4083f57f0e;
SET @BorderBinary += 0xf36354c09f1d705d31b73e40261c7a8b876854c040102043c7ba3e40425e0f26c56a54c0a1293bfda0be3e40dcb8c5fcdc6e;
SET @BorderBinary += 0x54c0dcef5014e8bf3e408a929048db7054c040f50f2219c63e40399a232bbf7354c01551137d3eca3e4053211e89977754c0;
SET @BorderBinary += 0x30b5a50ef2ca3e408cdafd2ac07954c018e76f4221d23e406c08fe8cfb7954c0057264c047d23e40cac0012d5d7c54c01780;
SET @BorderBinary += 0x46e9d2d33e4006f2ecf2ad7f54c0643c4a253cc93e40232a5437178254c01ff5d72b2cc03e4018778368ad8254c0c799266c;
SET @BorderBinary += 0x3fb13e4007cdae7b2b8354c0ca1649bbd1a73e406a6803b0018154c0901150e1089a3e40897780272d8154c08b6b7c26fb87;
SET @BorderBinary += 0x3e40d82c978dce8154c090b8c7d287723e40a0c4e74eb08254c08e03af963b673e407a32ffe89b8254c085cfd6c1c15e3e40;
SET @BorderBinary += 0x35be1f4e438354c06795be594d5e3e40c26856b60f8654c03c821b295b5c3e4084d4edec2b8954c0fc153257065d3e40eb37;
SET @BorderBinary += 0x13d3858b54c083fa96395d5e3e40a6f0a0d9758d54c040a20914b16c3e4000a94d9cdc8c54c0e256410c74793e40717495ee;
SET @BorderBinary += 0xae8e54c0874cf91054853e404eeb36a8fd8d54c0a206d3307c903e406ad6bca2d09a54c0b13272f4b6943e403b376dc6699d;
SET @BorderBinary += 0x54c0ea3a545392953e403343403d6d9d54c042e5842593953e406e174a5760a554c06e4cae7e75973e40b883974121ac54c0;
SET @BorderBinary += 0x67efc5450f993e40f25a09dd25b854c0a0bdfa78e89b3e408eab915d69c854c06b9a779ca29f3e401600065dbec854c0fabf;
SET @BorderBinary += 0x41fdb69f3e406897de57ccd354c0bcb5c8785da23e40d111f7d2e4d654c08627b8771ba33e40f267524fbbdc54c0941295c4;
SET @BorderBinary += 0x81a43e408fa67a32ffdf54c0bc3c9d2b4aa53e405adfc72826e754c06ddb6da4cca63e408e05854199ef54c01e18463895a8;
SET @BorderBinary += 0x3e40897956d28af454c0423ba759a0a93e405c8e57207a0055c0ef3207c70cac3e40bb5ae3355c0555c03d3864a00aad3e40;
SET @BorderBinary += 0xa6cea3e2ff0755c05b7a34d593ad3e40ebb6a5de451255c07c8465a74faf3e40158bcb465e1855c051e8abfa56b03e402995;
SET @BorderBinary += 0xf0845e1e55c08a39083a5ab13e40c0af9124083455c03d9b559fabb53e40ae39dbfd423755c06c2419ab24b63e4021054f21;
SET @BorderBinary += 0x573755c0fdbad39d27b63e40a2b437f8c23a55c08cd47b2aa7c53e405c8dec4acb3b55c0e6c8ca2f83d53e40b03bdd79e23b;
SET @BorderBinary += 0x55c0a7e507aef2e03e40828debdff53e55c011e0f42edeef3e40e5efde51634055c0a2ea573a1ffa3e4074d190f1284055c0;
SET @BorderBinary += 0x24b20fb22c003f40bef6cc92004255c02bd7db662a003f40a3e36a64574955c00c569c6a2d003f40ab083719555555c0a38d;
SET @BorderBinary += 0x23d6e2ff3e40eb6b7747405f55c07b950b9c7aff3e4032540a42df5f55c03dd4781574ff3e40fd9e007d166555c0bd98ab46;
SET @BorderBinary += 0x3dff3e4085949f54fb6f55c0274c18cdcafe3e402eaa4544317955c0340c1f1153fe3e401bb876103e8255c0b6c6cf5f66fe;
SET @BorderBinary += 0x3e4054a73ddffb8b55c0e14f23287bfe3e40fa78e8bb5b9755c0aeee586c93fe3e40a143dc8ddf9855c0658eaf6699fe3e40;
SET @BorderBinary += 0x805f234910a455c0eee9ea8ec5fe3e40164dd4230cac55c013c5491607ff3e40326bffc648b255c0a5d207473aff3e405cfd;
SET @BorderBinary += 0xd8243fb555c0e7887c9752ff3e40e52329e961bb55c04df04dd367ff3e40003961c268ca55c08bdafd2ac0ff3e40628200ea;
SET @BorderBinary += 0x6fca55c0d9aa850cc0ff3e405be7df2efbd355c01132906797ff3e4097fbe42840db55c0dc82a5ba80ff3e40560c570740e1;
SET @BorderBinary += 0x55c0340f60915fff3e400206a53653e655c0071d4e0f57ff3e4051d7dafb54e655c0984f560c57ff3e40e4486760e4e555c0;
SET @BorderBinary += 0xc073efe192f33e40;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'FL';
SET @BorderBinary = 0x0103000000010000000f010000c4ebfa05bb6655c09b8bbfed097e414053aef02e176655c0b0743e3c4b7641400c541acc;
SET @BorderBinary += 0x4c6555c08a99e7bf226e414021cced5eee6355c04c35b396026041402a481cb2336255c03e929f5cd84f4140bd1b0ba5b861;
SET @BorderBinary += 0x55c0edf4820d5a4b4140578876b7d56055c04e988fad104341400f0c207c286055c0048d9944bd3c4140154824d0685e55c0;
SET @BorderBinary += 0x8cdbdedbfd2b4140b0f66919a45d55c0400504e8a12441408aaa5fe97c5b55c052f2ea1c031041402835e7dcf25a55c08506;
SET @BorderBinary += 0xaa11580a414052fa411b875955c0b9eaa59668fb4040a9143b1a875955c03594da8b68fb4040802bef35bf5855c0cfbf5df4;
SET @BorderBinary += 0x6af34040554acff4125755c0fcdd3b6a4ce24040c9958cb2a35555c0ca3c9c4099d34040f357c85c195455c0ee2076a6d0c3;
SET @BorderBinary += 0x404057b42333845355c01758abf5cabd4040ca023b94d65255c02846bb7ac8b640409b7ae960244f55c04b5d12e694904040;
SET @BorderBinary += 0x0161ea51e04e55c01ef25f78d58d4040f84f3750e04e55c0f241cf66d58d4040ab79f658e94b55c05543dab0606f40407a58;
SET @BorderBinary += 0xa835cd4b55c0923eada23f6e40406d37c1374d4a55c06b425a63d0694040adbe315af84755c0efd92166356040405a643bdf;
SET @BorderBinary += 0x4f4755c00c3b8c497f5d404079e75086aa4555c01f12bef737544040df1da85ede4455c0d0c7af27d54d404039ecbe637844;
SET @BorderBinary += 0x55c088653387a44a40404ef38e53744055c0e1b54b1b0e43404069431587124055c07e088ac04c414040e1549781fc3f55c0;
SET @BorderBinary += 0x68e70792e74040404b8fa67a323e55c09a215514af384040f6709a2acb3e55c05f9c9e628430404096ae601bf13e55c0ba2e;
SET @BorderBinary += 0xfce07c2e40409ece15a5844055c05f28603b182b4040022a1c412a3d55c07ac2120f28274040d80e46ec133955c078ea9106;
SET @BorderBinary += 0xb721404070e30755e03a55c0abac106f8c1d40401a886533873b55c0fb93f8dc091c4040fb05bb61db3f55c0761a69a9bc17;
SET @BorderBinary += 0x40400d6b2a8bc24355c06bd5ae096911404081768714034355c0dc8310902f0b40404d42e6514a4355c01891e101f8074040;
SET @BorderBinary += 0x109d11de114455c0054f2157eafd3f401b2e724f574455c022861dc6a4f73f40bbeead484c4755c0f78daf3db3e43f40c6a3;
SET @BorderBinary += 0x54c2134955c0e9ce13cfd9d63f40d4196f25444855c0242b0b51c0c73f40c151ea37074855c0990dbdea51c33f40d920938c;
SET @BorderBinary += 0x9c4755c0e0f42ede8fbb3f40ae2afbae084855c059ddea39e9b13f400629780ab94355c0a0185932c79e3f40791edc9db543;
SET @BorderBinary += 0x55c0a63ffb9122923f40b854a52dae4255c08ba71e69708b3f408a62a0bf4e4355c0de9d529800853f403c2d3f70954455c0;
SET @BorderBinary += 0x3bf88903e8773f40d617096d394455c056b439ce6d6e3f408713984eeb4555c0fb56ebc4e55c3f40aed7f4a0a04555c0e5d2;
SET @BorderBinary += 0xf88557523f402c11df63af4555c079d70f8a034f3f40fd8172dbbe4555c03e78edd2864b3f40166c239eec4655c0390a1005;
SET @BorderBinary += 0x33423f40fdf2c98ae14655c0764eb340bb2f3f40cf0f2384474255c057b08d78b21b3f40fa8288d3594155c0e495af995113;
SET @BorderBinary += 0x3f40e8db82a5ba4055c0e4d4ce30b50d3f4074d190f1284055c024b20fb22c003f40e5efde51634055c0a2ea573a1ffa3e40;
SET @BorderBinary += 0x828debdff53e55c011e0f42edeef3e40b03bdd79e23b55c0a7e507aef2e03e405c8dec4acb3b55c0e6c8ca2f83d53e40a2b4;
SET @BorderBinary += 0x37f8c23a55c08cd47b2aa7c53e4021054f21573755c0fdbad39d27b63e40ae39dbfd423755c06c2419ab24b63e40c0af9124;
SET @BorderBinary += 0x083455c03d9b559fabb53e402995f0845e1e55c08a39083a5ab13e40158bcb465e1855c051e8abfa56b03e40ebb6a5de4512;
SET @BorderBinary += 0x55c07c8465a74faf3e40a6cea3e2ff0755c05b7a34d593ad3e40bb5ae3355c0555c03d3864a00aad3e405c8e57207a0055c0;
SET @BorderBinary += 0xef3207c70cac3e40897956d28af454c0423ba759a0a93e408e05854199ef54c01e18463895a83e405adfc72826e754c06ddb;
SET @BorderBinary += 0x6da4cca63e408fa67a32ffdf54c0bc3c9d2b4aa53e40f267524fbbdc54c0941295c481a43e40d111f7d2e4d654c08627b877;
SET @BorderBinary += 0x1ba33e406897de57ccd354c0bcb5c8785da23e401600065dbec854c0fabf41fdb69f3e408eab915d69c854c06b9a779ca29f;
SET @BorderBinary += 0x3e40f25a09dd25b854c0a0bdfa78e89b3e40b883974121ac54c067efc5450f993e406e174a5760a554c06e4cae7e75973e40;
SET @BorderBinary += 0x3343403d6d9d54c042e5842593953e403b376dc6699d54c0ea3a545392953e406ad6bca2d09a54c0b13272f4b6943e404eeb;
SET @BorderBinary += 0x36a8fd8d54c0a206d3307c903e40717495eeae8e54c0874cf91054853e4000a94d9cdc8c54c0e256410c74793e40a6f0a0d9;
SET @BorderBinary += 0x758d54c040a20914b16c3e40eb3713d3858b54c083fa96395d5e3e4084d4edec2b8954c0fc153257065d3e40c26856b60f86;
SET @BorderBinary += 0x54c03c821b295b5c3e4035be1f4e438354c06795be594d5e3e407a32ffe89b8254c085cfd6c1c15e3e40a0c4e74eb08254c0;
SET @BorderBinary += 0x8e03af963b673e40d82c978dce8154c090b8c7d287723e40897780272d8154c08b6b7c26fb873e406a6803b0018154c09011;
SET @BorderBinary += 0x50e1089a3e4007cdae7b2b8354c0ca1649bbd1a73e4018778368ad8254c0c799266c3fb13e40232a5437178254c01ff5d72b;
SET @BorderBinary += 0x2cc03e4006f2ecf2ad7f54c0643c4a253cc93e40cac0012d5d7c54c0178046e9d2d33e406c08fe8cfb7954c0057264c047d2;
SET @BorderBinary += 0x3e408cdafd2ac07954c018e76f4221d23e4053211e89977754c030b5a50ef2ca3e40399a232bbf7354c01551137d3eca3e40;
SET @BorderBinary += 0x8a929048db7054c040f50f2219c63e40dcb8c5fcdc6e54c0dcef5014e8bf3e40425e0f26c56a54c0a1293bfda0be3e40261c;
SET @BorderBinary += 0x7a8b876854c040102043c7ba3e4083f57f0ef36354c09f1d705d31b73e4048861c5bcf6154c06b44300e2eb93e40527c7c42;
SET @BorderBinary += 0x766054c0de196d5512b93e4099d711876c5c54c06a8313d1afb53e40904ab1a3715d54c046ccecf318c53e4043ff04172b5c;
SET @BorderBinary += 0x54c0bef2203d45d23e401538d906ee5954c00c21e7fd7fe83e401d3c139a245a54c0e5b512ba4bfa3e40bef40bb2665a54c0;
SET @BorderBinary += 0x25517c54a7fd3e405fb4c70be95a54c0bebed6a546043f40b27dc85bae5954c02ac58ec6a1123f408e76dcf0bb5954c07079;
SET @BorderBinary += 0xac1919203f40f702b342915754c0c4ca68e4f3223f40ec6b5d6a845354c07651f4c0c7343f40dbfb54151a5254c0826e2f69;
SET @BorderBinary += 0x8c3e3f40b0347c91eb5054c09c8324d86a4b3f404be82e89b35054c067edb60bcd4d3f40eca17dace05154c01abe8575e359;
SET @BorderBinary += 0x3f403a8e1f2a8d5054c04faf946588673f40323b8bdea94d54c008008e3d7b763f4073452921584b54c0a59c2ff65e843f40;
SET @BorderBinary += 0x861b3a75304b54c02d9e2ffe228a3f40f627f1b9134b54c0b39597fc4f8e3f40ad4f39268b4854c0ea060abc939f3f408dd0;
SET @BorderBinary += 0xcfd4eb4854c018eab0c22db33f40c9066bbba84854c0b4f5bd8fe7b53f40b96fb54e5c4854c0b114c95702b93f4062bb7b80;
SET @BorderBinary += 0xee4454c03fe257ace1c23f40bf4692205c4254c0bdc5c37b0ed03f4080289831054054c0520b259353db3f40e5b2d1393f3c;
SET @BorderBinary += 0x54c071c5c551b9e93f40b8382a37513a54c087fa5dd89af13f4079e57adb4c3654c0d65240dafffc3f40b21188d7f53554c0;
SET @BorderBinary += 0x40db6ad61903404054c37e4fac3854c08738d6c56d04404029af95d05d3c54c04276dec666074040569a94826e4054c066f6;
SET @BorderBinary += 0x798cf20c404036e50aef724254c04e4354e1cf0a404097e13fdd404754c0315f5e807d0e4040beda519ca34754c0bf5fcc96;
SET @BorderBinary += 0xac164040d2890333724954c079e46fe3131d404005fbaf73d34954c099d711876c1e4040abb184b5314854c0d07d39b35d23;
SET @BorderBinary += 0x40409354a698834854c0d172a087da2a4040f981d4311a4b54c01f068c7e44314040807edfbf794c54c0f5d4eaabab344040;
SET @BorderBinary += 0xfed30d14784c54c0eae923f0873b404064726a67985154c0aaed26f8a6454040e17c2ef6305254c0f2c942bb074640408fdd;
SET @BorderBinary += 0x054a0a5554c0bcccb051d64740403bb53200c35854c0fd795de1aa4c4040e7c2482f6a5954c0fef0f3df834d4040dfa46950;
SET @BorderBinary += 0x345954c07b9dd497a553404094826e2f695a54c0c90391459a5e4040bc2c6d81705a54c0d7a287f4435f4040c9022670eb5a;
SET @BorderBinary += 0x54c06d57e883656a40409885764eb35d54c00af2b391eb724040630cace3f85f54c00342ebe1cb78404018e76f42216054c0;
SET @BorderBinary += 0x4a5f0839ef814040a2e3b557d06254c03e7fcfe5ae854040641ef983816654c08c2e6f0ed78a4040e96780d16b6754c09f6b;
SET @BorderBinary += 0xfc716f8b4040dc662ac4236a54c02d42b115348d40402844c021547054c0bada8afd659340402fc7e4e5cc7054c0396d3502;
SET @BorderBinary += 0x409940407c96e7c1dd7054c0aaf23d23119a4040bfb854a52d7654c02bf86d88f19e404085a191102d7654c00565d2f4a59f;
SET @BorderBinary += 0x4040f8fd9b17277654c02c0fd253e4a640403ab187f6b17b54c0e6eac726f9ab404038d73043e37a54c0f0dde68d93b44040;
SET @BorderBinary += 0xe046ca16497b54c0de8d058541bb4040469737876b7f54c0efc4ac1743bf404087875a400f8154c0673c3f16b8c3404049a0;
SET @BorderBinary += 0xc1a6ce8154c03e3db665c0c54040bb61dba2cc8654c0cea44dd53dcc404048c50d7d568754c0e2be1f2788cc40406dc5c201;
SET @BorderBinary += 0x1e8954c0207dedbb7dcd40407d3d5fb35c8a54c00244c18c29ce4040581ea4a7c88c54c0b33ee5982cd44040b4a225efd18d;
SET @BorderBinary += 0x54c0da53e35a08d84040549b075f518e54c0f8dfb6dce2d940407fa2b2614d8f54c0f3c7b4368ddd4040300dc347c49454c0;
SET @BorderBinary += 0x045262d7f6e84040e86a2bf6979b54c0677bf486fbee4040ec9e3c2cd4a054c0d32ea699eef740402991442fa3a354c07616;
SET @BorderBinary += 0xbd5301f94040176ab92308a454c047c52c6470fa4040573ecbf3e0a554c0a48977802701414096e10fe714a654c0023c9af3;
SET @BorderBinary += 0xba014140e23d079623a954c0dc627e6e680a414040dcd5abc8ad54c0b7b41a12f712414014e260020caf54c03d9d50f6361b;
SET @BorderBinary += 0x4140f486fbc8adaf54c06e88f19a571f41404a8f628493b154c0e7d33234e9244140a833f790f0b154c062d8614cfa254140;
SET @BorderBinary += 0xd4b7cce9b2b454c09db98784ef2d414020956247e3b554c0c00644882b334140c8cedbd8ecb754c0b4e6c75f5a3c4140eb6f;
SET @BorderBinary += 0x09c03fbb54c0de921cb0ab3d4140d4e34be772bf54c046cf12a18a3c4140e7a4f78dafbf54c03e75ac527a3c41406bf0be2a;
SET @BorderBinary += 0x17c354c0834f73f2223f41406cb862963cc354c073ea06eb5d3f4140c896e5eb32c654c001857afa08444140049c197c95c6;
SET @BorderBinary += 0x54c0a5a63a89ca444140afeded96e4c954c04bc972124a4b414037514b732bce54c08ba548be124e41402766bd18cad154c0;
SET @BorderBinary += 0x1edd088b8a524140dd5ed218add554c03ee76ed74b5741400ec06233c3d554c07e471f96d9574140a73160fc5fd654c095a2;
SET @BorderBinary += 0xb500c75b4140156d8e739bd654c0dd257156445d41404fac53e57bd454c059c2da183b61414053927538bad454c01fa16648;
SET @BorderBinary += 0x1565414089601c5c3ad254c0d219187959694140ba63b14d2ad054c0925852ee3e6d4140b760a92ee0cc54c076a73b4f3c71;
SET @BorderBinary += 0x41405f0839efffc854c0384a5e9d63764140e19524cff5c754c05feae74d457a41408f899466f3c654c05ab9179815804140;
SET @BorderBinary += 0x9c2f1e88f3c654c04711989615804140800c1d3ba8d454c0e6779acc787f4140a16090a2e4de54c0c5ec5c21d57e41402015;
SET @BorderBinary += 0x3fc625e354c0ecdc721a917e4140adc090d5ade754c0643f8ba5487e41402992c630eefb54c052120fe3657e4140787b1002;
SET @BorderBinary += 0xf2fb54c0312592e8657e41407df7f6445a0055c0421fad506b7e4140d5a3abba480855c0f3ed8f0b757e414028266f809914;
SET @BorderBinary += 0x55c0698d4127847e4140a8fdd64e942055c0342f87dd777e41404701a260c62755c01d588e90817e4140e7ff55478e2e55c0;
SET @BorderBinary += 0x9fe57970777e4140824e0c53a73155c0d874f3b9747e4140029be1dcde3355c00a13ebc8727e41409065c1c41f3755c03e24;
SET @BorderBinary += 0x7cef6f7e4140341725bd863e55c06bb339385d7e41404a4ea8edb53e55c0f539e9c05c7e414073d53c47e44255c03bfda02e;
SET @BorderBinary += 0x527e41403c7a56a9f65055c0d8173606177e4140bfb33d7ac35155c055302aa9137e4140ace909734a5755c0b12b8148df7d;
SET @BorderBinary += 0x414083c2a04ca35855c053b29c84d27d4140ff9e4e915b5e55c0f541f001e97d4140c4ebfa05bb6655c09b8bbfed097e4140;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'GA';
SET @BorderBinary = 0x01060000000800000001030000000100000047000000d6a6b1bd968163c00919c8b3cbc73340466117450f8263c05b0707;
SET @BorderBinary += 0x7b13bb33406803b001118163c0888043a852ab334086c5a86bed8063c0ec3191d26ca63340b6494563ed7f63c07558e1968f;
SET @BorderBinary += 0xa433400858ab764d7f63c0a0c4e74eb09b3340158c4aea047f63c03ac95697538e3340130f289b727e63c090a16307957c33;
SET @BorderBinary += 0x4012329067977d63c0ce531d723374334000c79e3d177d63c0adf545425b6a3340855d143d707c63c082fe428f18593340e7;
SET @BorderBinary += 0xfc14c7817c63c0629cbf09854c334074b0fecfe17c63c0446799452842334041d653ab2f7d63c07841446ada2d33405cafe9;
SET @BorderBinary += 0x41417d63c01b7fa2b2611933403e7958a8357c63c039984d80610933405c001aa5cb7963c02539605793033340ac8f87be3b;
SET @BorderBinary += 0x7763c04888f2052df83240f437a110817563c02231410ddfea3240a0e238f06a7463c019e42ec214f13240645b069ca57363;
SET @BorderBinary += 0xc03412a1116cf832400d1b65fde67263c0ed0f94dbf6013340cb13083bc57163c03718eab0c211334049490f432b7063c055;
SET @BorderBinary += 0xdb4df04d233340cf86fc33836e63c0d18f8653e62633407730629f806c63c053e751f17f33334090dd054a8a6b63c03d27bd;
SET @BorderBinary += 0x6f7c35334085b18520076a63c0302c7fbe2d403340cedc43c2776863c05723bbd23246334042d0d1aa966663c0274c18cdca;
SET @BorderBinary += 0x4233408009dcba1b6563c062105839b4443340aef199ec9f6363c0deca129d654a334074eb353da86063c0dc9bdf30d15433;
SET @BorderBinary += 0x40f60b76c3365e63c085e97b0dc1613340b82231410d5c63c000e0d8b3e76e3340bc07e8be1c5a63c0cccea2772a803340ce;
SET @BorderBinary += 0x893db40f5a63c0c7ef6dfab3873340643f8ba5485b63c000e14389968c33400dfb3db14e5e63c014cac2d7d79a3340d12346;
SET @BorderBinary += 0xcf2d5f63c064cbf27519a2334049810530655f63c0b9c5fcdcd0b0334026de019e346063c00264e8d841bd334077baf3c473;
SET @BorderBinary += 0x6163c0c0cb0c1b65bd3340931cb0abc96263c017105a0f5fba3340e71bd13deb6263c032a9a10dc0c63340ba69334ec36263;
SET @BorderBinary += 0xc0f607ca6dfbda3340c64fe3defc6363c0df1797aab4e5334046b6f3fd546563c0d53e1d8f19f03340bc72bd6da66863c072;
SET @BorderBinary += 0xf90fe9b7033440c554fa09676c63c0b2f0f5b52e113440d867cefa147063c0c5ac1743391d3440f77475c7e27163c07d224f;
SET @BorderBinary += 0x92ae213440b81d1a16237363c09813b4c9e11f34404fb16a10667463c0be9eaf592e273440e3512ae1897663c085ce6bec12;
SET @BorderBinary += 0x313440aea06989957763c08b6ebda60739344086a92d75907963c04c6c3eae0d413440fc1c1f2d4e7b63c0514b732b844534;
SET @BorderBinary += 0x403b18b14f807c63c08ca19c685741344074efe192e37c63c02e01f8a7542d3440064a0a2c807c63c00c923eada21f344049;
SET @BorderBinary += 0x809a5a367b63c0c4cda9640010344064575a466a7a63c005871744a4063440207f69519f7a63c08f53742497fb3340acc43c;
SET @BorderBinary += 0x2b697b63c0c095ecd808f833403ab35da18f7c63c0ee92382ba2ee33401406651a4d7d63c0696e85b01ae333404016a24360;
SET @BorderBinary += 0x7e63c0608f899466db3340621399b9407f63c052448655bcd933406801da56338063c01add41ec4cd13340d6a6b1bd968163;
SET @BorderBinary += 0xc00919c8b3cbc733400103000000010000001f0000008499b67f659663c0cabf9657aeeb3440dbc1887d029663c0a3e4d539;
SET @BorderBinary += 0x06e43440e4f90ca8379463c0c32adec83cd23440c899266cbf9163c0348463963dc934407aabae43359163c0dcf126bf45c7;
SET @BorderBinary += 0x34409f1d705d319063c0af5c6f9ba9cc34401bd47e6b278f63c0a31d37fc6eca3440ce1abcafca8e63c0f8c08eff02c13440;
SET @BorderBinary += 0xcc272b86ab8e63c083bf5fcc96bc3440c823b891328e63c05b96afcbf0a73440dc813ae5d18d63c0d2544fe61f9934407e1c;
SET @BorderBinary += 0xcd91158c63c0961fb8ca13943440db8827bb198963c0da740470b39834401e37fc6eba8663c084f23e8ee6a034401bbad91f;
SET @BorderBinary += 0x288463c0e17cea58a5a03440bac0e5b1668163c0840b790437aa3440fe9aac510f8063c0d3838252b4b23440b401d880887f;
SET @BorderBinary += 0x63c026361fd786be3440aa0f24ef1c8063c00f7f4dd6a8cb34402f1686c8e98163c08f19a88c7fcf34402d060fd33e8463c0;
SET @BorderBinary += 0xc9c9c4ad82dc3440884677103b8663c07fd93d7958e43440660fb402c38763c030f2b22616f03440b151d66fa68a63c0984c;
SET @BorderBinary += 0x158c4af23440124bcadde78c63c095d39e9273ea3440799274cd648f63c0c64ca25ef0e534409a266c3f999063c0e4bb94ba;
SET @BorderBinary += 0x64f434404cc2853c029263c041464085230435402287889bd39363c0c70e2a711d073540da5548f9c99563c0f5824f73f2fa;
SET @BorderBinary += 0x34408499b67f659663c0cabf9657aeeb3440010300000001000000090000006b7f677b749563c06ebc3b32568f3440040473;
SET @BorderBinary += 0xf4789663c0f5b86fb54e883440a8c821e2669563c0670c73823681344084b53176c29263c0e200fa7dff8234407e9065c144;
SET @BorderBinary += 0x9163c03dee5bad13873440b7d3d688609163c046eba86a829434401c08c902269263c090831266da9a3440c59107228b9363;
SET @BorderBinary += 0xc08e588b4f019834406b7f677b749563c06ebc3b32568f34400103000000010000000f000000cc069964e4a163c0feef880a;
SET @BorderBinary += 0xd5e93440003961c2e8a163c0feedb25f77e234405585066259a063c086376bf0beda3440f221a81abd9f63c086c613419cd3;
SET @BorderBinary += 0x3440bc5b59a2b39f63c0a7e67283a1c63440040473f4f89e63c095f1ef332ebc3440488d0931179d63c01150e10852bd3440;
SET @BorderBinary += 0x5a99f04b7d9c63c0174339d1aebe34409ad18f86d39a63c0d656ec2fbbc334408e5a61fade9963c0ebc4e57805d23440e046;
SET @BorderBinary += 0xca16c99a63c0a8a44e4013dd34403d0ad7a3f09b63c0016bd5ae09e53440a641d13c009e63c0cfd6c1c1deec3440acfd9ded;
SET @BorderBinary += 0x51a063c0213a048e04ee3440cc069964e4a163c0feef880ad5e934400103000000010000001800000082397afcdea863c02e;
SET @BorderBinary += 0xac1bef8e2835408429caa5f1a963c0fe63213a041a354019e42ec214a863c01fd7868a7116354084b9ddcb7da563c0e9b644;
SET @BorderBinary += 0x2e381735400dc347c494a263c016fa60191b1a35405dc47762d6a063c07bdae1afc91635403e92921e869e63c09259bdc3ed;
SET @BorderBinary += 0x10354092239d81119c63c05cb1bfec9e0c35403d9b559fab9963c0a1b94e232d113540e5d18db0a89763c011de1e84801c35;
SET @BorderBinary += 0x40b7ec10ffb09663c0cd58349d9d2835407ae2395bc09763c0eb18575c1c2d354068925852ee9a63c0e925c632fd2a354076;
SET @BorderBinary += 0xb5031b5f9d63c06d9aa2fb442b3540b0027cb7799d63c0d5cc5a0a482b3540a80183a4cf9e63c0c0779b374e363540f646ad;
SET @BorderBinary += 0x307d9f63c0d046ae9b52363540bb00e4e174a063c0f9120eb3603335407c28d19247a163c016838769df303540c90391451a;
SET @BorderBinary += 0xa463c05489b2b7943335408716d9ce77a663c00514eae9233835409e0c8e9257a863c0ff3a376dc6393540315f5e80fda763;
SET @BorderBinary += 0xc0855968e7342f354082397afcdea863c02eac1bef8e2835400103000000010000002600000092ccea1d6ec763c065355d4f;
SET @BorderBinary += 0x7495354027f911bfe2c863c0d84812842b9435401399b9c065c763c0dac70a7e1b863540fa7e6abc74c763c09487855ad37c;
SET @BorderBinary += 0x3540c1559e40d8c563c082e49d43196e35402f6ea301bcc563c0d7c56d34806735401ff46c567dc463c0ac3e575bb15f3540;
SET @BorderBinary += 0xec1efa9630c463c0cee4a22b55593540a0c1a6ce23c463c0771211fe45583540a935cd3b4ec363c0797aa52c434c35409487;
SET @BorderBinary += 0x855ad3c263c0780b24287e4c3540115839b4c8c063c01ea7e8482e4f35409be61da768bf63c02fdffab0de5035402864e76d;
SET @BorderBinary += 0x6cbe63c0a6b4fe960050354015ae47e17abc63c05839b4c8764e354070ea03c93bbb63c01bbb44f5d6483540ef5a423ee8b9;
SET @BorderBinary += 0x63c0e02d90a0f8413540c4961e4df5b863c0d732198ee743354000917efb3ab863c0bb490c022b473540c07d1d3867b663c0;
SET @BorderBinary += 0xdd2406819543354072deffc789b563c06da7ad11c1483540bebdc1a4f6b463c01e3234fe2c4f35400d71ac8bdbb463c0e336;
SET @BorderBinary += 0x1ac05b5035403411363cbdb663c0b29defa7c65b3540a77686a92db763c0f71dc3633f6735403e25e7c41eb763c06f8104c5;
SET @BorderBinary += 0x8f753540feedb25f77b863c00a80f10c1a763540dd4603780bba63c0c66d3480b77035400a630b410ebb63c090813cbb7c77;
SET @BorderBinary += 0x3540a071e140c8ba63c0c0adbb79aa873540a9a44e4013bc63c018247d5a45933540a165dd3f96bd63c00fb6d8edb3a63540;
SET @BorderBinary += 0xadbf2500ffbe63c077baf3c473b6354044faedebc0bf63c06991ed7c3fb535406745d4449fc163c0ab9509bfd4ab3540a583;
SET @BorderBinary += 0xf57f8ec263c0bb95253acba035409e4143ff04c463c0a949f0863496354092ccea1d6ec763c065355d4f7495354001030000;
SET @BorderBinary += 0x00010000001c000000decb7d7214f963c0c79bfc169d1036405436aca92cf963c0d1217024d0043640e605d84727f863c0cb;
SET @BorderBinary += 0xf10a444ffa3540b728b341a6f663c07ff78e1a13f63540b00111e2caf463c05c6f9ba910ef3540a2ebc20f4ef363c0e1eb6b;
SET @BorderBinary += 0x5d6ae43540b03bdd7962f263c02eac1bef8ee435408f352383dcf063c06b64575a46e235402ee1d05b3cee63c02f6ccd565e;
SET @BorderBinary += 0xde35401c23d92354ec63c04e98309a95e935406d904946ceea63c095d6df1280f3354076fa415da4ea63c033315d88d5ff35;
SET @BorderBinary += 0x40e57b4622b4ea63c0014f5ab8ac0a364011df89592fea63c01e6b4606b90f3640b189cc5c60e963c056b77a4e7a1f3640a2;
SET @BorderBinary += 0xb8e34dfee963c07c7c4276de2e3640cdc8207791eb63c0d155babbce36364010786000e1ec63c094f3c5de8b3b364089ce32;
SET @BorderBinary += 0x8bd0ed63c023a12de7523836402cee3f329def63c0200a664cc13a36408c87f71c58f063c08c2ac3b81b3436404ef04dd367;
SET @BorderBinary += 0xf163c0cdafe600c13836408862f20698f263c0670c738236393640265305a392f363c08dcef9298e3336400e6abfb593f663;
SET @BorderBinary += 0xc0e690d442c92836404089cf9d60f763c022fab5f5d3233640268e3c10d9f763c02e19c748f6183640decb7d7214f963c0c7;
SET @BorderBinary += 0x9bfc169d1036400103000000010000001300000025581ccefc0764c0777fbc57add03540349c32375f0764c003780b2428ca;
SET @BorderBinary += 0x35402a1bd654960664c0b1a4dc7d8ec73540d26bb3b1120664c05f984c158cd2354018efc7ed970564c0ef3a1bf2cfd83540;
SET @BorderBinary += 0x5a65a6b4fe0464c09f3715a930de35405c8e5720fa0364c0177e703e75e0354044a852b3870264c08499b67f65e5354080ed;
SET @BorderBinary += 0x60c4be0264c08bbe823463ed3540742502d53f0264c04df2237ec5f635401efd2fd7a20164c0ec6987bf26fb35401ccd9195;
SET @BorderBinary += 0xdf0164c073637ac212ff354043c9e4d44e0264c001f73c7fda00364027d87f9d9b0364c0ed815660c8fe35406571ff91e903;
SET @BorderBinary += 0x64c095f0845e7ff63540567daeb6620464c067f0f78bd9f235407a3881e9340664c0cb49287d21ec3540b75d68ae530764c0;
SET @BorderBinary += 0x5051f52b9de3354025581ccefc0764c0777fbc57add03540;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'HI';
SET @BorderBinary = 0x0103000000010000000a010000e1421ec18d4f5dc00ccb9f6f0b32464021c9acdee14d5dc0581d39d2192e46405ccccf0d;
SET @BorderBinary += 0x4d4c5dc0033e3f8c102a464012ebf496914d5dc01f508747f12546404485eae6e24d5dc04d49d6e1e8244640a8c821e2e64a;
SET @BorderBinary += 0x5dc077a1b94e23214640c826f911bf475dc0196ec0e787234640f1bc546ccc435dc00b96ea025e1e46407ac5538f343e5dc0;
SET @BorderBinary += 0xaeb5f7a92a1e46409e961fb8ca3d5dc0d2a6ea1ed9184640821953b0c6395dc009db4fc6f81646403f1efaee56395dc0d977;
SET @BorderBinary += 0x45f0bf13464078814a5777395dc0aaa2c81089134640a06d35eb8c3e5dc0bc202235ed0a4640b4ca4c69fd3b5dc0c6a4bf97;
SET @BorderBinary += 0xc20346403e58c6866e3d5dc0dcb5847cd0fd45401c075e2d773e5dc0c5ff1d51a1f245402d437f2b133f5dc06d484eaacaf0;
SET @BorderBinary += 0x454005fc1a4982415dc0e38a8ba372e945405c59e272a4415dc0ac99069717d74540d1e7a38cb8415dc01b2b31cf4acc4540;
SET @BorderBinary += 0xdf1797aab4415dc0601bf16437834540001b1021ae415dc06c205d6c5a674540452bf702b3415dc00056478e743045403690;
SET @BorderBinary += 0x2e36ad415dc079cc4065fcff4440a360e7ad2b415dc038952fc5faff4440e08101840f285dc0cc5b751daaff444068942efd;
SET @BorderBinary += 0x4b155dc0aaed26f8a6ff44407026a60bb1f75cc0e3e13d0796ff4440f20698f90ee85cc019c5724babff4440dd7d8e8f16d4;
SET @BorderBinary += 0x5cc04739984d80ff44407f4413ad72c25cc09ebc6333d3ff44401d8f19a88cb95cc0effca204fdff4440aad1ab014aa65cc0;
SET @BorderBinary += 0x9141ee224cff4440b4cd8de909925cc0d89c836742ff44406d1ff296ab825cc0c8b08a3732ff44408b53ad8559745cc066bd;
SET @BorderBinary += 0x18ca89fe44403b394371c75f5cc005fa449e24ff444042209738f24f5cc0ab96749483ff44409a0986730d405cc0b88e71c5;
SET @BorderBinary += 0xc5ff444064495f6d0d405cc05d2984c5c5ff4440f20baf2479295cc0dd7a4d0f0a0045401ee21fb6f4105cc0904b1c792000;
SET @BorderBinary += 0x4540afecc280890a5cc00b9529b8d8ff44406477819202075cc00a47904ab1ff4440efd6d83e02075cc09c115f4bb1ff4440;
SET @BorderBinary += 0x9a232bbf0cf05bc0b2f4a10beaff44409132618880e05bc06d64cdb2f5ff4440a4cb8ee57fe05bc0586d47b3f5ff44402bbd;
SET @BorderBinary += 0x361b2bde5bc093c49272f7ff44400ddfc2baf1d75bc0cde506431d0045404f05dcf3fcc25bc05de0f25833004540ec12d55b;
SET @BorderBinary += 0x03c35bc0be4868cbb92c454089c8bc17eac25bc09e02937cad4145401cd2a8c0c9c25bc000a777f17e5c45405ad76839d0c2;
SET @BorderBinary += 0x5bc04850fc18737b45407c0f0dc7d1c25bc07cfbcc11918245403b56293dd3c25bc031b43a39438945401ff64201dbc25bc0;
SET @BorderBinary += 0xb858518369a84540bca46531e7c25bc01be0723525c0454030815b77f3c25bc03b4f3c670bd8454080f10c1afac25bc0533c;
SET @BorderBinary += 0x2eaa45f445408ef473a405c35bc00530b2c7e1fd454040db6ad619c35bc092c83ec8b20e46407c2aa73d25c35bc0f5b9da8a;
SET @BorderBinary += 0xfd2f4640ad16d86322c35bc083f92b64ae3c46404fae2990d9c75bc02330d637303f46402907b30930c95bc0d8b5bddd9244;
SET @BorderBinary += 0x4640081f4ab4e4cc5bc011381268b0494640790261a758ce5bc0682101a3cb4f46403333333333d15bc042cd902a8a554640;
SET @BorderBinary += 0xa86e2efeb6d45bc0b2666490bb5c4640188fc2bf2dd85bc0c12b57ea31604640faf202eca3d85bc09e25c808a8604640ae2d;
SET @BorderBinary += 0x3c2f15dc5bc0bea1f0d93a5c464035975a932fdd5bc0da670a0b345946404792205c01de5bc09a030473f45646403620425c;
SET @BorderBinary += 0x39e15bc05628d2fd9c4a4640c8ee022505e45bc0f1b8a816114746401c1465e77ee75bc0e7ff1cf64f4746404ad05fe811ed;
SET @BorderBinary += 0x5bc0200725ccb4474640c1feebdcb4f35bc0836beee87f41464061c26856b6f75bc0b06ebc3b32484640b8ad2d3c2f025cc0;
SET @BorderBinary += 0x9944bde0d34446409aec9fa701085cc0c806d2c5a6434640ace5ce4c300e5cc097e0d40792454640956247e350125cc08a58;
SET @BorderBinary += 0xc4b0c34846409f3e027ff8165cc03acb2c42b143464021753bfbca185cc0075becf659394640404f0306491e5cc037195586;
SET @BorderBinary += 0x713d4640096b63ec84265cc0376c5b94d93e4640912749d74c2d5cc06211c30e6340464006f4c29d0b2f5cc085402e71e43f;
SET @BorderBinary += 0x4640dcf5d21401355cc0a6b228eca2384640a52daef199345cc0459be3dc26344640d9567a6ee8345cc081eeccc1df334640;
SET @BorderBinary += 0x1b683ee76e385cc0d0967329ae30464028ee7893df3c5cc051a3906456354640f086342a70405cc02d043928613c46409d2c;
SET @BorderBinary += 0xb5de6f405cc048fc8a355c424640faee5696e8435cc02504abeae5494640c845b58828435cc0d4601a868f5046400377a04e;
SET @BorderBinary += 0x79465cc0215514afb25a4640a70705a568485cc015014eefe2614640b8ab5791d14f5cc0211ff46c56694640dfde35e84b53;
SET @BorderBinary += 0x5cc04d7ff62345664640a625564623585cc0e8667fa0dc6a464061a75835085b5cc0f5622827da6b464022a46e675f5e5cc0;
SET @BorderBinary += 0xa1d80a9a96744640c4d155babb5c5cc005a6d3ba0d7a4640f8a6e9b3035c5cc05b936e4be48046407b319413ed5c5cc06cb1;
SET @BorderBinary += 0xdb67958746403acb2c42b1605cc00a67b796c98c464082ffad64c7645cc02cb98ac56f904640a51309a69a695cc0a7052ffa;
SET @BorderBinary += 0x0a9e4640ea793716146f5cc047c49448a2a94640b77a4e7adf6e5cc016889e9449b1464007b47405db705cc0f1b913ecbfb6;
SET @BorderBinary += 0x4640beda519ca3705cc0728577b988bd464015a8c5e061735cc0d5cdc5dff6c2464007efab72a1735cc067b5c01e13cd4640;
SET @BorderBinary += 0x30293e3e21775cc064e94317d4cf46408bfb8f4c87795cc0ca14731074d24640e61e6622b07c5cc00d718be25cd746400c3c;
SET @BorderBinary += 0xf71e2e7e5cc03b33c170aed9464041ef8d2100815cc0696e85b01ad94640ac545051f5805cc043a9bd88b6d346407cec2e50;
SET @BorderBinary += 0x52855cc01875adbd4fcd4640d9ebdd1fef8b5cc0a5d8d138d4c5464026fdbd141e905cc0bbb20b06d7c446402fdffab0de91;
SET @BorderBinary += 0x5cc098f738d384bd464001fbe8d495975cc0a41b615111bf46405e7f129f3b9d5cc03c4a253ca1c54640eee714e467a05cc0;
SET @BorderBinary += 0x31b3cf6394c746401c5dca2184a15cc0338e5ce3e7ca4640973b33c170a25cc0e90c8cbcaccd4640630b410e4aa25cc01dad;
SET @BorderBinary += 0x6a4947d34640c8b7770dfa9f5cc08f705af0a2d54640e9f010c64fa05cc061fa5e4370dc46402aadbf2500a45cc03a22dfa5;
SET @BorderBinary += 0xd4e34640be16f4de18a15cc0ab5791d101eb4640c11a67d3119b5cc0554fe61f7ded4640a9f92af9d8985cc0f0f96184f0f0;
SET @BorderBinary += 0x46403df03158719a5cc0d2fe0758abf4464033ddeba4be995cc05c3b511212fb4640179f02603c9c5cc00951bea085fe4640;
SET @BorderBinary += 0xb24cbf44bc9e5cc027a089b0e1034740ae635c71719d5cc0c72764e76d0c4740e9d9acfa5ca15cc096ce8767091047408543;
SET @BorderBinary += 0x6ff1f0a05cc02d58aa0b78154740b91798158a9c5cc0fb58c16f43164740a587a1d5c99c5cc04f2157ea591e4740f83768af;
SET @BorderBinary += 0x3e9c5cc089d2dee00b234740fb5a971aa19b5cc0d0b69a75c6274740c07b478d099b5cc09ab0fd648c314740253ca1d79f98;
SET @BorderBinary += 0x5cc00e828e56b5344740aa2a3410cb995cc0992a1895d43f4740641ef98381965cc0f5bc1b0b0a414740037b4ca434955cc0;
SET @BorderBinary += 0x05a051baf449474033fe7dc685945cc06c5cffaecf524740224784df7e955cc0f78f9a95e2534740dd9733db15975cc0170c;
SET @BorderBinary += 0xaeb9a3554740649126de019d5cc0ce33f6251b5347407fdaa84e07a35cc09be1067c7e524740fdf4415cd6a55cc03f451b55;
SET @BorderBinary += 0x875347404701a260c6a75cc0b08ba2073e544740456458c51ba85cc0cd565ef23f5b4740361adf1c52ab5cc020554da1ad5d;
SET @BorderBinary += 0x47401ce90c8cbcac5cc09e5f94a0bf5e47404c89247a19b15cc03eaf78ea915e47400aa2ee0390b25cc030b95164ad634740;
SET @BorderBinary += 0x0150c58d5bb85cc0f4177ac4e86747400b7c45b75ebc5cc02e7079ac196f4740e350bf0b5bbb5cc033bf9a0304754740fecb;
SET @BorderBinary += 0xf0f387bd5cc075f7071169774740af78ea9106c25cc0423f53af5b7c474063edef6c8fc45cc01666a19dd3824740f221a81a;
SET @BorderBinary += 0xbdc75cc00f27309dd6874740734c16f71fcc5cc05f5d15a8c590474094313ecc5ed05cc0946588635d964740693524eeb1d2;
SET @BorderBinary += 0x5cc059daa9b9dc9a4740b77d8ffaebd45cc0b45373b9c1a0474074b515fbcbd75cc0adbce47ff2a1474070b0373124de5cc0;
SET @BorderBinary += 0xb741edb776a44740e8da17d00be25cc050feee1d35a847400876fc1708e55cc09833db15faae47409a42e73576ed5cc06265;
SET @BorderBinary += 0x34f279b54740b51a12f758ec5cc0b5c2f4bd86ba4740d8d2a3a99ee85cc0af42ca4faabd47409d9ca1b8e3ed5cc070e7c248;
SET @BorderBinary += 0x2fc447405ca9674128ee5cc05f77baf3c4c94740b58828266fec5cc09c2e8b89cdcf4740a9c1340c1fef5cc0ef54c03dcfd3;
SET @BorderBinary += 0x4740dcf4673f52ee5cc02a89ec832cd9474046cec29e76f55cc0c554fa0967e1474092e7fa3e1cf65cc0dc28b2d650e84740;
SET @BorderBinary += 0xb07614e7a8f95cc0ac376a85e9eb474044fb58c16ffd5cc0ff942a51f6f247406fd40ad3f7015dc0124c35b396fc47404717;
SET @BorderBinary += 0xa0e074025dc0c063b2dffffd474005e09f5225035dc054c2137afdff47408a5a9a5b21035dc00725ccb4fd0f48401a9ee5a7;
SET @BorderBinary += 0x21035dc05ac17c9aa01b484018cdcaf621035dc0c1e10511a9274840d55b035b25035dc028266f80993d4840a35c65612503;
SET @BorderBinary += 0x5dc032c7c36f434048404c8c65fa25035dc0441669e21d804840d7be805eb81a5dc093e1783e03804840d55a988576305dc0;
SET @BorderBinary += 0x9b6ed921fe7f48408cbfed0912425dc01f477364e57f48400a90acae1b425dc0a773b21b5c6c4840b6f468aa27425dc0a756;
SET @BorderBinary += 0x5f5d15544840263acb2c42425dc0807c09151c364840bf28417fa1425dc0de91b1dafc0f484098836941a3425dc0eeedbde3;
SET @BorderBinary += 0xd405484051ef2bc4a4425dc0446ca2171bfd4740b519a721aa425dc0d95f764f1ede47408ab3de6597425dc039b6aa5edcae;
SET @BorderBinary += 0x47404e5935fa91425dc0fde981d32fa14740054d4bac8c425dc025cade52ce934740242954a18c425dc051261e384a904740;
SET @BorderBinary += 0x37349cb78b425dc0d321eb35594547401215aa9b8b425dc044f81741633c4740d2c95de457425dc0aa82497f7b3647405322;
SET @BorderBinary += 0x895e46425dc0d87bf1457b344740ecf82f1004445dc0548a1d8d432d4740f9669b1bd33f5dc0f65fe7a6cd264740c07cb262;
SET @BorderBinary += 0xb83d5dc02e55698b6b2047403c4a253ca13d5dc028d53e1d8f1947402a38bc20223b5dc0bc1de1b4e0154740a05225cade3b;
SET @BorderBinary += 0x5dc0b7b06ebc3b1247408bfa2477d83e5dc04cf8a57ede0a474034d8d479543c5dc02b8716d9ce074740ba9f53909f3a5dc0;
SET @BorderBinary += 0xb28174b169ff4640f06b2409c2385dc0df313cf6b3fa4640ea909be106375dc0486b0c3a21f44640087ac42a26335dc09267;
SET @BorderBinary += 0x8c0eefec46408a3c49ba66325dc0f4fbfecd8beb4640d845d1031f2f5dc02cd2c43bc0e94640c02500ff942a5dc0c9c4ad82;
SET @BorderBinary += 0x18e446406c990cc7f3255dc02dcc423ba7e3464016a243e048225dc0cd5a0a48fbdd46401fd95c35cf215dc0b20ddc813ad7;
SET @BorderBinary += 0x46402c64ae0caa1d5dc0052ffa0ad2ce46408a7780272d205dc073d3669c86c84640ed2aa4fca4255dc0465f419ab1b84640;
SET @BorderBinary += 0xf413ce6e2d2b5dc02ee1d05b3ca84640b87bdd93362c5dc02106e9d875a24640a65eb7088c2c5dc02efd4b5299a04640f149;
SET @BorderBinary += 0x27124c305dc071546ea2968e4640fa895d3019325dc08d3d62b3008a464015e3fc4d28325dc0965aef37da894640afeaac16;
SET @BorderBinary += 0xd8355dc0d61bb5c2f4834640d32ea699ee365dc0d5cc5a0a487d46408a39083a5a355dc06b6281afe87646401b7fa2b26137;
SET @BorderBinary += 0x5dc01477bcc96f6f4640b2160c53ea385dc0ea16cf32966b46406c9a779ca23b5dc02b84d558c2644640a4a7c821e2405dc0;
SET @BorderBinary += 0xcfa2772ae0604640209be447fc435dc0f6419605135d4640a88aa9f413465dc0edd0b0187553464082e7dec325495dc0b113;
SET @BorderBinary += 0x5e82534746403f541a31b34a5dc0355b79c9ff424640acc77dab754e5dc0f487669e5c3d4640429259bdc34d5dc0060c923e;
SET @BorderBinary += 0xad364640e1421ec18d4f5dc00ccb9f6f0b324640;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'ID';
SET @BorderBinary = 0x010300000001000000420100005174150e65e056c004cec6afae1944406c3f19e3c3e056c0e272bc02d1154440795be9b5;
SET @BorderBinary += 0xd9df56c06fd74b53040a4440f04a92e7fade56c015e291787902444027da5548f9db56c070b0373124f943401807783df5db;
SET @BorderBinary += 0x56c0e2a0e1bcfdf8434012dbdd0374db56c0bd50c07630f44340d6187442e8db56c07138f3ab39ec434064e76d6c76d956c0;
SET @BorderBinary += 0x570394861ae94340a60bb1fa23d756c0de03745fcee443408ab6e0e055d756c07977c8ad1de143406000e14389d756c0f46a;
SET @BorderBinary += 0x80d250dd4340bac5cb9391d356c036ff94e8d5d7434084471b47acd156c04302469737d54340a7d0713bb4cb56c0dbdc19e7;
SET @BorderBinary += 0x92cc4340aa7af99d26cb56c0598638d6c5cb43401ff46c567dc956c0711c78b5dcc54340d5230d6e6bc656c065c22ff5f3c4;
SET @BorderBinary += 0x434008feb7921dc456c000193a7650bf4340bf9a030473c256c0ae2cd15966b9434089e942acfebb56c0c09140834db34340;
SET @BorderBinary += 0xfc7d05c6dcbb56c07962b77423b3434018cbf44bc4b556c06728ee7893ab4340d7d825aab7ae56c00e9f7422c1a043408e12;
SET @BorderBinary += 0x65474aae56c0bbaaf767af9c434078b130444ead56c0252367614f934340dcf0bbe996ab56c0fe261422e08c43408a1ef818;
SET @BorderBinary += 0xacad56c03bdee4b7e88643403387a4164aab56c0ed0f94dbf67d43403928d55f57aa56c0aa21a55ba477434092ca147310aa;
SET @BorderBinary += 0x56c0b5be4868cb754340bde2a9471aa656c0b22e6ea3017043406e675f7990a356c0766c04e2756f43401ccbbbea01a056c0;
SET @BorderBinary += 0x2502d53f88744340e4654d2cf09d56c0cdffab8e1c7b434006e706b1dc9c56c084e8d0fd0e7b4340f2cea10c559956c098f9;
SET @BorderBinary += 0x0e7ee27a434026fdbd141e9356c01c25afce317643402e2d368cb39156c0755005e2ac754340dac534d3bd8e56c0069e7b0f;
SET @BorderBinary += 0x977443406e28fc1c448d56c04d3a27a9097343403eb0e3bf408756c0f6251b0fb66c4340a8e0f082888756c0a1681ec02267;
SET @BorderBinary += 0x4340a530ef71a68a56c0c0249529e662434093a3907ca98a56c0930d6ba5df6243409d465a2a6f8d56c062a1d634ef5c4340;
SET @BorderBinary += 0x8a7615527e8c56c0b22e6ea301584340a78670189e8b56c070c9441987544340a0be654e978b56c0d40968226c5443403cf2;
SET @BorderBinary += 0x0703cf8b56c0056b9c4d474e434027a3ca30ee8f56c01d37fc6eba45434011585ec0569056c0273905cdf34343404eebedd4;
SET @BorderBinary += 0xb39056c01b02f5155f4243409a3c65355d9156c0c58ec6a17e3f434008e6e8f17b9256c0a2ea573a1f3843408ba4f38fc695;
SET @BorderBinary += 0x56c016570c518c314340ddfbdf52f29556c08e9a17ea3431434050c07630629656c06fd6e07d55304340df88ee59d79756c0;
SET @BorderBinary += 0xf083f3a963294340800a47904a9756c07f9f71e1401e4340f4a32d79799656c0969e63081a1c43401e317a6ea19456c05d17;
SET @BorderBinary += 0x7e703e17434042eaeafe2c9056c054788ae45a104340d9b0a6b2289056c081751c3f54104340e8d7d64fff8d56c08a71fe26;
SET @BorderBinary += 0x140c43401a0166a82a8d56c0cbef95394b0b43406246787b108856c05114e813790643404754a86e2e8556c0aab8718bf901;
SET @BorderBinary += 0x4340b47405db888056c00c2252d32efc4240e527d53e1d7d56c065e3c116bbfb4240e48409a3597e56c0af7614e7a8f54240;
SET @BorderBinary += 0xf98068d7b77b56c09c370016a7f0424018ca8976157b56c07ec51a2e72ef4240e0d40792777656c0791edc9db5f34240f354;
SET @BorderBinary += 0x87dc0c7256c01e8997a773ed4240012f336c946c56c01c76df313ce8424010f8626ffb6b56c07801c5a7f0e542403e3db665;
SET @BorderBinary += 0xc06a56c0eaea8ec536e14240025fd1add76556c08b355ce49edc42409b8d9598676156c0a5bdc11726d94240469737876b60;
SET @BorderBinary += 0x56c0b22e6ea301d0424097e315889e5f56c073f1b73d41ca42408f83ba11db5f56c04ac0654cf5c84240bdc134581d6056c0;
SET @BorderBinary += 0x0b2f1ae589c742401b9e5e29cb6056c0008c67d0d0c34240eb353d28285e56c0c7bb2363b5bb4240ba83d899425b56c0c288;
SET @BorderBinary += 0x7d0228b44240d1e80e62675b56c0b91ad99596ad42401a098cc3505e56c0906e1f7edcaa4240649291b3b05f56c0c173efe1;
SET @BorderBinary += 0x92a9424012bf620d176156c04e0b5ef415a44240a14875a8e75e56c067ba48d566a14240d3bce3141d5e56c0399b8e006ea0;
SET @BorderBinary += 0x4240b1a206d3305d56c09cdcef5014984240363cbd52965856c0c5e061da378d42407616bd53015756c0834e081d74854240;
SET @BorderBinary += 0x6c8bf10aad5356c028cdbf63ae83424007cc43a67c5056c0029cdec5fb814240739cdb847b4c56c04c50c3b7b07e42407689;
SET @BorderBinary += 0xeaad814856c068e7340bb47d42402c5f97e13f4856c01b2b31cf4a8242408a5ed2e7a94a56c0742968e93a8942407ff8f9ef;
SET @BorderBinary += 0xc14a56c02363b5f97f89424015713ac9564656c05968e7340b924240677fa0dcb64356c032c85d8429984240ec1516dc0f40;
SET @BorderBinary += 0x56c04818062cb99c424011e6fcbebe3b56c0275af1161f9d424089cdc7b5a13b56c036e675c4219d4240514d5e6e643b56c0;
SET @BorderBinary += 0x631a0157fa9c42407edfbf79713556c0990f08742699424081ea1f44323056c049d40b3ecd934240b83eac376a2c56c05c55;
SET @BorderBinary += 0xf65d11924240d7dd3cd5212756c0cde49b6d6e8e4240112dcc24e82356c05c8ae982c08a4240aad55757052256c0c34659bf;
SET @BorderBinary += 0x998842403bfc5bb4621f56c09e09dcd5b2884240e91405a2f61e56c01d5ab2dab6884240866f61dd781e56c0e1ea0088bb88;
SET @BorderBinary += 0x4240d6a88768741c56c02b2d23f59e8c42400b08ad872f1b56c0a051baf42f9342408db27e33311e56c08386fe092e9c4240;
SET @BorderBinary += 0xb4e1b034f02056c0166bb8c83da54240a9f8bf232a1f56c01cedb8e177ab4240d6dea7aad01d56c065c1c41f45b342405113;
SET @BorderBinary += 0x7d3eca1a56c0282b86ab03b64240500b2c249e1a56c093b3cf8eeab54240616d8c9df01656c0b2bad573d2b34240325706d5;
SET @BorderBinary += 0x061256c074266daaeeb94240889e94490d0a56c06c257497c4bb42402b2ff99ffc0356c0ae635c7171be4240a98afb713d04;
SET @BorderBinary += 0x56c0714fce9a87c0424073d9e89c9f0456c022a30392b0c34240c85bae7e6c0856c0c7d3f20357c94240dd46a35d750856c0;
SET @BorderBinary += 0xcac7e8c589c9424045d5af743e0a56c0f65ca626c1d34240e0ba6246780856c08255f5f23bd94240face2f4ad00356c0bddf;
SET @BorderBinary += 0x68c70ddf4240a453573ecb0156c0d216d7f84ce64240603b18b14f0456c0a35a441493ed42409e902159ce0356c0640006b1;
SET @BorderBinary += 0xefee4240a3ab74779d0256c07653ca6b25f242402ae44a3d0b0156c08a5759db14fb42400f7ee200fa0156c0f1475167ee03;
SET @BorderBinary += 0x43400551f70148ff55c0d9791b9b1d074340967840d994fd55c0c0eac891ce0c43408905bea25bfb55c006616ef772134340;
SET @BorderBinary += 0x30f488d173fe55c0b804e09f521943407c7344c517fe55c0bc7da485791d4340b6b75b9203fe55c00fb743c3621e4340b742;
SET @BorderBinary += 0x588d25fa55c0daa9b9dc6022434003cc7c073ff555c0c37e4fac53274340b1c05774ebf155c0dafd2ac0772f4340eb87ab1e;
SET @BorderBinary += 0x12f055c06a22d2d99c354340c84109336def55c0147651f4c0374340a43330f2b2ed55c0930035b56c3d4340ed0912dbdde9;
SET @BorderBinary += 0x55c038bbb54c86414340ecdade6e49ea55c04910ae8042454340e7625dad7ee955c08f382e4a8748434059bdc3edd0e855c0;
SET @BorderBinary += 0xdba6785c544b43401de6cb0bb0e755c06c938ac6da5143406a2e3718eae255c0172cd505bc564340e59997c3eedf55c02ae1;
SET @BorderBinary += 0x09bdfe604340747cb43863e155c049d40b3ecd694340420bcaa641e255c0ba13b9701e6d4340f0332e1c08e355c0baf59a1e;
SET @BorderBinary += 0x147043409a999c82d6e155c032104bf7f573434077b988efc4e155c05f7cd11e2f74434038d73043e3e155c01895d409687c;
SET @BorderBinary += 0x4340b0e3bf4010e555c0eb387ea83480434040852348a5e455c06342cc2555874340bb26a43506e855c0ae44a0fa078d4340;
SET @BorderBinary += 0x1e529eccd9e855c09acc3db728944340ae0d15e3fce855c01b2e724f57954340fdf50a0beee455c07a371614069b43409128;
SET @BorderBinary += 0xb4acfbe555c036aad381ac9f4340d8dce05010e655c0d4f47a7b33a1434075e789e76ce655c0cf64ff3c0da84340d4d00660;
SET @BorderBinary += 0x03e555c01536035c90ab434026c3f17c06e255c0de550f9887ac43403271ab2006e255c01fbb0b9414bc4340f5dcb0d306e2;
SET @BorderBinary += 0x55c0483217f911bd4340629db89912e255c0b2101d2bbccd4340cade52ce17e255c0161406651ad54340d87503bc13e255c0;
SET @BorderBinary += 0x8dc8781d06f143408cd9925511e255c08507cdae7b0144403db61242fce155c02ad6e9d2f21244404bc79c67ece155c01e87;
SET @BorderBinary += 0xc1fc152044400f4af16fbbe155c0f2149d7a0a3d444081cb2955b8e155c0ff4e0371e03e44405f09a4c4aee155c0f67d3848;
SET @BorderBinary += 0x8844444087e66238ace155c092cf1640525e44403dcf9f36aae155c07171546ea2724440ad712693b1e155c0bc41824e5381;
SET @BorderBinary += 0x4440272cf180b2e155c0895ddbdb2d8344409add799ab4e155c096ef6f6f4295444087fba690b6e155c093950e8e26a64440;
SET @BorderBinary += 0x13252191b6e155c0aeb5f7a92aa64440f6688d4ea0e155c08a56282832bc44402f17f19d98e155c0f545425bcec344408f6a;
SET @BorderBinary += 0xd8ef89e155c05bcea5b8aada4440895fb1868be155c0c6504eb4abdc4440fe60e0b9f7e155c07d5c1b2ac6df444086a8c29f;
SET @BorderBinary += 0xe1e355c0e1cff0660de2444067c75dfa38e555c0cffa2eca67e64440a5b691f3a7e555c0c389f0f6cfe7444005a3923a01e7;
SET @BorderBinary += 0x55c0ff3f4e9830ec44403df0315871e755c0a911fa997aef4440ef90628044e755c0a8fb00a436f14440a62897c62fe755c0;
SET @BorderBinary += 0xa3af20cd58f2444037c0cc77f0e755c093ffc9dfbdf34440197ffab4ffe755c07d33249b12f4444017ec487a99e855c09826;
SET @BorderBinary += 0x4e9a69f7444036e7e099d0ea55c05378d0ecba034540664815c5abeb55c0ec2de57cb10945405ecf7d171dec55c0db8bd71f;
SET @BorderBinary += 0x7a0a4540278c385d72ef55c041d8fbd760104540e6abe46377ef55c06abb09be69104540226909d977ef55c0b29024fe6a10;
SET @BorderBinary += 0x4540c32b73ce98f055c0ae6fea9880134540ffffed161cf355c018629f6c5e1a45400f29064834f355c03c64ca87a01a4540;
SET @BorderBinary += 0xff85b80f56f555c0a89fe2721d264540bcadf4da6cf555c02383dc45982645403d2afeef88f455c0e1606f62482e45409a25;
SET @BorderBinary += 0x016a6af355c06281afe8d6354540d00ce2033bf355c0c91f0c3cf73e4540c63d3df273f955c07c4814dc153f4540caf44915;
SET @BorderBinary += 0xc50c56c0b117e1ee743f454028a089b0e10d56c0c72aa5677a3f454095d6df12801356c08bccae16703f4540cc7c073f7120;
SET @BorderBinary += 0x56c0562c7e53583f454079642ead452d56c03515fbdb2d3f45400c76c3b6452d56c0895ddbdb2d3f4540c875461bb23156c0;
SET @BorderBinary += 0xce613dde3f3f4540883efb432f3c56c0f50f80926a3f4540675f541b863f56c064c4de2a783f454015c440d7be4256c0fdbc;
SET @BorderBinary += 0xa948853f45409235903e695756c09d9ad3d900404540f9de22d0b05956c01ac12f7b0e4045404a77d7d9905f56c03a3e5a9c;
SET @BorderBinary += 0x314045402d0495279b7556c05e5306e7a04045401b118c834b7b56c0f8dedfa0bd40454096b7a614547b56c0d2831dbebd40;
SET @BorderBinary += 0x4540d5b2b5be488e56c0d7868a71fe404540488897c2499b56c0c7053533eb404540813ffcfcf79b56c0dba16131ea404540;
SET @BorderBinary += 0x9a5df75624a956c095d1c8e7154145402c9ca4f963a956c0006dab59673c45403fc23060c9a556c02f185c73473945404888;
SET @BorderBinary += 0xf2052da456c0d9b0a6b22838454008ca6dfb1ea156c05455682096334540a311fe84ff9e56c0bdc72c32d83045403fe3c281;
SET @BorderBinary += 0x909c56c0622afd84b32d454004560e2db29a56c0c4ca68e4f3284540a8177c9a939b56c00f62670a9d234540d5027b4ca499;
SET @BorderBinary += 0x56c0b3942c27a11e454058e1968fa49556c085cb2a6c061a45407810275f349456c00ad9973cd31845407e00529b389156c0;
SET @BorderBinary += 0x75931804561645403be0ba62468d56c00645f30016134540309dd66d508a56c0e59a02999d0d45405e2a36e6758a56c0c5c3;
SET @BorderBinary += 0x7b0e2c0545404b54be3c388a56c0759f08343c0445401e19abcdff8856c0a2ec2de57cff444054abafae0a8a56c0425da450;
SET @BorderBinary += 0x16f84440e9e2e62d1f8a56c064fe551a05f74440b62dca6c908a56c07efacf9a1ff144408c9df0129c8b56c00ed594641dec;
SET @BorderBinary += 0x44401550a8a78f8b56c0f70489edeee744403a0a1cf6828f56c0bc37ffc331e444406471ff91e98f56c0ee2076a6d0e34440;
SET @BorderBinary += 0xc1a6cea3e29356c011514cde00df44408d646f76f59356c015eed89040dd44407c5ef1d4239456c0cc237f30f0d8444058a7;
SET @BorderBinary += 0xcaf78c9556c09f9273620fd54440e204a6d3ba9556c037a79201a0cc4440b4e386df4d9756c05857056a31ca444086ac6ef5;
SET @BorderBinary += 0x9c9a56c06a6b44300ec84440fc54151a889d56c03ab01c2103c34440cd1dfd2fd7a056c0ac18ae0e80c244405e64027e8da4;
SET @BorderBinary += 0x56c06bf0be2a17c244406b97361c96a756c0b9c1508715be4440f292ffc9dfac56c0df8ac40435ba4440bedbbc7152b256c0;
SET @BorderBinary += 0x1c60e63bf8b94440349a5c8c81b756c0cf49ef1b5fb9444056d28a6f28bb56c0ae64c74620b644404d124bcaddbd56c0594e;
SET @BorderBinary += 0x42e90bb7444040102043c7c156c066be839f38b64440f69507e929c456c0e0f599b33eaf4440a8fdd64e94c456c0df8618af;
SET @BorderBinary += 0x79ab4440fd2d04dabdc456c07e4f2706cbaa4440d3933839c3c456c0b3f87270b4aa44404eeacbd24ec756c09a0645f300a0;
SET @BorderBinary += 0x44400edb166536c556c03028d368729b4440d3669c86a8c256c0b94f8e0244954440dc9e20b1ddbf56c0e3c0abe5ce944440;
SET @BorderBinary += 0x840eba8443bd56c0bf098508388e4440c839a5eaf1bc56c0551b23464f8944407d0469d5ebbc56c0d0b6fd96f1884440ee07;
SET @BorderBinary += 0x3c3080bc56c0f23ff9bb77824440014bae62f1bc56c067ec4b361e7a4440d95c35cf11bf56c09d2b4a09c1744440c5aa4198;
SET @BorderBinary += 0xdbc256c087a4164a266f44407170e998f3c556c05837de1d196944407c7c4276dec556c0fc36c478cd6344402a00c63368c7;
SET @BorderBinary += 0x56c0880d164ed25c44407a83f1f690c756c0ead7f7598a594440f92ccf83bbc756c02040868e1d56444032452c96decb56c0;
SET @BorderBinary += 0x6034dba5ad5144406340f67af7cb56c0616bb6f292514440fad170cadccf56c0f60b76c3b65144401cb5c2f4bdd556c0853e;
SET @BorderBinary += 0x58c6864e44409b1da9bef3d756c0027d224f924a4440bc0512143fd956c022a7afe76b444440ee3ec7478bd756c0bb253960;
SET @BorderBinary += 0x574144406021736550d856c0e71890bdde39444076bf0af0ddd756c036c98ff815334440444e5fcfd7da56c088a06af46a30;
SET @BorderBinary += 0x4440b1170ad80ede56c0d177b7b244294440895fb1868bdf56c017b83cd68c224440aa20ca26cedf56c06eb45387d51f4440;
SET @BorderBinary += 0x5174150e65e056c004cec6afae194440;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'IL';
SET @BorderBinary = 0x010300000001000000db0000009e902159ce0356c0640006b1efee4240603b18b14f0456c0a35a441493ed4240a453573e;
SET @BorderBinary += 0xcb0156c0d216d7f84ce642404ca3c9c518fe55c037177fdb13e4424085268925e5fb55c0cb46e7fc14e542409d7fbbecd7f9;
SET @BorderBinary += 0x55c0adf4da6cace842408fdd054a0afc55c0669df17d71ef42406df025a539fb55c0ada553d025f3424030d28bdafdfa55c0;
SET @BorderBinary += 0xb5c35f9335f44240eb1c03b2d7f755c00853944be3f542408b6f287cb6f355c07460394206f042406ccf2c0950ee55c04d11;
SET @BorderBinary += 0xe0f42ef242407b7ed93ea5ed55c0fb0c560a09f14240f5b704e09feb55c0938b31b08eed4240cf4a5af10de855c0a6eb89ae;
SET @BorderBinary += 0x0bed42406153e751f1e655c0a6eb89ae0bf342405e82531f48e355c09b90d61874f642407ee02a4f20df55c0639813b4c9f5;
SET @BorderBinary += 0x4240ba0f2c73b6dc55c078385b4f89f742402766bd18cada55c045bc75feedf84240463d44a33bd555c037bf61a241f44240;
SET @BorderBinary += 0xfb9563ad75d355c0c2d46dff5bf24240505ffc064ed155c01e30edda0df042407493180456d055c0397cd28904ef42400e0e;
SET @BorderBinary += 0xf62686cb55c004560e2db2eb42409d4830d5ccc855c07b9e3f6d54e74240fcff3861c2c655c0a9328cbb41e242400322c495;
SET @BorderBinary += 0xb3c355c052ec681ceae9424008c89750c1c255c0e1b20a9b01f0424020ea3e00a9c055c0c09657aeb7f54240bc32c55093be;
SET @BorderBinary += 0x55c069f2c84f7df6424093fdf33460bb55c0789961a3acf74240ab5ad2510eb855c00ef8fc3042fc4240ae78250113b455c0;
SET @BorderBinary += 0x1829ef0e7eff4240aeb9a3ffe5b355c06b9a779ca2ff4240f886c267ebb155c0c7f319506ffa424095287b4b39ae55c07f6b;
SET @BorderBinary += 0x274a42f2424059a2b3cc22aa55c0b1f677b647ef424098ee389563a955c0bbbf5a56b5ee42408d40bcae5fa755c014950d6b;
SET @BorderBinary += 0x2aed42408ba4dde863a655c033c2db8310f4424040683d7c99a055c0e57d1ccd91f3424068ad68739ca155c0268925e5eefb;
SET @BorderBinary += 0x42400d4faf9465a155c0e2c62de6e704434015436a403c9f55c0d3d828d39605434098f8a3a8339e55c0463eaf78ea054340;
SET @BorderBinary += 0x6abddf68c79b55c05dc0cb0c1b0b43401c89b0aebf9b55c089571b8c270b43403a1f9e25c89855c07d04fef0f30f434080ff;
SET @BorderBinary += 0x6d60cf9655c03064bec85011434087c3d2c08f9455c0be6bd097de12434063b5f97fd59155c04bae62f19b0c43409d67ec4b;
SET @BorderBinary += 0x368d55c09d4830d5cc0243406684b707218655c005fa449e240143403b8908ff228255c04450357a35fc424063500e9cd47f;
SET @BorderBinary += 0x55c0916a047be0fe4240bdfe243e777e55c071c971a774004340cff57523e97c55c048a0de8ee90143409cbf0985087b55c0;
SET @BorderBinary += 0x7e8ae3c0ab0343400f61fc34ee7955c08ac8b08a370e4340381b659e567955c0786768d807174340d76839d0437955c0a8a7;
SET @BorderBinary += 0x8fc01f1843403ae8120ebd7555c0ed478ac8b01e43400b0bee073c7455c0136404543824434025394644d97255c02b015205;
SET @BorderBinary += 0x942343407ba2ebc20f7055c02dca6c90492243408cf4a276bf6b55c0acfd9dedd12543401e69705b5b6955c037a3e6abe42b;
SET @BorderBinary += 0x43403d749dbb9a6855c04114a2646f304340105839b4c86755c0bb421f2c6335434097fdbad39d6555c07901f6d1a9394340;
SET @BorderBinary += 0x86c5a86bed5f55c08b4e965aef3b4340832ee1d05b5e55c0c761307f8540434018ae0e80b85b55c051f52b9d0f434340a350;
SET @BorderBinary += 0x52d1b55b55c0d390b87916434340ed0dbe30995a55c062bb7b80ee4543405eb626529c5b55c082352f680b4b4340c35f9335;
SET @BorderBinary += 0xea5b55c0aeba0ed5944c43406c585359145c55c0d250a39064544340b29aae27ba5c55c0a70183a44f5b4340d76a0f7ba159;
SET @BorderBinary += 0x55c04a41b797345e4340471e882cd25555c0b4e1b034f05d4340e7315cfc495555c0f53cb4790e5e43405a63d009a15155c0;
SET @BorderBinary += 0xff5a5eb9de5e4340ca6c9049464f55c032c7f2ae7a5c4340e0dd62a5e94c55c027f067bd45594340a850dd5cfc4b55c0b6b7;
SET @BorderBinary += 0x5b9203584340b403ae2b664955c0b0e07ec003594340abeae5779a4455c07b65deaaeb5e4340180015eb584155c06162626c;
SET @BorderBinary += 0x176143405890662c9a3d55c05912a0a696634340f1f3df83d73655c0d4415e0f26654340ebaa402d063455c0c667b27f9e64;
SET @BorderBinary += 0x43400ce71a66683355c03d7ac37de46c4340acb9dce51d3355c0f261c229fb6d434034d8d479543255c045f0bf95ec704340;
SET @BorderBinary += 0x990f0874263555c0e411dc48d972434023b3fecb523755c07cfb13d4f8744340faeaaa402d3855c084d21742ce754340fe45;
SET @BorderBinary += 0xd098493555c0c1340c1f117b43400cb08f4e5d3655c03868af3e1e804340f2a7541c2a3855c05a7bbe6b00844340dbfae93f;
SET @BorderBinary += 0x6b3955c06d8ac745b5864340b9c15087153755c03541d47d008a43407825c9737d3455c0e8305f5e808d434048a12c7c7d34;
SET @BorderBinary += 0x55c0b3ea73b5159d4340f07d0b7d683455c066fce7f10ea7434080a27c7b683455c06ef65daf0fa7434018416326513455c0;
SET @BorderBinary += 0x118e59f624b24340165cf8f73b3455c0f9d6dad9cfc24340da5bb386343455c03b1d7e1aabc84340696e85b01a3455c0355b;
SET @BorderBinary += 0x79c9ffdc43402fcbe7ac1a3455c0ba1115c501dd434066d40342ee3355c0a526026d5df5434007ef85aed93355c0ae8ca30d;
SET @BorderBinary += 0xa60044400e85cfd6c13355c0d1cdfe40b90d4440c3a3dcc3833355c0ead81239b12744409064f1b5763355c0ed311150272d;
SET @BorderBinary += 0x4440e7c589af763355c07f4b00fe292d4440ce163e3a633355c02724f0c9913b44402fa017ee5c3355c02367614f3b404440;
SET @BorderBinary += 0xb996bdbf5a3355c0205d8c453e4944409ec410eb553355c0a3cad4e2335d44400320eeea553355c02094f771345d4440c139;
SET @BorderBinary += 0xdbf25e3355c03f4d4bbb16764440d3e3520d623355c0a87116cfa37e44404142942f683355c066a3737e8a8f444070185deb;
SET @BorderBinary += 0x6e3355c0f787f5f053a0444059041ce16f3355c0bd48cd97b8a24440992842ea763355c0f59b89e942b4444025c9a7e27833;
SET @BorderBinary += 0x55c0ddc904cc88b64440a4ec366f843355c008704d8edbc344403bf9f4d8963355c07c0dc17119d94440c0594a96933355c0;
SET @BorderBinary += 0xaef204c24ee144405990dce6ce3455c0d65d77334ee1444098bfd0f2974c55c02b5d9f7243e144404e97c5c4e64e55c0d89c;
SET @BorderBinary += 0x836742e14440bdd0c10eb35255c063e72ca93fe14440bfec0f59396a55c0653ff0aa2ee14440f173653ba57255c077729f95;
SET @BorderBinary += 0x28e14440ec10ffb0a57255c0807f4a9528e1444082e25c08018455c043dc824f3ce14440d4264eee778e55c0e7374c3448e1;
SET @BorderBinary += 0x444002626a54788e55c0e76bf43348e144400341800c1da055c0124a5f0839e144406d6df6d08ca155c0e06d10a939e14440;
SET @BorderBinary += 0x11001c7bf6a855c01c5c3ae63ce14440f9734a6f0ba955c0027543073de14440ce3461fbc9b455c0368e588b4fe14440ff73;
SET @BorderBinary += 0x982f2fba55c01d1cec4d0cdd4440485f69ccb3bb55c0affcf12bb6db4440dafcbfeac8c155c07e71a94a5bd644404c6c3eae;
SET @BorderBinary += 0x0dc855c0fe428f183dd34440e5c0b75a42ce55c05a8f55767fd0444081ae7d01bdd055c00644882b67cf4440b56b425a63d7;
SET @BorderBinary += 0x55c0ccd3b9a294d04440d349b6ba9cda55c0e2546b6116d84440a2b60da320de55c0554d10751fd644408f6ad8ef89e155c0;
SET @BorderBinary += 0x5bcea5b8aada44402f17f19d98e155c0f545425bcec34440f6688d4ea0e155c08a56282832bc444013252191b6e155c0aeb5;
SET @BorderBinary += 0xf7a92aa6444087fba690b6e155c093950e8e26a644409add799ab4e155c096ef6f6f42954440272cf180b2e155c0895ddbdb;
SET @BorderBinary += 0x2d834440ad712693b1e155c0bc41824e538144403dcf9f36aae155c07171546ea272444087e66238ace155c092cf1640525e;
SET @BorderBinary += 0x44405f09a4c4aee155c0f67d38488844444081cb2955b8e155c0ff4e0371e03e44400f4af16fbbe155c0f2149d7a0a3d4440;
SET @BorderBinary += 0x4bc79c67ece155c01e87c1fc152044403db61242fce155c02ad6e9d2f21244408cd9925511e255c08507cdae7b014440d875;
SET @BorderBinary += 0x03bc13e255c08dc8781d06f14340cade52ce17e255c0161406651ad54340629db89912e255c0b2101d2bbccd4340f5dcb0d3;
SET @BorderBinary += 0x06e255c0483217f911bd43403271ab2006e255c01fbb0b9414bc434026c3f17c06e255c0de550f9887ac4340d4d0066003e5;
SET @BorderBinary += 0x55c01536035c90ab434075e789e76ce655c0cf64ff3c0da84340d8dce05010e655c0d4f47a7b33a143409128b4acfbe555c0;
SET @BorderBinary += 0x36aad381ac9f4340fdf50a0beee455c07a371614069b4340ae0d15e3fce855c01b2e724f579543401e529eccd9e855c09acc;
SET @BorderBinary += 0x3db728944340bb26a43506e855c0ae44a0fa078d434040852348a5e455c06342cc2555874340b0e3bf4010e555c0eb387ea8;
SET @BorderBinary += 0x3480434038d73043e3e155c01895d409687c434077b988efc4e155c05f7cd11e2f7443409a999c82d6e155c032104bf7f573;
SET @BorderBinary += 0x4340f0332e1c08e355c0baf59a1e14704340420bcaa641e255c0ba13b9701e6d4340747cb43863e155c049d40b3ecd694340;
SET @BorderBinary += 0xe59997c3eedf55c02ae109bdfe6043406a2e3718eae255c0172cd505bc5643401de6cb0bb0e755c06c938ac6da51434059bd;
SET @BorderBinary += 0xc3edd0e855c0dba6785c544b4340e7625dad7ee955c08f382e4a87484340ecdade6e49ea55c04910ae8042454340ed0912db;
SET @BorderBinary += 0xdde955c038bbb54c86414340a43330f2b2ed55c0930035b56c3d4340c84109336def55c0147651f4c0374340eb87ab1e12f0;
SET @BorderBinary += 0x55c06a22d2d99c354340b1c05774ebf155c0dafd2ac0772f434003cc7c073ff555c0c37e4fac53274340b742588d25fa55c0;
SET @BorderBinary += 0xdaa9b9dc60224340b6b75b9203fe55c00fb743c3621e43407c7344c517fe55c0bc7da485791d434030f488d173fe55c0b804;
SET @BorderBinary += 0xe09f521943408905bea25bfb55c006616ef772134340967840d994fd55c0c0eac891ce0c43400551f70148ff55c0d9791b9b;
SET @BorderBinary += 0x1d0743400f7ee200fa0156c0f1475167ee0343402ae44a3d0b0156c08a5759db14fb4240a3ab74779d0256c07653ca6b25f2;
SET @BorderBinary += 0x42409e902159ce0356c0640006b1efee4240;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'IN';
SET @BorderBinary = 0x010300000001000000fe000000cccccccccc2758c04b1fbaa0be6345408b6b7c26fb2758c04d2cf015dd5c4540e28fa2ce;
SET @BorderBinary += 0xdc2558c0deffc7091358454043a9bd88b62158c0f65b3b5112524540677a9fb1b81e58c0375f5c82d9474540c170ae61861e;
SET @BorderBinary += 0x58c0067fbf982d4745402ffa0ad28c1f58c09d67ec4b364245400ad6389b8e1e58c05fb35c363a414540ce86fc33831c58c0;
SET @BorderBinary += 0xde37bef6cc3e454018af7955671858c03561fbc9183b4540cb0ef10f5b1a58c0b20fb22c9834454056b5a4a31c1a58c052b4;
SET @BorderBinary += 0x722f302b454030d77577861658c007d1905bf4234540e716ba12811558c06de4ba29e52145402079e750861558c0fd2fd7a2;
SET @BorderBinary += 0x051c4540969cd0f2941558c0d4d64a30801b454097c79a91411658c0676325e6591545403e7958a8351158c08993fb1d8a0e;
SET @BorderBinary += 0x454028b517d1761158c0719010e50b064540a70183a44f0e58c03198bf42e6024540a320787c7b0858c0976e1283c0fc4440;
SET @BorderBinary += 0xfab660a92e0a58c0783f6ebf7cf444409504e4d61d0858c0b90c8635dcee44403cf88903e80658c0d446753a90eb44407218;
SET @BorderBinary += 0xcc5f210458c0d0d4eb1681e544404cc8073d9b0558c0a3e9ec6470dc4440aa493f74e80658c0363db9d897d64440d6c39789;
SET @BorderBinary += 0x220758c032e719fb92d544409f1f46088f0758c038a1100187ce44409947fe60e00558c0291f82aad1c74440a4a31ccc2605;
SET @BorderBinary += 0x58c0d4635b069cc344405eb9de36530058c054724eeca1c54440c3e2b5079eff57c001bfe2cae1c044407dcd72d9e8fe57c0;
SET @BorderBinary += 0xad307daf21bc4440242713b70afb57c07a50508a56ba4440434a1c7a59fb57c09b9cee1febb1444084b69c4b71fb57c0b130;
SET @BorderBinary += 0x444e5faf4440fd0e45813efb57c045ef54c03da94440041e1840f8f857c08a1bb7989fa3444099b7ea3a54fa57c0b741edb7;
SET @BorderBinary += 0x769e4440b112d3f03bfa57c0b64bdaf47b984440e3df675c38fa57c052b9895a9a974440bce6559dd5f657c0d192c7d3f297;
SET @BorderBinary += 0x44407adc835629f757c0d5858fc9849444405e9b8d9598f757c034f0a31af68f444099805f2349f757c058fe7c5bb08a4440;
SET @BorderBinary += 0xd4f431a258f757c01e0739a4c3864440db148f8b6af757c018edf1423a8244400455a35703f557c0c9acdee1767c44401adc;
SET @BorderBinary += 0xd6169ef557c0001c7bf65c7644404073190766f457c0765c55f6ef724440a96400a8e2f357c0067e54c37e7144402635b401;
SET @BorderBinary += 0xd8f557c0f3ae7ac03c6c44406e6b2d4064f557c096bbfa0b53644440c7f0d8cf62f557c0531f48de3964444069c36169e0f8;
SET @BorderBinary += 0x57c03927f6d03e5e44407553ca6b25f657c0048bc3995f574440addc0bcc0af257c03eb2b96a9e534440dcbb067de9ef57c0;
SET @BorderBinary += 0x657094bc3a4d444023d6e25300f157c0c5ad8218e84a4440373465a71fe257c079909e22874a444028e05863eed757c0c908;
SET @BorderBinary += 0xd454484a4440863b17467ad557c00c738236394a44402aaa18edf1cc57c0aeab6d36084a44407c40a03369c457c0b5db2e34;
SET @BorderBinary += 0xd7494440e3dfc8af8dba57c0398e510497494440205c01857ab457c0f0a0d9756f4944404faed51c73a857c05b870c6b2f49;
SET @BorderBinary += 0x44407383a10e2ba257c09fc6bdf90d49444076677444289e57c01b7e1433154944404485eae6e29357c08670ccb227494440;
SET @BorderBinary += 0x3ec92308dd8e57c07cf559c637494440fe092e56d48557c0fe7c5bb054494440605628d2fd8057c0c38c4a3f7b4944406b0e;
SET @BorderBinary += 0x10ccd17557c046d09849d4494440110afeda8e7157c021e19484ec494440d00ce2033b6657c0d714c8ec2c4a4440e1cff231;
SET @BorderBinary += 0xa46357c055933148324a4440975dc8f1f55757c040e030734a4a44408c2ac3b81b5657c0616f62484e4a4440cf2edffab048;
SET @BorderBinary += 0x57c0e02bbaf59a4a4440cf92e2043a4657c0c8df4ababa4a4440efc4ac17433c57c0f9b9a1293b4b4440b9a528f6bb2d57c0;
SET @BorderBinary += 0x12ce4673774b4440185932c7f22b57c077f17edc7e4b444050015668d32857c03f92d176a44b44404eee77280a1d57c0c2d9;
SET @BorderBinary += 0xad65324c44408b526793731657c09eaa2aed724c4440641ef983810b57c059a65f22de4c4440bf6855095cfc56c07ce4ae64;
SET @BorderBinary += 0x934d44403e59315c1dfc56c0363cbd52964d44407901f6d1a9ee56c03bc269c18b4e4440faa6e1acdded56c087c75c5b474d;
SET @BorderBinary += 0x44402f134548ddeb56c040f50f22194a444013b69f8cf1ea56c00394861a854644406e50fbad9de756c0ffe55ab400454440;
SET @BorderBinary += 0xa9674128efe656c08e588b4f01404440ee02250516e456c09aec9fa7013b4440770fd07d39e156c0a27e17b6663744407557;
SET @BorderBinary += 0x76c1e0df56c0bfb4a84f72334440444e5fcfd7da56c088a06af46a30444076bf0af0ddd756c036c98ff81533444060217365;
SET @BorderBinary += 0x50d856c0e71890bdde394440ee3ec7478bd756c0bb25396057414440bc0512143fd956c022a7afe76b4444409b1da9bef3d7;
SET @BorderBinary += 0x56c0027d224f924a44401cb5c2f4bdd556c0853e58c6864e4440fad170cadccf56c0f60b76c3b65144406340f67af7cb56c0;
SET @BorderBinary += 0x616bb6f29251444032452c96decb56c06034dba5ad514440f92ccf83bbc756c02040868e1d5644407a83f1f690c756c0ead7;
SET @BorderBinary += 0xf7598a5944402a00c63368c756c0880d164ed25c44407c7c4276dec556c0fc36c478cd6344407170e998f3c556c05837de1d;
SET @BorderBinary += 0x19694440c5aa4198dbc256c087a4164a266f4440d95c35cf11bf56c09d2b4a09c1744440014bae62f1bc56c067ec4b361e7a;
SET @BorderBinary += 0x4440ee073c3080bc56c0f23ff9bb778244407d0469d5ebbc56c0d0b6fd96f1884440c839a5eaf1bc56c0551b23464f894440;
SET @BorderBinary += 0x840eba8443bd56c0bf098508388e4440dc9e20b1ddbf56c0e3c0abe5ce944440d3669c86a8c256c0b94f8e02449544400edb;
SET @BorderBinary += 0x166536c556c03028d368729b44404eeacbd24ec756c09a0645f300a04440d3933839c3c456c0b3f87270b4aa4440fd2d04da;
SET @BorderBinary += 0xbdc456c07e4f2706cbaa4440a8fdd64e94c456c0df8618af79ab4440f69507e929c456c0e0f599b33eaf444040102043c7c1;
SET @BorderBinary += 0x56c066be839f38b644404d124bcaddbd56c0594e42e90bb7444056d28a6f28bb56c0ae64c74620b64440349a5c8c81b756c0;
SET @BorderBinary += 0xcf49ef1b5fb94440bedbbc7152b256c01c60e63bf8b94440f292ffc9dfac56c0df8ac40435ba44406b97361c96a756c0b9c1;
SET @BorderBinary += 0x508715be44405e64027e8da456c06bf0be2a17c24440cd1dfd2fd7a056c0ac18ae0e80c24440fc54151a889d56c03ab01c21;
SET @BorderBinary += 0x03c3444086ac6ef59c9a56c06a6b44300ec84440b4e386df4d9756c05857056a31ca4440e204a6d3ba9556c037a79201a0cc;
SET @BorderBinary += 0x444058a7caf78c9556c09f9273620fd544407c5ef1d4239456c0cc237f30f0d844408d646f76f59356c015eed89040dd4440;
SET @BorderBinary += 0xc1a6cea3e29356c011514cde00df44406471ff91e98f56c0ee2076a6d0e344403a0a1cf6828f56c0bc37ffc331e444401550;
SET @BorderBinary += 0xa8a78f8b56c0f70489edeee744408c9df0129c8b56c00ed594641dec4440b62dca6c908a56c07efacf9a1ff14440e9e2e62d;
SET @BorderBinary += 0x1f8a56c064fe551a05f7444054abafae0a8a56c0425da45016f844401e19abcdff8856c0a2ec2de57cff44404b54be3c388a;
SET @BorderBinary += 0x56c0759f08343c0445405e2a36e6758a56c0c5c37b0e2c054540309dd66d508a56c0e59a02999d0d45403be0ba62468d56c0;
SET @BorderBinary += 0x0645f300161345407e00529b389156c075931804561645407810275f349456c00ad9973cd318454058e1968fa49556c085cb;
SET @BorderBinary += 0x2a6c061a4540d5027b4ca49956c0b3942c27a11e4540a8177c9a939b56c00f62670a9d23454004560e2db29a56c0c4ca68e4;
SET @BorderBinary += 0xf32845403fe3c281909c56c0622afd84b32d4540a311fe84ff9e56c0bdc72c32d830454008ca6dfb1ea156c0545568209633;
SET @BorderBinary += 0x45404888f2052da456c0d9b0a6b2283845403fc23060c9a556c02f185c73473945402c9ca4f963a956c0006dab59673c4540;
SET @BorderBinary += 0x9a5df75624a956c095d1c8e715414540b7088cf50dab56c001f4fbfecd49454025cd1fd3daac56c011df89592f5045406472;
SET @BorderBinary += 0x6a6798af56c089cdc7b5a15245400abc934f8fb656c0a6d425e3185545408d196bd367b956c06abed70d505645408aff3ba2;
SET @BorderBinary += 0x42bc56c06dc83f3388574540ce4d9b711ac156c022a81abd1a5c454073d3669c86c456c0c5fd47a643634540340c1f1153c6;
SET @BorderBinary += 0x56c0e17cea58a56e454046b6f3fdd4c856c02f8507cdae73454006baf605f4c956c0c0249529e67c45407cd6f06f2eca56c0;
SET @BorderBinary += 0xfda019ac657e4540dcb75a272ecb56c00c772e8cf4844540568b352232cb56c0b61eccf8458a4540a8e15b5837cb56c03a75;
SET @BorderBinary += 0xe5b33c91454065c0594a96c856c023a12de752964540b1f50ce198c556c06c239eec669c4540200725ccb4c356c0821dff05;
SET @BorderBinary += 0x82a04540f4fa93f8dcc656c0e7c6f48425a845405fce6c57e8c956c0ddec0f94dbaa454041d13c8045cd56c0936de00ed4af;
SET @BorderBinary += 0x4540e3a3c519c3cc56c0e89e758d96b345405b062a827bcd56c0a312b244b0b5454053e9279cddce56c06c088ecbb8b94540;
SET @BorderBinary += 0x268925e5eecd56c0a301bc0512c0454098bd6c3b6ddf56c095b7239c16c0454087a8afeb17e756c0fcb5138a16c045408f2c;
SET @BorderBinary += 0x13e0bbee56c0b591137816c04540f20a444fcaf456c0b3d0ce6916c0454010a9d1791b0557c0f563011917c04540b9ddcb7d;
SET @BorderBinary += 0x720b57c04dd7135d17c0454004423090bb1c57c00a272d990dc04540bdd15c73662357c01013e3d409c045400d1b65fd6623;
SET @BorderBinary += 0x57c02b1895d409c04540815d4d9eb23757c01f645930f1bf454070237fea8e4157c02ea7d474f1bf4540f8323cf6254357c0;
SET @BorderBinary += 0xc396df7ff1bf45401c959ba8a54e57c09694bbcff1bf4540681ca79ad45f57c0fe8f6e9ff0bf454000ac8e1ce96457c055d9;
SET @BorderBinary += 0x7745f0bf45400cd1af90816957c046ac67c7f0bf4540f5108dee207e57c083f57f0ef3bf4540ed8516f5207e57c0ccd8860e;
SET @BorderBinary += 0xf3bf4540f4fcd4b2de8f57c0345c01c005c045409b3a8f8aff9857c0b6d4415e0fc04540e9b77ba7579c57c0295d03ae0fc0;
SET @BorderBinary += 0x45403701bd07b1b657c070946a2212c0454030815b77f3b757c05664744012c04540d554ff0689ba57c0727e8b8613c04540;
SET @BorderBinary += 0xba2a508bc1cd57c04a07ebff1cc0454096870e83d1d857c01f80deaf0fc04540e7d2f46a15dd57c0c2ced88d0ac045400f26;
SET @BorderBinary += 0xc5c727df57c037fa980f08c045401e86562767f557c0548ec9e2febf454095d718be19f757c07d7350c4ffbf454052e51605;
SET @BorderBinary += 0x670358c0e6329c2606c04540df313cf6b30c58c0a7052ffa0ac0454070253b36021d58c06a9f8ec70cc04540282a1bd65426;
SET @BorderBinary += 0x58c0f20698f90ec045402f89b3226a2558c0f1ef332e1cbc454019e1ed41082658c0ea3a545392b7454098a0866f612158c0;
SET @BorderBinary += 0xc403caa65cb14540c32973f38d2158c04f5b238271ac4540d78349f1f12158c012d89c8367a645400ccb9f6f0b2558c0ba83;
SET @BorderBinary += 0xd89942a5454082a09e1ac72358c0d9d69995f7a045407939ecbe632358c00af65fe7a69f4540f37002d3692158c0b1dcd26a;
SET @BorderBinary += 0x489c454044fb58c16f1e58c032535a7f4b9c4540e2e82add5d1d58c0bad7497d599245403e3f8c101e1c58c0dd3eabcc948e;
SET @BorderBinary += 0x45406c836b2aef1c58c023f32018918a4540a67f492a531d58c0645b069ca588454015dee522be2058c01b9df3531c854540;
SET @BorderBinary += 0xf67d3848881f58c0e048a0c1a6804540fdf7e0b54b2158c0e814e467237d4540567bd80b052058c0d2890453cd7a454096e6;
SET @BorderBinary += 0x5608ab2258c089096af816764540cd914019972258c0f00024dd4c744540bcc799266c2258c042ad69de717045407e8978eb;
SET @BorderBinary += 0xfc2458c055d97745f0694540cccccccccc2758c04b1fbaa0be634540;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'IA';
SET @BorderBinary = 0x010300000001000000ab000000e9f010c64f8359c025ab22dc640044408272dbbe478359c0c3d7d7bad4e843407ce93612;
SET @BorderBinary += 0x338359c00e3f92ab7ac94340cc5a3893328359c0fe21be16bac84340fab31f29228359c0b60f79cbd5af43406b032d560583;
SET @BorderBinary += 0x59c0d6758df30a9143404a7cee04fb8259c0aad5575705864340e4f0cff5ec8259c0eaa5ccd5495943409f592fa5e98259c0;
SET @BorderBinary += 0x1c3c9ab6bd4e4340b189cc5ce08259c0037b4ca434314340a0122e8ddb8259c0f5bce05f6622434090cbb249db8259c0c1c9;
SET @BorderBinary += 0xc6b396214340ce6bec12d58259c04c8bfa24770e434031d7ba90af8259c0c7455d7f88de4240309fac18ae8259c02db29def;
SET @BorderBinary += 0xa7dc424095cd0a57ae8259c078eff1b077d24240ed0bea1eaf8259c022eccffad0b1424017299485af8259c0958098840ba1;
SET @BorderBinary += 0x42403bff76d9af8259c0942d9276a38d4240184339d1ae8259c0a2d288997d84424051a5660fb48259c0569bff571d7f4240;
SET @BorderBinary += 0x7f89f318ce8159c0718153611f7f42408ba6b393c17959c022fc8ba0317f424051fc685c896359c0e81989b1657f42408179;
SET @BorderBinary += 0xc8940f5f59c0d844662e707f4240f56393fc884d59c042075dc2a17f424099c467b8404459c0cf21a9d1b57f424057ee2687;
SET @BorderBinary += 0x823c59c0eb5c558dc67f42401fd61bb5c23659c0b8770dfad27f424073d28565882859c02c9a56b005804240888384285f23;
SET @BorderBinary += 0x59c0357ba01518804240c1e9a211ba0559c0077bb07a30804240827ab6212a0059c0b48c720e3580424093fc885fb1ff58c0;
SET @BorderBinary += 0x73d4d17135804240fa7c941117ea58c056478e7406804240f3fd70a0a1e258c0912e0b0afd7f42404d52b26b32dd58c0f3ed;
SET @BorderBinary += 0xc22df67f4240d07ea4880cda58c05a626534f27f4240fe5f75e448c858c09273620fed7f42409025b6ee04c058c0f04256f7;
SET @BorderBinary += 0xea7f42409a215514afb258c0a7ae7c96e77f424022bae4bddba258c046646ea4cf7f424062d9cc21a99658c07bd7a02fbd7f;
SET @BorderBinary += 0x424062f683af379658c053c87c74bd7f4240c874e7c32a8758c0cb201d97c67f4240a7c821e2e68258c05ddbdb2dc97f4240;
SET @BorderBinary += 0xea338018597358c037f4245bd57f42407b134372327158c0a4703d0ad77f4240e96ccd13975d58c0da0a0079d97f42406b9a;
SET @BorderBinary += 0x779ca25858c0556b6116da7f42407477a442744958c0318d5353de7f4240ba111615714658c07c629d2adf7f424013d38558;
SET @BorderBinary += 0xfd2f58c0588cbad6de7f4240d5e3de22a32158c05174ffadd47f424033a5f5b7042058c08eb0a888d37f4240b663eaaeec0d;
SET @BorderBinary += 0x58c015359886e17f4240574840460d0058c0203af2d1e57f42409096af9eb6fd57c0b30c438be67f4240ae2cd15966fb57c0;
SET @BorderBinary += 0x83d89942e77f4240db2e764e5af257c06673031ce87f424043c362d4b5e457c06b48dc63e97f42407160723d6fe157c0373d;
SET @BorderBinary += 0xf5b5e97f4240ff9b387216da57c04732166eea7f42406475abe7a4d457c07c7f83f6ea7f42406b33fb49b4c457c0e897293a;
SET @BorderBinary += 0xef7f424031809dd87cc057c09f87ef5af07f4240033c69e1b2bf57c0a833f790f07f424079e40f069ead57c073b8567bd87f;
SET @BorderBinary += 0x4240be86e0b88ca757c0cb67791edc7f42406db66dff8ea757c03baaa81a45874240ba9c121093a757c0cfba46cb81944240;
SET @BorderBinary += 0x555b9e4789a757c05930f14751ab424049b1bbdd87a757c0b57b57119dae4240e57adb4c85a757c0e75086aa98b442403b45;
SET @BorderBinary += 0xf4c78aa757c0dff7ee6fa8d342403a6de4388ba757c0cc41ce7d28d6424018ec866d8ba757c0c96fd1c952d7424058e20165;
SET @BorderBinary += 0x53a757c0c002983270fe4240f529216b4da757c0b2dc2645be0443403b31e4a04aa757c04864bdd0af07434097c4591135a7;
SET @BorderBinary += 0x57c0e50cc51d6f1e4340235ab0aa37a757c08757f986c131434024b5503239a757c04e42e90b213d43400ed59e3039a757c0;
SET @BorderBinary += 0xd44d7811223d434008cef6512aa757c021ae98e218464340667ef8e001a757c090a7e71d7a5e43407616bd5301a757c0d812;
SET @BorderBinary += 0xf241cf5e4340c33dce34f9a657c097519e6b716c4340dfc2baf1eea657c01f82aad1ab7d4340c1fc0d59e7a657c0dece9794;
SET @BorderBinary += 0xa485434011c64fe3dea657c0b6f63e55858e4340151bf33ae2a557c015e46723d793434091a4e22686a657c01b13ab87e793;
SET @BorderBinary += 0x43403237df88eea757c04dba2d910b944340a79201a08aab57c000c79e3d97974340376a85e97baf57c02e573f36c9954340;
SET @BorderBinary += 0x5b956d0ab0b257c01a6258e5c29943408f34b8ad2db357c094313ecc5e9a43401aa19fa9d7b457c055bfd2f9f09e43404f94;
SET @BorderBinary += 0x8444dab657c0e1e995b20ca343401a69a9bc1dba57c06ef607ca6da94340d2c3d0eae4b857c0b2f336363bb243406b97361c;
SET @BorderBinary += 0x96bc57c0de5339ed29b343408cce42cecebd57c04a4fdbaaf9b543409bfd8172dbbe57c0fc17080264b843409f3715a930c3;
SET @BorderBinary += 0x57c06fd39ffd48bf43405556c4d0d9c557c0d1a75ccb41c44340d74e948444c757c0ee74e789e7c64340b8ffc874e8c457c0;
SET @BorderBinary += 0x4cc11a67d3c94340032159c004c357c095253acb2ccc4340dc693fbad1c257c009b8c8ae8cce4340c0b167cf65c257c08b32;
SET @BorderBinary += 0x1b6492d343402043c70e2abe57c0dcd26a48dcd743405df7562426be57c0da1d520c90dc43404031b2648eb957c018778368;
SET @BorderBinary += 0xaddc434051db865110b757c079af5a99f0df4340d386c3d2c0b757c08a00a777f1e2434040a493292eb857c0231df45903e9;
SET @BorderBinary += 0x4340d5af743e3cb857c056b60f79cbe94340ab5ca8fc6bbb57c0dd054a0a2cf043407e350708e6bc57c000fc53aa44f34340;
SET @BorderBinary += 0xc7108c7193bf57c08c7eba2f04f34340da01d71533c157c04d2cf015ddf24340c5e061da37c557c0f02f82c64cee4340a31e;
SET @BorderBinary += 0xa2d11dc957c09817601f9df2434074e95f92cace57c0793e03eacdf84340c4ebfa05bbd357c05f0839efffff434007b607db;
SET @BorderBinary += 0xc0d557c0772912f20000444096900f7a36f257c0d4edec2b0f004440622b196970f257c0e00da14b0f004440797235f6ae00;
SET @BorderBinary += 0x58c002392a1717004440488ac8b08a0158c02fbe688f1700444069a9bc1de10958c0e0675c38100044409c8713984e0f58c0;
SET @BorderBinary += 0x653387a41600444028ae8f2e4f0f58c0e003e3a41600444083206b75ad1d58c0dee216691f004440cc7a3194131e58c03734;
SET @BorderBinary += 0x65a71f004440740af2b3913358c0bef06ed72c0044408db62a89ec3758c0234a7b832f00444041939169a63a58c04ebdcca5;
SET @BorderBinary += 0x2f00444024d1cb28964058c0b89388f02f0044402299fdf4a05758c0be68138c3f0044403ee603029d5a58c097c79a914100;
SET @BorderBinary += 0x4440103b53e8bc7158c0b2101d024700444001972478937458c0a886e5a84700444051080405a37b58c0625cd24749004440;
SET @BorderBinary += 0x94d8b5bddd8458c0c1df2f664b004440d48bd97e899158c07038f5974c0044408d418efd48a058c0f55fdafb4d0044406a30;
SET @BorderBinary += 0x0dc347a758c055c1a8a44e004440443407e57cae58c0556c148e4c004440d44255074ac458c0973a173d46004440afe8d66b;
SET @BorderBinary += 0x7ac558c0069fe6e445004440fb24e4ea76cb58c03c6d2d1b450044403e59315c1de058c0f0de516342004440decc635a05e8;
SET @BorderBinary += 0x58c007cd7f413a0044405800a24f35e858c0c2c82b103a004440286211c30ef458c0721b0de02d0044400037f508610b59c0;
SET @BorderBinary += 0x62a4ff4e330044404ab54fc7630c59c03fc7478b330044406a694ced630c59c0cb0f548b330044409d668176871e59c0ee59;
SET @BorderBinary += 0xd76839004440722873e7482f59c0ab390e274a004440514eb4ab903059c0925b936e4b0044402499d53bdc4359c0a3c68498;
SET @BorderBinary += 0x4b0044406094a0bfd05259c0bda772da5300444056a5c938d55459c05d60b30f540044405314874c4e5a59c08eea29a05400;
SET @BorderBinary += 0x44403e20d099b46259c06fd6e07d550044406d003620427559c0228ac91b60004440e9f010c64f8359c025ab22dc64004440;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'KS';
SET @BorderBinary = 0x0103000000010000004e0100002635b401d86256c0cb9c2e8b8949424043520b25936456c08db3e908e04442403a3defc6;
SET @BorderBinary += 0x826256c082c8224dbc3f424062f6b2edb45a56c0f84f3750e03f4240c84beaa9175656c06695a6032c4042401f459db9874d;
SET @BorderBinary += 0x56c030f0dc7bb84042402fbc92e4b93d56c03aac70cb4740424020b613e8693556c0899e50e4404042405283257cf03456c0;
SET @BorderBinary += 0x56dc7b7f40404240b9162cdd453456c0b6e8cbf13f404240cd28ad020c2156c0f59c95fa2f404240c58a1a4cc32056c0d5ac;
SET @BorderBinary += 0x33be2f4042407b8085084d1f56c044b99d102a404240b60e0ef6260856c0b9dfa128d03f424010237a196a0356c069668ce0;
SET @BorderBinary += 0xff3f4240d6e3bed53a0356c023a298bc014042408522ddcf290256c0de8fdb2f9f4642403ec91d36910356c009f9a067b350;
SET @BorderBinary += 0x42409354a698830456c01a6a1492cc564240af963b33c10056c086c954c1a8564240b130444e5ff655c047a98427f4544240;
SET @BorderBinary += 0x3f34f3e49af655c022a5d93c0e514240c2e7ba8a6dec55c0464a63ea835142402575029a08e955c0d8d5e429ab514240abe5;
SET @BorderBinary += 0xcc8808e955c0c6134b2aab5142407f6b274a42d655c0512cb7b41a5242403e0f46ae80d555c0d6164d331f524240a0b9e037;
SET @BorderBinary += 0x5cc755c0b3e01b3f73524240c6f92d94e4c355c0e1ec33da87524240075c57cc08b455c01f2dce18e6524240690b58c2d9b0;
SET @BorderBinary += 0x55c0b59c704709534240669fc728cfa655c0103fff3d78534240401f2c42f8a355c00ba657a603524240f8a23d5e48a355c0;
SET @BorderBinary += 0x562b137ea9514240dcb6ef517fa055c028b85851835342404c3f27f4559a55c0040acc8af952424065ce3bfb278d55c0f710;
SET @BorderBinary += 0x69d7d25142409e060c923e8555c0485167ee21514240644eab15727e55c08d626533775042405d18e945ed7755c0bd344580;
SET @BorderBinary += 0xd34f42409577ddb5777255c0710b1341944f4240d9cbb6d3d66e55c0b83eac376a4f4240d2f9f02c415f55c03c9e961fb84e;
SET @BorderBinary += 0x42404bf82f0cee5b55c0bc98ffbf1a4f4240adfc7d97ee5255c0b1f133ab255042406a15fda1995255c0234a7b832f504240;
SET @BorderBinary += 0x7db2a4b3ae5155c07bf227ee25504240b60e0ef6264655c071a8df85ad4f4240c274943e643e55c07277e2aaaa4e4240f947;
SET @BorderBinary += 0xdfa4693c55c08fc536a9684e4240c58945fe433255c0b6eadf673b4d42404fcde506433255c03ba92f4b3b4d4240f2b08b38;
SET @BorderBinary += 0xd23155c00c498700364d4240c501f4fbfe1f55c0101fd8f15f4c4240b48d8f7cb91055c0605ebef5de4b42406455849b8c0e;
SET @BorderBinary += 0x55c002284696cc4b424068288b588a0e55c09476cb89cc4b424060e7a6cd38ff54c05edc4603784b4240a9968f0435ff54c0;
SET @BorderBinary += 0xdf5391c2774b42400edcad9591fb54c0e351c190394b4240c2f693313ef954c0d95c35cf114b4240eb387ea834ec54c0af22;
SET @BorderBinary += 0xa303924a4240c49272f739eb54c04e7d2079e74c4240e17d552e54e754c0289cdd5a265142401155f833bce154c0335019ff;
SET @BorderBinary += 0x3e554240f6f2eb4780dd54c07cd223c8435542404f1c40bfefdb54c0fa0ad28c455542402c8194d8b5d854c08c65fa25e257;
SET @BorderBinary += 0x4240a773452921cf54c09b711aa20a5d4240a01518b2bac854c06806f1811d5f424021054f2157c754c0785e2a36e6654240;
SET @BorderBinary += 0xe5797077d6c454c02eabb019e06c4240b456b439cec054c059a148f7736c424078978bf84eb954c03baa9a20ea704240d267;
SET @BorderBinary += 0x9b118db854c0254e0436db724240b130444e5fb754c02d910bcee07542404ecfbbb1a0b754c00a2debfeb17c4240c1711937;
SET @BorderBinary += 0x35b454c0bd546ccceb8042407767edb60bb054c0664d2cf015834240ee59d76839ae54c02e6f0ed76a874240fc51d4997bae;
SET @BorderBinary += 0x54c000ff942a518e4240242f247a2da454c014a897491399424030d63730b9a354c0ed0a7db08c994240c27392bc6ea354c0;
SET @BorderBinary += 0x0fc2b733c999424098a25c1abf9c54c0cb9d9960389f424033f790f0bd9654c0601f9dbaf2a14240a0715860259454c0d1bf;
SET @BorderBinary += 0x5526e3a5424014799274cd9354c01e520c9068a642406b48dc63e98c54c0e63bf88903b0424027f4fa93f87d54c056ed9a90;
SET @BorderBinary += 0xd6c4424084d1ac6c1f8454c00a1346b3b2c5424075e5b33c0f8954c077d844662ecc42400491459a788e54c0bea3c68498d3;
SET @BorderBinary += 0x42407170e998f39254c0c9aeb48cd4d74240646e41f0859454c0abcb0acf7bdf42408f899466f39454c04a77d7d990e14240;
SET @BorderBinary += 0xcbd93ba3ad9754c0e44c13b69fe64240129c9272809954c0637fca32e9eb4240624a24d1cb9a54c08b6ce7fba9ef4240fdbd;
SET @BorderBinary += 0x141e349f54c0f31fd26f5ff542405f92bdd1ae9e54c02e6a1ad122f842402b84d558c29d54c0d1e638b709fd4240624cfa7b;
SET @BorderBinary += 0x29a354c0384bc9721208434002d6aa5d13a854c096adf545421143401cb0abc953a654c02fa2ed98ba194340f3759a9f6ba5;
SET @BorderBinary += 0x54c099643821c91e4340643c4a253ca554c00b06d7dcd11f43406a15fda199a454c05ed905836b284340772cb64945a654c0;
SET @BorderBinary += 0x4c8c65fa252c43402e674c4724a654c082f9e6fec03043402ae109bdfea554c048145ad6fd35434048dbf81395a754c00324;
SET @BorderBinary += 0x9a40113d434009a033e480aa54c05de90fd3fc404340d447e00f3fab54c0857afa08fc414340bb287ae063ae54c0f31fd26f;
SET @BorderBinary += 0x5f474340c748f60835b354c0e2546b61164843400c59784ff0b354c057321e68434943402028b7ed7bb654c031ee06d15a4d;
SET @BorderBinary += 0x43403f373465a7b754c01ff30181ce5643405b22179cc1b754c06b990cc7f35b4340f608737077b854c09103f360ed5e4340;
SET @BorderBinary += 0x41b5c189e8b854c02fa52e19c760434083143c855cbc54c0ace28dcc235f43407364e597c1c054c0a19bfd81725d43401864;
SET @BorderBinary += 0xec01f1c154c01366ed51c25b4340325871aab5c254c055116e32aa5a43401c3f541a31c754c05c1b2ac6f95543404a44f817;
SET @BorderBinary += 0x41c854c05471e316f351434029b000a60ccb54c0a9a3e36a644f4340b1f9b83654cf54c03b545392755043400112f145ead0;
SET @BorderBinary += 0x54c04b7365787a4e434027f6d03e56d254c00fb6d8edb34c4340ab96749483d454c0a3e5400fb54f4340d7dafb5415d854c0;
SET @BorderBinary += 0xf017b325ab544340c44142942fdc54c0e21b0a9fad5543409babe63922e254c0d5ad9e93de59434025c9737d1fe854c0ed29;
SET @BorderBinary += 0x3927f65643408d614ed026e954c02db308c5565243408d0817ff66e954c0d0df453428524340f08975aa7ceb54c0bda60705;
SET @BorderBinary += 0xa5504340d61548d62ced54c0b9088a39ab514340e1d1c6116bf154c063ee5a423e544340751f80d426f254c0dc60a8c30a59;
SET @BorderBinary += 0x4340e657738060f554c051d66f26a65b4340611a868f88f654c04d11e0f42e604340ca880a48e1f954c0fd82a75b36624340;
SET @BorderBinary += 0xc97553ca6bfb54c0cf842689256343407cb779e3a4fe54c08046e9d2bf64434067463f1a4e0355c0c39d0b23bd624340370f;
SET @BorderBinary += 0x0e8e5e0355c01017f944c462434040852348a50855c05ed72fd80d654340014c1938a00d55c042942f6821674340d41cd772;
SET @BorderBinary += 0x790e55c0284d2a23366a43404b9352d0ed0e55c0d024b1a4dc6b43400b2dfb15de0e55c02b81a76df66f4340b9162d40db0e;
SET @BorderBinary += 0x55c08cd7bcaab37043409cf86a47711255c03270404b577a4340a3e4d539061355c01286014bae7e4340afa5c1a88e1455c0;
SET @BorderBinary += 0xbfc5d792a28243409677d503e61455c0ce6c57e88383434020ea3e00a91955c079e3a430ef8543403e062b4eb51b55c0d991;
SET @BorderBinary += 0xea3bbf8a43408f334dd87e1c55c06fd575a8a68e434038d89b18921d55c000fbe8d4958f43405e0f26c5c71e55c090bddefd;
SET @BorderBinary += 0xf18e434040683d7c991f55c0f792c6681d8d43402b988eb1f21f55c031441cb9138d4340930691cd6a2055c0da7f81ae068d;
SET @BorderBinary += 0x4340a94c3107412355c0e94317d4b78c4340a794d74ae82655c08769dfdc5f8943406947f47fd32755c02e26fdaa098a4340;
SET @BorderBinary += 0x1a14cd03582b55c0a2409fc8938c43408cf161f6b22d55c0914259f8fa9043404da088450c3055c0e8667fa0dc9243407825;
SET @BorderBinary += 0xc9737d3455c0e8305f5e808d4340b9c15087153755c03541d47d008a4340dbfae93f6b3955c06d8ac745b5864340f2a7541c;
SET @BorderBinary += 0x2a3855c05a7bbe6b008443400cb08f4e5d3655c03868af3e1e804340fe45d098493555c0c1340c1f117b4340faeaaa402d38;
SET @BorderBinary += 0x55c084d21742ce75434023b3fecb523755c07cfb13d4f8744340990f0874263555c0e411dc48d972434034d8d479543255c0;
SET @BorderBinary += 0x45f0bf95ec704340acb9dce51d3355c0f261c229fb6d43400ce71a66683355c03d7ac37de46c4340ebaa402d063455c0c667;
SET @BorderBinary += 0xb27f9e644340f1f3df83d73655c0d4415e0f266543405890662c9a3d55c05912a0a696634340180015eb584155c06162626c;
SET @BorderBinary += 0x17614340abeae5779a4455c07b65deaaeb5e4340b403ae2b664955c0b0e07ec003594340a850dd5cfc4b55c0b6b75b920358;
SET @BorderBinary += 0x4340e0dd62a5e94c55c027f067bd45594340ca6c9049464f55c032c7f2ae7a5c43405a63d009a15155c0ff5a5eb9de5e4340;
SET @BorderBinary += 0xe7315cfc495555c0f53cb4790e5e4340471e882cd25555c0b4e1b034f05d4340d76a0f7ba15955c04a41b797345e4340b29a;
SET @BorderBinary += 0xae27ba5c55c0a70183a44f5b43406c585359145c55c0d250a39064544340c35f9335ea5b55c0aeba0ed5944c43405eb62652;
SET @BorderBinary += 0x9c5b55c082352f680b4b4340ed0dbe30995a55c062bb7b80ee454340a35052d1b55b55c0d390b8791643434018ae0e80b85b;
SET @BorderBinary += 0x55c051f52b9d0f434340832ee1d05b5e55c0c761307f8540434086c5a86bed5f55c08b4e965aef3b434097fdbad39d6555c0;
SET @BorderBinary += 0x7901f6d1a9394340105839b4c86755c0bb421f2c633543403d749dbb9a6855c04114a2646f3043401e69705b5b6955c037a3;
SET @BorderBinary += 0xe6abe42b43408cf4a276bf6b55c0acfd9dedd12543407ba2ebc20f7055c02dca6c904922434025394644d97255c02b015205;
SET @BorderBinary += 0x942343400b0bee073c7455c013640454382443403ae8120ebd7555c0ed478ac8b01e4340d76839d0437955c0a8a78fc01f18;
SET @BorderBinary += 0x4340381b659e567955c0786768d8071743400f61fc34ee7955c08ac8b08a370e43409cbf0985087b55c07e8ae3c0ab034340;
SET @BorderBinary += 0xcff57523e97c55c048a0de8ee9014340bdfe243e777e55c071c971a77400434063500e9cd47f55c0916a047be0fe42403b89;
SET @BorderBinary += 0x08ff228255c04450357a35fc42406684b707218655c005fa449e240143409d67ec4b368d55c09d4830d5cc02434063b5f97f;
SET @BorderBinary += 0xd59155c04bae62f19b0c434087c3d2c08f9455c0be6bd097de12434080ff6d60cf9655c03064bec8501143403a1f9e25c898;
SET @BorderBinary += 0x55c07d04fef0f30f43401c89b0aebf9b55c089571b8c270b43406abddf68c79b55c05dc0cb0c1b0b434098f8a3a8339e55c0;
SET @BorderBinary += 0x463eaf78ea05434015436a403c9f55c0d3d828d3960543400d4faf9465a155c0e2c62de6e704434068ad68739ca155c02689;
SET @BorderBinary += 0x25e5eefb424040683d7c99a055c0e57d1ccd91f342408ba4dde863a655c033c2db8310f442408d40bcae5fa755c014950d6b;
SET @BorderBinary += 0x2aed424098ee389563a955c0bbbf5a56b5ee424059a2b3cc22aa55c0b1f677b647ef424095287b4b39ae55c07f6b274a42f2;
SET @BorderBinary += 0x4240f886c267ebb155c0c7f319506ffa4240aeb9a3ffe5b355c06b9a779ca2ff4240ae78250113b455c01829ef0e7eff4240;
SET @BorderBinary += 0xab5ad2510eb855c00ef8fc3042fc424093fdf33460bb55c0789961a3acf74240bc32c55093be55c069f2c84f7df6424020ea;
SET @BorderBinary += 0x3e00a9c055c0c09657aeb7f5424008c89750c1c255c0e1b20a9b01f042400322c495b3c355c052ec681ceae94240fcff3861;
SET @BorderBinary += 0xc2c655c0a9328cbb41e242409d4830d5ccc855c07b9e3f6d54e742400e0ef62686cb55c004560e2db2eb42407493180456d0;
SET @BorderBinary += 0x55c0397cd28904ef4240505ffc064ed155c01e30edda0df04240fb9563ad75d355c0c2d46dff5bf24240463d44a33bd555c0;
SET @BorderBinary += 0x37bf61a241f442402766bd18cada55c045bc75feedf84240ba0f2c73b6dc55c078385b4f89f742407ee02a4f20df55c06398;
SET @BorderBinary += 0x13b4c9f542405e82531f48e355c09b90d61874f642406153e751f1e655c0a6eb89ae0bf34240cf4a5af10de855c0a6eb89ae;
SET @BorderBinary += 0x0bed4240f5b704e09feb55c0938b31b08eed42407b7ed93ea5ed55c0fb0c560a09f142406ccf2c0950ee55c04d11e0f42ef2;
SET @BorderBinary += 0x42408b6f287cb6f355c07460394206f04240eb1c03b2d7f755c00853944be3f5424030d28bdafdfa55c0b5c35f9335f44240;
SET @BorderBinary += 0x6df025a539fb55c0ada553d025f342408fdd054a0afc55c0669df17d71ef42409d7fbbecd7f955c0adf4da6cace842408526;
SET @BorderBinary += 0x8925e5fb55c0cb46e7fc14e542404ca3c9c518fe55c037177fdb13e44240a453573ecb0156c0d216d7f84ce64240face2f4a;
SET @BorderBinary += 0xd00356c0bddf68c70ddf4240e0ba6246780856c08255f5f23bd9424045d5af743e0a56c0f65ca626c1d34240dd46a35d7508;
SET @BorderBinary += 0x56c0cac7e8c589c94240c85bae7e6c0856c0c7d3f20357c9424073d9e89c9f0456c022a30392b0c34240a98afb713d0456c0;
SET @BorderBinary += 0x714fce9a87c042402b2ff99ffc0356c0ae635c7171be4240889e94490d0a56c06c257497c4bb4240325706d5061256c07426;
SET @BorderBinary += 0x6daaeeb94240616d8c9df01656c0b2bad573d2b34240500b2c249e1a56c093b3cf8eeab5424051137d3eca1a56c0282b86ab;
SET @BorderBinary += 0x03b64240d6dea7aad01d56c065c1c41f45b34240a9f8bf232a1f56c01cedb8e177ab4240b4e1b034f02056c0166bb8c83da5;
SET @BorderBinary += 0x42408db27e33311e56c08386fe092e9c42400b08ad872f1b56c0a051baf42f934240d6a88768741c56c02b2d23f59e8c4240;
SET @BorderBinary += 0x866f61dd781e56c0e1ea0088bb884240e91405a2f61e56c01d5ab2dab68842403bfc5bb4621f56c09e09dcd5b2884240aad5;
SET @BorderBinary += 0x5757052256c0c34659bf99884240112dcc24e82356c05c8ae982c08a4240d7dd3cd5212756c0cde49b6d6e8e4240b83eac37;
SET @BorderBinary += 0x6a2c56c05c55f65d1192424081ea1f44323056c049d40b3ecd9342407edfbf79713556c0990f087426994240514d5e6e643b;
SET @BorderBinary += 0x56c0631a0157fa9c424089cdc7b5a13b56c036e675c4219d424011e6fcbebe3b56c0275af1161f9d4240ec1516dc0f4056c0;
SET @BorderBinary += 0x4818062cb99c4240677fa0dcb64356c032c85d842998424015713ac9564656c05968e7340b9242407ff8f9efc14a56c02363;
SET @BorderBinary += 0xb5f97f8942408a5ed2e7a94a56c0742968e93a8942402c5f97e13f4856c01b2b31cf4a8242407689eaad814856c068e7340b;
SET @BorderBinary += 0xb47d4240111c9771534656c09f3c2cd49a7a4240bf676cc5994656c03eb6d8eced7842405b0531d0b54756c073b7eba52972;
SET @BorderBinary += 0x42400c1ea67d734956c0976f7d586f6c424068af3e1efa4956c02e36ad14026542401ec820a8fb4956c0e821ed3ca5644240;
SET @BorderBinary += 0x23f3c81f0c4a56c04869368fc36042402385b2f0f54c56c0cadc7c23ba5b424059f8fa5a974a56c092020b60ca544240e7f1;
SET @BorderBinary += 0x8ad83d4b56c008f6f96d5e53424033ddeba4be4c56c036e33444155042409ab0fd648c4e56c07b14ae47e14842406cad2f12;
SET @BorderBinary += 0xda5156c048f7730af2494240a0185932c75456c028d4d347e04f42409d65a6cef25456c06c5dd478dd4f4240404cc2853c58;
SET @BorderBinary += 0x56c0fe47a643a74f4240e675c4211b5a56c0d908c4ebfa474240fa5dd89aad5e56c0852172fa7a4842402635b401d86256c0;
SET @BorderBinary += 0xcb9c2e8b89494240;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'KY';
SET @BorderBinary = 0x0103000000010000002d01000044ca315bc18257c09476ce34b5584040de0033dfc18257c042b456b4394840405b23db0a;
SET @BorderBinary += 0xbd8257c0e4f4ee5536324040e1d05b3cbc8257c04e95ef19892e4040b808af87bb8257c0f65ce6b01619404047ca1649bb82;
SET @BorderBinary += 0x57c0bb24ce8aa811404030b95164ad8257c0287cb60e0efe3f40cff9ae27e28157c0496bcfc3ccfa3f40630795b88e7e57c0;
SET @BorderBinary += 0x9d64abcb29ed3f404336902e367a57c05e9ece15a5e43f4078157047357857c039262a8222d83f40f02e17f19d7657c0da01;
SET @BorderBinary += 0xd71533ce3f400a7f86376b7357c0dac35e2860b33f405208e412477457c03577f4bf5c9f3f4050a912656f7557c0328e91ec;
SET @BorderBinary += 0x11963f409c36c7616f7557c0141e25dc11963f40ff1ebc76697257c0e8bd310400873f405296218e756e57c0dc2c5e2c0c81;
SET @BorderBinary += 0x3f40c3482f6af76f57c055f65d11fc773f40dba50d87a56c57c0e34f5436ac6d3f4001bd70e7c26a57c0a9a10dc006603f40;
SET @BorderBinary += 0x419ab1683a6b57c0afc91af5104d3f4003e962d34a6757c06666666666423f4010ad156d8e6657c0db2dc901bb2e3f406b86;
SET @BorderBinary += 0xee47706657c01d505282c02e3f406eb6aa1d5c6357c09659745d502f3f4003cc7c073f6257c003ae2b66842f3f40e42f2dea;
SET @BorderBinary += 0x936257c03c80457efd203f40e200fa7dff6157c035ecf7c43a0d3f40de550f98876257c0d714c8ec2c023f40ff3f4e983063;
SET @BorderBinary += 0x57c0785f950b95f73e403811fddafa6157c0410a9e42aeec3e402c64b92b7e6357c017bb5dd7a1e03e40567f8461c06357c0;
SET @BorderBinary += 0x855b3e9292de3e40f0a0d9756f6457c0aab35a608fcd3e406dc83f33886757c064c8b1f50cbd3e40a7e7dd58506857c0033e;
SET @BorderBinary += 0x3f8c10ae3e406133c005d96b57c02e6d382c0da03e4014addc0bcc6b57c0441152b7b3973e40075a8121ab6e57c0bb7cebc3;
SET @BorderBinary += 0x7a8b3e405ad5928e726d57c0c5b12e6ea3813e40cec29e76f86c57c06803b001116e3e407d7d463e446f57c084ac85c0fa66;
SET @BorderBinary += 0x3e404be82e89b36f57c0e2cad93ba3653e40eb8ec536a97057c05e2a36e675543e40ba83d899426d57c0739f1c0588463e40;
SET @BorderBinary += 0x46cae80a826d57c057db64dd743e3e40aad381aca76d57c0731074b4aa393e40890629780a6d57c0d898d711872c3e401de2;
SET @BorderBinary += 0x1fb6f46c57c089929048db1c3e4028965b5a0d6d57c09677d503e60d3e4080f3e99a346d57c062df2eaf5b0d3e403f726bd2;
SET @BorderBinary += 0x6d6f57c0c18a53ad85053e40f78daf3db37357c0f46dc1525df43d40b75cfdd8247557c01de21fb6f4e43d40d56ab33e8c76;
SET @BorderBinary += 0x57c0beff265b41df3d40aa61bf27d67757c06ea301bc05da3d409fcbd424787b57c0fe4124438ecd3d40c3651536037957c0;
SET @BorderBinary += 0x073f7100fdc23d40b071fdbb3e7757c0dc5f3dee5bb93d40c5ff1d51a17557c008ff2268ccb03d40fed478e9267357c00f23;
SET @BorderBinary += 0x84471bb73d4049d576137c6f57c076a38ff980bc3d40e1085229766257c0cb11329067c33d40e333d93f4f5a57c04e5b2382;
SET @BorderBinary += 0x71c43d40282504abea5257c0f813950d6bc63d409aeb34d2524b57c03ffed2a23ec53d4022861dc6a44557c0b29defa7c6bf;
SET @BorderBinary += 0x3d407b2fbe688f3f57c02557b1f84db93d40772ff7c9513857c098f5622827ae3d4078245e9ece2b57c01b0c7558e19a3d40;
SET @BorderBinary += 0xfcb3dec4802757c00ee15992cc963d40a8380ebc5a2457c0face2f4ad0933d4013b875374f1e57c02f682101a38f3d4011fc;
SET @BorderBinary += 0x6f253b1a57c0eb4fe273278c3d40a4198ba6b31457c00fecf82f10883d40eaca67791e1057c07ff78e1a138a3d40151747e5;
SET @BorderBinary += 0x260a57c091d442c9e4943d40ad4a22fb200457c06e693524ee953d40e507c0c7be0257c029388bbfd5933d4003b34291ee01;
SET @BorderBinary += 0x57c0da6e826f9a923d40e315889e94fa56c0048d9944bd843d40250516c094f456c0bdc1172653793d4084ee92382bf156c0;
SET @BorderBinary += 0x7e33315d887d3d40a5f3e15982ed56c074b2d47abf913d401a34f44f70f356c05cfc6d4f90983d405cad1397e3f756c07288;
SET @BorderBinary += 0xb83995a03d4009c0422234f756c0f758da6ddaaa3d40b8cce9b298f656c0592e1b9df3b33d4089213999b8f356c07e6dfdf4;
SET @BorderBinary += 0x9fb93d402ff834272fef56c0809a5ab6d6bf3d40bc8fa339b2ea56c027a3ca30eebe3d40f85278d0ece756c0170e846401b3;
SET @BorderBinary += 0x3d409107228b34e956c03d0ad7a370a13d40be2f2e5569e656c096ac8a7093a13d401152b7b3afe256c08c47a98427983d40;
SET @BorderBinary += 0x8499b67f65e256c0e7323509de903d404f1f813ffce156c0f06ab93313883d40f05014e813df56c00be9f010c67f3d40a06a;
SET @BorderBinary += 0xf46a80dd56c03c65355d4f783d405e656d533cd956c0dd59bbed427f3d40bc395cab3dd656c0821953b0c6713d40b0743e3c;
SET @BorderBinary += 0x4bd756c0c39acaa2b06b3d408d0c721761d556c0ff907efb3a643d40083b3e6e0bd156c079ae6855825c3d4019aa622afdd0;
SET @BorderBinary += 0x56c011a452ec685c3d4056629e95b4d156c0386744696f543d40f1ba7ec16ed556c0c6dcb5847c4c3d40bb9866bad7d156c0;
SET @BorderBinary += 0xd3bb783f6e3f3d4061fbc9181fca56c0f241cf66d5373d4057957d5704c656c07619fed30d303d401137a79201c056c01a4b;
SET @BorderBinary += 0x581b632b3d40b1f677b647bc56c0dfc0e44691293d40a321e3512ab856c00da5f622da1a3d40122f4fe78ab756c0a27bd635;
SET @BorderBinary += 0x5a0e3d405917b7d100b456c039eb538ec90a3d400705a568e5af56c0b5e0455f410a3d40b14cbf44bca956c0db4aafcdc60e;
SET @BorderBinary += 0x3d40c9e7154f3d9f56c01e5036e50a0f3d40f2b4fcc0559c56c0bad7497d590e3d4036e370c5349a56c048321636f60e3d40;
SET @BorderBinary += 0x4ad235936f9556c0fe62b66455103d40e333d93f4f8e56c00bb5a679c7153d40191f662fdb8756c0494563edef243d40ff00;
SET @BorderBinary += 0x2eddbf8556c081af950e1b2a3d401b9b1da9be8356c04ab3791c062f3d40a8fb00a4367d56c0648ee55df5403d40e9e4bef0;
SET @BorderBinary += 0xc57956c0606e7172044b3d40770e65a88a7856c0e4805d4d9e4e3d40335184d4ed7556c06d3656629e513d4045662e70796e;
SET @BorderBinary += 0x56c03a22dfa5d44d3d40855d143df06856c06379573d604a3d407c45b75ed36656c0fdd64e9484403d40247b849a216456c0;
SET @BorderBinary += 0xa165dd3f163e3d40784485eae65e56c01ce8a1b60d373d4014596b28b55b56c0105a0f5f26263d403c66a032fe5856c00c92;
SET @BorderBinary += 0x3eada21f3d40aa29c93a1c5756c073486aa164123d401c3d7e6fd35956c09735b1c057043d40b5334c6da95956c0c39ca04d;
SET @BorderBinary += 0x0eef3c40f17c06d49b5456c055c03dcf9f023d408e058541995056c0c075c58cf00e3d402ae109bdfe4d56c060ab048bc305;
SET @BorderBinary += 0x3d40766d6fb7244956c01ef64201dbfd3c40037ae1ce854956c01dacff7398073d402fc03e3a754756c051bb5f05f8123d40;
SET @BorderBinary += 0xe316f373434456c0124a5f0839173d40293fa9f6e94056c0f94674cfba2a3d40f622da8ea94156c0e3a25a4414373d40bdfe;
SET @BorderBinary += 0x243e774756c0eb6cc83f33383d40236937fa984856c0f27684d382473d409a5e622cd34c56c05a272ec72b583d4053cdaca5;
SET @BorderBinary += 0x805056c028f04e3e3d563d409e245d33f95356c0f19a577556633d40a0dcb6ef515856c0381092054c643d406a11514cde5e;
SET @BorderBinary += 0x56c06cea3c2afe673d4040a4dfbe0e6256c0bbeb6cc83f6f3d40a624eb70746456c0f7c8e6aa797e3d402ff5f3a6226456c0;
SET @BorderBinary += 0xcc052e8f358b3d4025e82ff4886656c08de9094b3c9c3d403eb0e3bf406256c0cc43a67c08a63d4019c39ca04d6056c09129;
SET @BorderBinary += 0x1f82aaa13d40ec45dbd60f6056c0f0197e222aa23d40a9108fc4cb5d56c0798f334dd8a63d407841446ada5956c0b32616f8;
SET @BorderBinary += 0x8aae3d4094f3c5de8b5956c0298f6e8445c53d40a986fd9e585156c0842a357ba0c13d403ca1d79fc45256c066f4a3e194cd;
SET @BorderBinary += 0x3d400d87a5811f4f56c066f1626188e03d408063cf9ecb4e56c0a4f8f884ecec3d4025e4839ecd4d56c0e5d2f88557fe3d40;
SET @BorderBinary += 0x4a287d21e44b56c03b1a87fa5d103e40eeb25f77ba4b56c094da8b683b263e40519e7939ec4e56c0c45dbd8a8c223e409df5;
SET @BorderBinary += 0x29c7645356c0724bab2171173e40aeb9a3ffe55556c0c3d66ce5250f3e40a04d0e9f745c56c098654f029b0f3e4061889cbe;
SET @BorderBinary += 0x9e5f56c03d0d18247d0a3e404e401361c36456c01bd5e940d6fb3d408272dbbe476656c06a662d05a4e13d40d09a1f7f6969;
SET @BorderBinary += 0x56c09cc24a0515dd3d404772f90fe96c56c095ecd808c4df3d4006d50627a26f56c0c345eee9eaea3d404fe8f527f17256c0;
SET @BorderBinary += 0xaa5d13d21aef3d40098849b8907656c061360186e5f33d40e2fd1659197656c0327fad9931043e40a17f828b157656c05beb;
SET @BorderBinary += 0x8b84b6043e4084807c09157256c07427d87f9d0b3e407ff8f9efc16b56c046e867ea75133e4082fb010f0c6a56c0c0779b37;
SET @BorderBinary += 0x4e1e3e40b405efc4b96656c07b1ff8778f243e40c1a73979916156c065a71fd4452e3e400e10ccd1e36656c0a8177c9a9337;
SET @BorderBinary += 0x3e4024b726dd966856c0b8cb7edde94e3e4033f8fbc56c6b56c0cc26c0b0fc693e403b4eefafcb6c56c05a27d2c23b743e40;
SET @BorderBinary += 0x40683d7c996d56c0518369183e7a3e40ea5a7b9faa7256c087f546ad308d3e4040683d7c997456c0cfd6c1c1dea43e40d4bf;
SET @BorderBinary += 0x9523e07456c0cc3f780038ab3e4062687572867556c0d3bf249529ba3e40607138f3ab7256c04510e7e104d23e4035272f32;
SET @BorderBinary += 0x017056c08b89cdc7b5e93e40d9be356e9a6e56c0e33799a497003f408debdff5996e56c01f7f69519f003f4072fd87837f75;
SET @BorderBinary += 0x56c0ae9007b889003f40c0e8f2e6707956c0ef6fd05e7d003f40393b538c9c9056c070bcd85e2b003f40f94b8bfa249656c0;
SET @BorderBinary += 0xe22021ca17003f405f51a732399656c0a72e01a317003f4023209a750ba356c0bfc7b7d3feff3e404511f0ed4ca456c07298;
SET @BorderBinary += 0xa965fcff3e406f8104c58fb056c037a3e6abe4ff3e40ae7b7862dab456c0edb5c8e4e0ff3e40bf28e120d9c356c0394384b1;
SET @BorderBinary += 0xd3ff3e40e0fc39e145cb56c07f544628cdff3e4021054f2157ce56c01bb80375caff3e40b9dc60a8c3e856c061191bbad9ff;
SET @BorderBinary += 0x3e40ed51195e35e856c0917280094e013f40ac342905dde356c0efe3688eac0c3f403f8a3a730fe656c0596abddf68173f40;
SET @BorderBinary += 0xc8772975c9e756c0b3cd8de909233f4041b60cd8d2e556c0258e68d126313f4037fe4465c3e556c0d1764cdd95313f40cfbe;
SET @BorderBinary += 0xf2203de956c07bb94f8e023c3f40e9465854c4e756c05182fe428f443f408c2ac3b81be456c0eb8d5a61fa423f40b5132521;
SET @BorderBinary += 0x91e056c01a13622ea94a3f404eeacbd24ee256c02670eb6e9e563f40f19e03cb11e256c04772f90fe9633f40505436aca9e0;
SET @BorderBinary += 0x56c0764cdd955d703f4005dd5ed218e156c0ca85cabf967f3f401b62bce655df56c05f5d15a8c5883f40340d8ae601dc56c0;
SET @BorderBinary += 0xe82ff488d18b3f404c1762f547dd56c0d53db2b96a963f400b957f2dafdd56c042959a3dd09e3f4058e2016553d956c0533a;
SET @BorderBinary += 0x58ffe7a43f4093e34ee960d856c0527fbdc282bb3f40ef2bd6f553d856c09484a3708dbb3f409752978c63d456c0de37bef6;
SET @BorderBinary += 0xccbe3f405fca586582d456c037216fdc6fbf3f40101d024702d756c047aaeffca2cc3f403df19c2d20d656c0e8120ebdc5d7;
SET @BorderBinary += 0x3f40321b649291d256c07c0c569c6ad53f408967c4f19dcf56c08059f7c8a6de3f403db7d09508cf56c08c12f4177ae03f40;
SET @BorderBinary += 0xa0be654e97cb56c0f56393fc88eb3f40effe78af5acb56c0639ae95e27f93f4063d009a183c756c0b2497ec4affc3f405450;
SET @BorderBinary += 0x51f52bc556c08e72309b000340408636001b10c556c0f1ba7ec16e0640404e7cb5a338c256c0d314014eef0c404062b3e7b6;
SET @BorderBinary += 0x86c256c0f0e06ce6d10d40409694bbcff1c656c0c954c1a8a41a404061fa5e4370bf56c0d3d85e0b7a1b40405c02f04fa9bc;
SET @BorderBinary += 0x56c0da6fed44492440409a030473f4ba56c01cec4d0cc92b404040f850a225bf56c03e05c078062d40403599f1b6d2bd56c0;
SET @BorderBinary += 0x8192020b60364040afae0ad462c356c0af9811de1e3840409f38807edfc356c0785f950b95414040cb10c7bab8c056c0499f;
SET @BorderBinary += 0x56d11f42404061a50ee41ec356c081edd5695149404039d384ed27c356c0b019e0826c494040105d17ec89c356c05e06a121;
SET @BorderBinary += 0x1c4a40407d7555a016c556c03eae0d15e34c40409a05da1d52c656c01f9f909db7574040e63922dfa5c356c0db5031cedf5c;
SET @BorderBinary += 0x404000c8091346c756c0b4024356b75e404012d9075916ca56c0f2cea10c55634040baf1eec858ca56c0831266dafe674040;
SET @BorderBinary += 0x821c9430d3c856c0900f7a36ab6c40400f4240be84c456c0e525ff93bf714040fdf675e09cc456c0369204e10a784040f887;
SET @BorderBinary += 0x2d3d9ac856c00bd3f71a827d4040e9efa5f0a0ca56c0d3db9f8b868040403dd90d9eeed056c0a5a123489b8040407155794b;
SET @BorderBinary += 0xe6db56c0635e8e5cbf80404065d70c0f77dd56c01c0ef382c48040403d7fdaa84edf56c074e95f92ca80404016f4de1802f8;
SET @BorderBinary += 0x56c0baa1293bfd8040404bc32b326c0457c0c99762f2158140409155d4e56c0457c0a145c8f315814040cceec9c3420e57c0;
SET @BorderBinary += 0x1a868f88298140404df1b8a8162057c0e12879758e8140400dfb3db14e2e57c063b5f97fd58140407ab33031622e57c0a790;
SET @BorderBinary += 0x77f3d5814040e0bbcd1b273e57c05de0f25833824040f25449fc463f57c0b4e35f47358240408f8aff3ba24c57c01af7e637;
SET @BorderBinary += 0x4c8240409c062356454f57c0739c27584e8240406b0da5f6225857c06fd6e07d558240402c331f8e645f57c0007b519e6282;
SET @BorderBinary += 0x40400db858f5576157c09a01c125668240401b45d61a4a6e57c0d15625917d8240405b15e69b837357c01dfd54937b824040;
SET @BorderBinary += 0x9c63f6a2217457c075cf18577b824040f1b913ecbf8257c01d3ba8c4758240406d50118ec08257c01cac0e86c77040402cb8;
SET @BorderBinary += 0x1ff0c08257c025ac8db11366404044ca315bc18257c09476ce34b5584040;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'LA';
SET @BorderBinary = 0x0106000000020000000103000000010000000600000053cbd6fa223b51c022533e0455f14540d8101c97713c51c0cebf5d;
SET @BorderBinary += 0xf6ebea45405303cde7dc3851c0b612ba4be2e645409e40d829563651c064e60297c7ec454019c40776fc3751c0ae997cb3cd;
SET @BorderBinary += 0xf3454053cbd6fa223b51c022533e0455f14540010300000001000000fd0000005ed6c4025fc551c0e7c3b30419a74640b0ad;
SET @BorderBinary += 0x9ffeb3c351c0e1b20a9b0180464061a6ed5f59c251c0e2c80391455e4640750470b378c151c0340d8ae60140464016872aea;
SET @BorderBinary += 0x3ec151c03850d1a35f384640742e7777dec051c007c5e5e1a12b4640425bcea5b8c051c0d636c5e3a2264640e8acff2ba8c0;
SET @BorderBinary += 0x51c0c86a127473244640109370218fc051c08f31772d21214640cb129d6516c051c06de4ba29e50b46402b172aff5abf51c0;
SET @BorderBinary += 0x8d43fd2e6ceb45402adf5f3c2fbf51c0be03a02880e54540081c0934d8be51c0eee6a90eb9d94540f0129cfa40be51c0b3b0;
SET @BorderBinary += 0xa71dfec84540b9b84fceaebd51c0459cbb2326c54540512cb7b41abd51c0bbb7223141c1454070b8b5907dbd51c045278bf0;
SET @BorderBinary += 0xaebc454062f20698f9bd51c048ddcebef2b64540b9533a58ffbe51c0118e59f624b04540008bfcfa21bb51c0c76471ff91a9;
SET @BorderBinary += 0x4540bb7ec16ed8b751c078793a5794a24540663046240ab451c0cb7edde9ce9b45406f354324c9b451c07ae4387a02974540;
SET @BorderBinary += 0x512d228ac9b451c0774a07ebff96454054742497ffb451c08c2fdae3859045403ee6d87e73b451c0e15e5408c68f4540b872;
SET @BorderBinary += 0xf6ce68b051c04609fa0b3d8a45408315a75a0bad51c0d93d7958a88745409da04d0e9faa51c0f06b2409c2894540b5db2e34;
SET @BorderBinary += 0xd7a751c059f624b039914540685721e527a651c004013274ec944540909db7b1d9a451c060a92ee0659c454037fe5859eda4;
SET @BorderBinary += 0x51c082c275bb2f9d45401e8997a773a551c0ba9c121093a2454090300c5872a351c02785798f33a94540985c907f2fa251c0;
SET @BorderBinary += 0xffa1611cbfaa4540609335ea21a151c096ce876709ac45403b70ce88d29d51c0234c512e8dab4540c37de4d6a49a51c09676;
SET @BorderBinary += 0x6a2e37ae454043520b25939851c0e99ac937dbb445407e384888f29451c0bdc3edd0b0ba4540367689eaad9851c0af912408;
SET @BorderBinary += 0x57be4540df3653211e9751c064af777fbcc3454088adf4dfad9551c041cdb91599c345403b8e1f2a8d9451c037363b527dc3;
SET @BorderBinary += 0x4540d80c7041b68f51c073637ac212c5454004fd851e318d51c0ec2e505260c74540c058dfc0e48d51c0cefbff3861cc4540;
SET @BorderBinary += 0xd9cd8c7e348c51c07171546ea2d2454078d32d3bc48a51c0162d40db6ad64540fe08c380258651c05ef1d4230dd64540bc04;
SET @BorderBinary += 0xa73e908451c0776682e15cdb4540beaa6588048451c03e46f4604fdb45408a5759db148051c044bc75feedda45403524eeb1;
SET @BorderBinary += 0xf47e51c02827da5548df454094dc6113997a51c05b5eb9de36e34540c1610e43cb7851c0ad095bbb1fe245404e452a8c2d77;
SET @BorderBinary += 0x51c01074b4aa25e14540959ba8a5b97651c050feee1d35da454086cabf96577551c030276893c3d94540664815c5ab7351c0;
SET @BorderBinary += 0x63eb19c231dd45404fcde506437051c09c4d470037df4540f6b3588ae46d51c04b2025766de54540012c8d3d886c51c0d02a;
SET @BorderBinary += 0x1121e5e545407b698a00a76951c0f701486de2e6454097361c96066551c003232f6b62e94540b2648ee55d6351c03acb2c42;
SET @BorderBinary += 0xb1eb4540d89942e7356051c000df6dde38eb454054dff945095c51c0e0b721c66bf44540e7559dd5025b51c0e0d5726726f6;
SET @BorderBinary += 0x4540317a6ea12b5951c0c39e76f86bfa4540be428df1595851c050280334c9f845407bbaba63b15651c0eb34d25279f54540;
SET @BorderBinary += 0x23809bc58b5451c05c1c959ba8ed4540f3e32f2dea5151c0cb9f6f0b96f04540e3c4573b8a4f51c0f17c06d49bf54540bf42;
SET @BorderBinary += 0xe6caa04d51c0a833f790f0f545400f5d50df324b51c0116e32aa0cfd4540c98ff8156b4851c01f7efe7bf0fc45401538d906;
SET @BorderBinary += 0xee4451c04ecfbbb1a0fc4540b9f94674cf4251c0cb64389ecf004640c51d6ff25b4451c0b2b6291e170546408fdd054a0a42;
SET @BorderBinary += 0x51c0739a05da1d0a4640bb9866bad74451c01de38a8ba31046402b8881ae7d4351c0f9f19716f5154640cd21a985924251c0;
SET @BorderBinary += 0xa67a32ffe81d4640a9640c49594151c02c0085e77e1d4640ecd808c4eb3c51c0c501f4fbfe1b4640a73c63a7d63b51c05b56;
SET @BorderBinary += 0x42dff8194640b794f3c5de3851c0d40968226c1446403604c765dc3b51c0b706b64ab0104640336b2920ed3951c05a457f68;
SET @BorderBinary += 0xe60946401f4ab4e4f13751c062d4b5f63e034640e4141dc9e53151c0499baa7b64074640e55fcb2bd72a51c0ace0b721c609;
SET @BorderBinary += 0x4640535dc0cb0c2a51c07efca5457d0046408a7615527e2751c0d364c6db4a014640e62329e9612551c06de00ed429094640;
SET @BorderBinary += 0xc7eeb6b0022251c0b0556548800b46403a72a433302051c08a58c4b0c30c4640452dcdad101c51c082397afcde0e46407c7b;
SET @BorderBinary += 0xd7a02f1551c012da722ec50d4640fe08c380251451c0b796c9703c1946409126de019e1351c081936de00e1e46408c2d0439;
SET @BorderBinary += 0x280b51c0cff3a78dea1c46409430d3f6af0e51c05b5b785e2a22464052d4997b480c51c01ac05b2041274640bc94ba641c0b;
SET @BorderBinary += 0x51c0608db3e9082a4640feb7921d1b0c51c031957ec2d92f4640efe53e390a0851c00533a6608d314640ca6e66f4a30651c0;
SET @BorderBinary += 0xdcf3fc69a32e46402d25cb49280351c02de7525c552a4640251e5036e50051c0dc0c37e0f3314640b7b585e7a5fe50c05438;
SET @BorderBinary += 0x82548a31464014057cf067fc50c02a50eb17193446402c2cb81ff0fb50c02ac58ec6a1344640855b3e9292f950c05b09dd25;
SET @BorderBinary += 0x7132464012a3e716baf650c04c6a6803b0354640d784b4c6a0f550c056b77a4e7a3b4640c85d8429caf250c0b1df13eb543f;
SET @BorderBinary += 0x46402f2fc03e3aed50c06d3480b740404640fc5069c4cce950c0073e062b4e4346407e5358a9a0e850c068b114c9573e4640;
SET @BorderBinary += 0x04a9143b1ae550c09259bdc3ed3646407ac5538f34e050c0d66f26a60b3d464031ee06d15ae150c0a1f31abb444146409eb1;
SET @BorderBinary += 0x2fd978df50c0d6c6d8092f4746402cb5de6fb4dc50c0df88ee59d74c4640dd21c50089d950c023473a03234d46405cc823b8;
SET @BorderBinary += 0x91d750c00b5d8940f54f46401763601dc7d250c097512cb7b44c46404ed1915cfece50c03ffd67cd8f514640c9ffe4efdeca;
SET @BorderBinary += 0x50c050c24cdbbf5446402d3e05c078c750c033c170ae615a46400fd07d39b3c450c0e6046d72f85e464096b20c71acc150c0;
SET @BorderBinary += 0xf2e846585462464092e86514cbbc50c08410902fa16846401d8f19a88cbf50c03ab187f6b16c464007ee409df2be50c04f1d;
SET @BorderBinary += 0xab949e7346400bd1217024c250c00de198654f78464085764eb340c550c098d9e731ca834640d13b1570cfc550c032c687d9;
SET @BorderBinary += 0xcb88464034677dca31c750c057cb9d99608e464000e5efde51ca50c0431a1538d9944640cf64ff3c0dcd50c019a721aaf095;
SET @BorderBinary += 0x4640c0ae264f59d150c088f19a5775984640dd9733db15d350c0949ee925c692464026fbe769c0d550c07349d57613904640;
SET @BorderBinary += 0x48e00f3fffd850c089edee01ba9346409e279eb305dd50c05f97e13fdd9e46404c6da983bcde50c08d23d6e253a24640b002;
SET @BorderBinary += 0x7cb779dd50c0ddb3aed172a64640791c06f357db50c0ce6bec12d5af46405f22de3affde50c0c02154a9d9b94640c87bd5ca;
SET @BorderBinary += 0x84de50c0ab21718fa5bf4640d8f2caf5b6da50c0910a630b41c0464032c51c041ddb50c076a73b4f3cc94640bd19355f25dd;
SET @BorderBinary += 0x50c09604a8a965cd464094c0e61c3ce250c0b48f15fc36cc4640c136e2c96ee850c0543882548acf4640658a39083aeb50c0;
SET @BorderBinary += 0xf50eb743c3d04640103fff3d78ed50c0b8e864a9f5d64640e8dced7a69f350c04835ecf7c4d6464012e0c09e62f350c01434;
SET @BorderBinary += 0xe41be7d646404240be840af250c0f418e59997dd4640c70dbf9b6ef350c065e256410ce44640672783a3e4f050c0349e08e2;
SET @BorderBinary += 0x3cea4640f0a0d9756ff350c0226aa2cf47ef4640bb0cffe906f050c02b8881ae7df54640cfd90242ebf150c09ba8a5b915f8;
SET @BorderBinary += 0x464090a339b2f2f150c09f3bc1feeb04474099efe0270ef250c0d80fb1c1c2234740177e703e75f250c0baf2599e074d4740;
SET @BorderBinary += 0x77da1a118cf250c08751103cbe65474000aab8718bf250c040f4a44c6a884740cb845feae7f850c01bd7bfeb338f4740a8ff;
SET @BorderBinary += 0xacf9f1fc50c09eaf592e1b99474033349e08e2ff50c0fdd8243fe29b4740073e062b4e0551c03d0cad4ecea2474011a96917;
SET @BorderBinary += 0xd30951c0c2d9ad6532a847401a321ea5120d51c02bbccb457cab4740de59bbed421151c00b42791f47ad4740c4245cc82317;
SET @BorderBinary += 0x51c0a4a5f27684ad474059de550f981851c0fc53aa44d9a94740c5387f130a1851c06bd5ae0969a54740498446b0711d51c0;
SET @BorderBinary += 0xdfc325c79da44740683c11c4792051c07b681f2bf8a547409b559fabad2551c057cc086f0fa44740f63fc05ab52651c05184;
SET @BorderBinary += 0xd4edec9f47403d7c9928422b51c06494675e0e9f47400f0874266d3351c0aaed26f8a69b4740f04bfdbca93951c0785be9b5;
SET @BorderBinary += 0xd99647409c31cc09da3d51c0bebb95253a9b4740265305a3924251c0f31fd26f5f9f4740ad2f12da724351c05ef0694e5eb0;
SET @BorderBinary += 0x4740ce6c57e8834251c019ada3aa09b64740f27b9bfeec4651c09fca694fc9b747406170cd1dfd4951c0f92ccf83bbb94740;
SET @BorderBinary += 0x0d501a6a144e51c03909a52f84ba4740fd9dedd11b5c51c0dbf5d21401a04740aa807b9e3f6451c00b7a6f0c01904740d384;
SET @BorderBinary += 0xed27637451c06a82a8fb007047402a53cc41d07f51c05a99f04bfd5847404d24fc27798151c081143601684947406d8e739b;
SET @BorderBinary += 0x708351c007228b34f136474059880e81238551c0417fa1478c344740d619df17978751c0a085048c2e314740a0a86c58538a;
SET @BorderBinary += 0x51c08b3045b9342e4740ca6c9049468d51c01e520c90682a47409d4a06802a8d51c0861bf0f9612647408b170b43e48e51c0;
SET @BorderBinary += 0x8908ff2268244740f0181efb599051c0d0251c7a8b1f474062a2410a9e9251c0512d228ac9174740f2cea10c558f51c0478e;
SET @BorderBinary += 0x740646124740a014addc0b9151c0fd0fb056ed0c47408fa4a487a19351c025e7c41eda074740b7d09508549451c0fb00a436;
SET @BorderBinary += 0x71024740dee4b7e8649351c094be1072deff464043a852b3079451c00ebbef181efb46400282397afc9051c0770fd07d39fb;
SET @BorderBinary += 0x4640f1d8cf62299051c0bfb4a84f72f746409c35785f959051c0cedf844204f24640f8fa5a971a9551c0813e912749ed4640;
SET @BorderBinary += 0x213cda38629951c00da320787ce746401c5e10919a9a51c090be49d3a0e446402f14b01d8c9851c00fecf82f10de4640fe5e;
SET @BorderBinary += 0x0a0f9a9c51c0f678211d1eda46404b1de4f560a351c0b58b69a67bd546404c5d827761a351c0f6573dab7ad5464050fc1873;
SET @BorderBinary += 0xd7a551c0e4ba29e5b5d04640de8c9aaf92a951c0aa99b51490cc46408fa9bbb20bac51c05e48878730c84640a983bc1e4cae;
SET @BorderBinary += 0x51c08d09319754c146403a3e5a9c31ab51c01edfde35e8b9464019abcdffaba851c01fd61bb5c2b64640fcc22b499ea851c0;
SET @BorderBinary += 0xf23d23111ab146407ff6234564ab51c080643a747ab24640babf7adcb7ae51c07f2e1a321eb34640f5bbb0355bb051c0e0f0;
SET @BorderBinary += 0x8288d4b646406ff1f09e03b251c02330d63730b74640d9cbb6d3d6b451c06fb6b9313db3464028266f8099b351c00986730d;
SET @BorderBinary += 0x33b046404e417e3672b451c0d95a5f24b4ab4640b587bd50c0b351c0629e95b4e2a74640102384471bb551c0d670917bbaa4;
SET @BorderBinary += 0x4640f0617b9360b551c0dbc3b228caa24640b97020240bb651c051bea085049e46408ec9e2fe23b951c0380f27309d9e4640;
SET @BorderBinary += 0x99d4d00660ba51c02f1686c8e9a54640e4bd6a65c2bc51c02cb98ac56faa4640e272bc02d1c051c0077c7e1821ac46405418;
SET @BorderBinary += 0x5b0872c251c09273620feda746405ed6c4025fc551c0e7c3b30419a74640;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'ME';
SET @BorderBinary = 0x010600000002000000010300000001000000060000009ae95e27f50253c000fc53aa440343401a12f758fa0253c034f625;
SET @BorderBinary += 0x1b0ffa424098840b7904ff52c06c58535914f84240d68a36c7b9fe52c0ba85ae44a00043403fc39b35780053c092c83ec8b2;
SET @BorderBinary += 0x0443409ae95e27f50253c000fc53aa440343400103000000010000000501000047c66af3ffde53c0a401bc0512ac43408c13;
SET @BorderBinary += 0x5fed28df53c02fa017ee5c9a4340d3bf249529db53c0a37213b5349d4340703d0ad7a3d653c09b012ec896a34340df878384;
SET @BorderBinary += 0x28d253c048c49448a2a74340f87f4e08cbd053c008e5965bc2a94340747808e3a7ca53c0eead484c50b343404a0b9755d8c5;
SET @BorderBinary += 0x53c063b323d577bc4340a5f9124157c453c0080e7ac984bc434011ffb0a547c253c000e1438996bc434094da8b683bbd53c0;
SET @BorderBinary += 0x96cd1c925ab84340bda772da53bc53c0145ad6fd63bd4340db17d00b77b653c0c345eee9eac64340cc28965b5ab153c08598;
SET @BorderBinary += 0x4baab6d14340f6065f984caf53c012bc218d0ace43404a44f81741ad53c057207a5226c743405e9fd51ceca953c024fd3851;
SET @BorderBinary += 0xaec543401a506f46cda553c0e84cda54ddc34340e90f0921f89d53c0ca0420515bc34340be839f38809d53c0828fc18a53c3;
SET @BorderBinary += 0x4340d0b2ee1f0b9c53c06c41ef8d21c843405e2d7766829853c08d08c6c1a5cf4340b53521664c9553c044cc9f9773d04340;
SET @BorderBinary += 0x666490bb089453c0245f09a4c4d043406b09f9a0678e53c0e606431d56d44340367172bf438553c0f4177ac4e8d543405a6a;
SET @BorderBinary += 0xd8acc48153c0ec2a92a771cf43405c7171546e8053c0f86f5e9cf8cc4340421f2c63437b53c088d68a36c7cd4340d4f02dac;
SET @BorderBinary += 0x1b7553c0a8aad0402ccb4340016c4084b87453c065deaaeb50c3434090553a81e67353c05d1d943818c043409ba8a5b91573;
SET @BorderBinary += 0x53c0fc8a355ce4bc434071a94a5b5c6f53c0ed7f80b56ab34340bdc62e51bd6f53c055a1815836ad434070766b990c6e53c0;
SET @BorderBinary += 0x9cdf30d120a9434003b10b5e5f6b53c06ebae148b2a843409b38b9dfa16a53c00249d8b793a8434034d769a4a56553c08dee;
SET @BorderBinary += 0x2076a6a643406c3d4338666353c0df68c70dbfa34340d53f8864c85f53c08369183e22a0434098f418b7715d53c0116bab0b;
SET @BorderBinary += 0x039c4340203f1bb96e5d53c0a81c93c5fd9b43407bf31b261a5f53c08481e7dec39743402afd84b35b6153c05ce509849d94;
SET @BorderBinary += 0x43407ccf4884466153c068226c787a8f43401a506f46cd5e53c0c7478b33868d4340b66455849b5d53c05531957ec2894340;
SET @BorderBinary += 0x9293895b055753c0501c40bfef874340426178561f5553c000cb587029874340096d3997e25353c0b090b932a88643409c4e;
SET @BorderBinary += 0xb2d5e54f53c0e97b0dc171834340c644a7d8e54f53c0122add137183434055dcb8c5fc4f53c081ea1f44327e4340f9d7f2ca;
SET @BorderBinary += 0xf54c53c055bc9179e47b4340e52329e9614953c0f33cb83b6b7b4340b519a721aa4753c08e1f2a8d987743400723f609a042;
SET @BorderBinary += 0x53c092ccea1d6e7f43402ff1b8b7294053c04d55f28a967b4340868db27e333a53c087156ef948724340ed612f14b03e53c0;
SET @BorderBinary += 0x2219726c3d6b4340429605137f4253c05d85949f5465434025c801e8824253c0047595e685644340845520619a4253c03ace;
SET @BorderBinary += 0xe699935f4340e44c13b69f4253c059a148f7735e4340834bc79c674353c04cf8a57ede5a43402444f982164553c0be823463;
SET @BorderBinary += 0xd15a4340df35627f7d4553c0bef933a8465a4340fc6b79e57a4853c0c1c2499a3f5643401c7c6132554853c0b7b3af3c4851;
SET @BorderBinary += 0x4340f59b89e9424853c07cebc37aa34e434061c5a9d6c24b53c0b5de6fb4e34c4340e1ed4108c84f53c0478c9e5be8444340;
SET @BorderBinary += 0xfa0ca837a35053c07bf486fbc8374340b053ac1a844d53c03c6a4c88b9304340de718a8ee44753c0da1d520c903443404b8d;
SET @BorderBinary += 0xd0cfd44453c05f24b4e55c3643409466f3380c4153c0b401d88008394340931b45d61a4053c0ab3dec85023643409e60ff75;
SET @BorderBinary += 0x6e3e53c047020d36752c4340e507aef2043b53c0137cd3f4d9274340718c648f503753c01bb62dca6c22434013f8f128ee34;
SET @BorderBinary += 0x53c075584afa0f2143409c4f1dab943353c0984c158c4a204340718fa50f5d2f53c06e1118eb1b1e434052465c001a2b53c0;
SET @BorderBinary += 0x29931ada001e4340afb321ffcc2553c093347f4c6b1b434066dafe95952253c08aca863595134340b70c384bc91e53c0a5be;
SET @BorderBinary += 0x2cedd40e43405f984c158c1b53c0645930f1470f4340b5be4868cb1753c0ff73982f2f0a43405051f52b9d1453c05a9a5b21;
SET @BorderBinary += 0xac044340a2ed98ba2b1553c04f3dd2e0b60c43406c91b41b7d1453c07361a417b511434037a79201a01653c0f0a2af20cd16;
SET @BorderBinary += 0x4340e38bf678211953c0d787f546ad1e43404cfe277ff71753c0141e34bbee2543404c70ea03c91953c05af44e05dc274340;
SET @BorderBinary += 0x3a47eac99c1953c0701c5990f1284340245f09a4c41853c0e00f3fff3d2e4340d13deb1a2d1953c0a8c5e061da3143409be3;
SET @BorderBinary += 0xdc26dc1c53c0f583ba48a138434067f16261881f53c002f4fbfecd3d4340f65e7cd11e2153c0e6559dd502454340834a5cc7;
SET @BorderBinary += 0xb82053c077d66ebbd04e43408ac6dadfd92153c04a969350fa5443407f4161e2bb2153c02e04e1663b5b434097512cb7b421;
SET @BorderBinary += 0x53c0e21e4b1fba5c43409cf7ff71c22353c0d1217024d060434071ab2006ba2153c0e1b6b6f0bc644340e94141295a1f53c0;
SET @BorderBinary += 0x13d55b035b6b43404277499c152153c078616bb6f26c43404833164d671f53c07f85cc9541714340f87e1ea0551e53c0fdc3;
SET @BorderBinary += 0xe5748b734340605969520a1e53c05436aca92c744340be823463d11c53c0946b0a6476784340798ec877291e53c0a31d37fc;
SET @BorderBinary += 0x6e7a4340a0e1cd1abc1c53c0149337c0cc7d43407e00529b381953c0e38a8ba372814340d15b3cbce71a53c04412bd8c6285;
SET @BorderBinary += 0x434065df15c1ff1a53c0aa4203b16c8a4340a9da6e826f1b53c060cb2bd7db9043408dee2076a62153c02fd978b0c5964340;
SET @BorderBinary += 0x5db93fad412053c0f44439368299434061360186e51f53c0c6fa0626379a434020d099b4a91d53c00dfe7e315b9a43400da7;
SET @BorderBinary += 0xcccd371b53c04643c6a3549a43408311fb04501953c07a354069a89d4340f5f23b4d661653c03d433866d99f43404d0e74a7;
SET @BorderBinary += 0xd31453c092d1c98deea24340c0ac50a4fb1253c0ca4e3fa88ba64340790261a7580e53c0685721e527ad43401d01dc2c5e09;
SET @BorderBinary += 0x53c0f25eb532e1b343400114234be60353c0aa7ea5f3e1b943407548facb680253c0a766822ff0b943404b5645b8c90053c0;
SET @BorderBinary += 0xdc291dacffb94340c6bfcfb8700053c08d2782380fb543403d98141f9f0253c0c3efa65b76b24340b442c198ef0353c0e29a;
SET @BorderBinary += 0xeebaa1b14340cc94d6df120753c0815a0c1ea6af434078431a15380a53c04eb7ec10ffaa4340931799805f0b53c0292499d5;
SET @BorderBinary += 0x3ba64340a48b4d2b850d53c0c0081a3389a24340f25f2008900f53c0c51a2e724f9b43406403e962d31153c092770e65a892;
SET @BorderBinary += 0x434077853e58c60f53c03d7fdaa84e8f43406d01a1f5f00e53c0272cf180b28b4340e0d6dd3cd50e53c094313ecc5e824340;
SET @BorderBinary += 0x03b33d5cf61053c00fbfc58ea783434053591476511353c07920b248138543406ce8667fa01453c0894160e5d080434022c5;
SET @BorderBinary += 0x0089261753c0431cebe23678434025ac8db1131853c000c3f2e7db6c4340874f3a91601553c062635e471c6e43401fb75f3e;
SET @BorderBinary += 0x591453c0e63922dfa57443403ae7a7380e1053c0894160e5d0764340438ead67080d53c0f818ac38d5764340a8a78fc01f0d;
SET @BorderBinary += 0x53c0fa2477d8447243402b656d7f990c53c0765ae1f3886d4340ee258dd13a0c53c05166834c326a434036c64e78090e53c0;
SET @BorderBinary += 0x029cdec5fb67434051da1b7c611153c0325706d5066d43401a87fa5dd81353c065f9ba0cff6543400281cea44d1853c04e7d;
SET @BorderBinary += 0x2079e764434097ff907efb1853c07878cf81e56043406ef8dd74cb1553c0558330b77b5d4340b2446799451653c09eb30584;
SET @BorderBinary += 0xd657434012691b7fa21453c05f05f86ef356434034ba83d8991153c05fb35c363a5b434035ef3845470f53c0fe0e45813e5b;
SET @BorderBinary += 0x4340b891b245d20c53c0e98024ecdb554340672618ce350b53c0b33ee5982c5643403998a1eee30a53c0a834b91c07524340;
SET @BorderBinary += 0x48a7ae7c960a53c075029a081b4e4340957d5704ff0c53c0c5a9d6c22c4e4340a9108fc4cb0e53c05fb532e1974e434091d4;
SET @BorderBinary += 0x42c9e41153c0032159c0044e4340c2db8310901253c0de205a2bda484340973ac8ebc11153c00727a25f5b454340afeb17ec;
SET @BorderBinary += 0x861553c02979758e013f43400c772e8cf41153c0404e98309a33434000000000001053c0e19a3bfa5f2e43408a90ba9d7d10;
SET @BorderBinary += 0x53c0967840d994294340ce8b135fed0d53c0b9f8db9e20274340b4cbb73eac0853c096cff23cb81d43409c89e942ac0553c0;
SET @BorderBinary += 0xb54df1b8a8184340afcc5b751d0653c01b7dcc0704104340ebe40cc51d0353c0e1d231e7190b434099ba2bbb600053c0bc1d;
SET @BorderBinary += 0xe1b4e00943402593533bc30053c0828e56b5a40f4340537765170c0253c0e34ee960fd174340ddea39e97d0253c0185a9d9c;
SET @BorderBinary += 0xa12043409cc420b072fc52c0207bbdfbe31f4340c04bc6fb1efb52c0de1aa546861f43408944a165ddf852c048c0e8f2e61e;
SET @BorderBinary += 0x43402b07295407f852c05646356f1f1c4340f015dd7a4df752c0ea9106b7b51943405a643bdf4ffc52c0c61858c7f1174340;
SET @BorderBinary += 0x3f1c2444f9fb52c0376f9c14e60f43404cfdbca948f752c0a5f8f884ec0c4340f88903e8f7f652c0272cf180b2074340d445;
SET @BorderBinary += 0x0a65e1f652c0f3e670adf6044340c022bf7e88f952c040bfefdfbcfc424036e675c421f952c096b377465bf5424030f2b226;
SET @BorderBinary += 0x16f752c07dcb9c2e8bf542404fc763062af252c09624cff57dfc4240f7031e1840ee52c08d23d6e253fc42405fb1868bdcea;
SET @BorderBinary += 0x52c07495eeaeb3f942405323f433f5e752c06729594e42ff4240b2bb404981cf52c01494a2957b0343401e86562767cc52c0;
SET @BorderBinary += 0xd47e6b274a0c43406c205d6c5acb52c0d5027b4ca4104340aeb5f7a92ac952c0f54a5986381c43402a8e03af96c652c07571;
SET @BorderBinary += 0x1b0de0274340094e7d2079c552c07689eaad81294340ee1f0bd121c352c08a7269fcc23943404cf8a57edecb52c0410ddfc2;
SET @BorderBinary += 0xba394340d7dbc5a6d7d552c0533fa970e9394340d7a19a92acde52c05b21acc6123a434019e3c3ec65ec52c0a8fc6b79e53a;
SET @BorderBinary += 0x4340402d060fd3ec52c00491459a78454340e8423dece9ec52c01589f235c74743402250fd8348ed52c0888043a852514340;
SET @BorderBinary += 0x83a8e09448ed52c0792bac4e54514340dce0845047ee52c0c3d1b0c1376a43403ee4bac4e1ef52c0f2befb2352924340341a;
SET @BorderBinary += 0x406f69f052c059240c75939f4340728b7912abf052c06535ca33fda54340d11dc4ce14f152c0e8a221e351b04340ef3d0ff7;
SET @BorderBinary += 0x14f152c0d7ca2de356b0434069705b5b78f252c0191a4f0471dc4340ce29541ef9f352c08571700f70dc4340c0c44244af08;
SET @BorderBinary += 0x53c0bc950ce162dc4340acac7f0cee0e53c0f2998de75edc4340d2c6116bf10e53c005a568e55edc4340175e79fa560f53c0;
SET @BorderBinary += 0xc112c5c35edc4340656b7d91d01a53c05a9bc6f65adc4340d013c347722453c066630ac158dc4340361b2b31cf2d53c01b48;
SET @BorderBinary += 0x179b56dc4340daeeeecc5f3253c0d9313f4e4bdc4340bc934f8f6d3f53c0d28bdafd2adc4340e15998d3f43f53c0a4d46f2d;
SET @BorderBinary += 0x2bdc4340c8cc9ab7e34d53c04aea2b1430dc434036ab3e575b4f53c0ff3f4e9830dc4340dae26d5b675d53c093eb307830dc;
SET @BorderBinary += 0x4340e7f8c378065e53c0b125c57630dc43403db7d095085e53c0bd50c07630dc434010919a76317153c01e69705b5bdc4340;
SET @BorderBinary += 0xae8218e8da8453c0c287122d79dc434017d32f89558653c062c4b2c579dc4340aab5300bed9553c0ac18ae0e80dc4340fa8f;
SET @BorderBinary += 0xfffbf09553c0b826231180dc43408d4b79bc599853c03680b89181dc4340ba86191a4fae53c05182fe428fdc43403446f32d;
SET @BorderBinary += 0xbbb353c0c8f2ce968ddc4340602d975f98bb53c02b5dca298bdc4340e15e99b7eac253c06cae9ae788dc434023a7db091ed9;
SET @BorderBinary += 0x53c006b4f91f58dc4340bd4f55a181de53c0bbeead484cdc4340f3aca415dfde53c04c5299620ec4434047c66af3ffde53c0;
SET @BorderBinary += 0xa401bc0512ac4340;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'MD';
SET @BorderBinary = 0x0106000000030000000103000000010000000a000000a7cccd37a29151c0ec4acb48bda744409c3237df888d51c0d9b111;
SET @BorderBinary += 0x88d79f4440a37213b5348651c0ec9e3c2cd49e444039454772f98051c00bd0b69a759e4440654f029b737d51c0d024b1a4dc;
SET @BorderBinary += 0xa144400876fc17087f51c0aa9b8bbfedad444053b131af238351c08ee3874a23b2444033c2db83108551c07878cf81e5a844;
SET @BorderBinary += 0x40ef3504c7658c51c07974232c2aa84440a7cccd37a29151c0ec4acb48bda744400103000000010000000e000000b8551003;
SET @BorderBinary += 0x5db551c0a06ea0c03bad444068e55e6056b551c0d00b772e8ca84440982ec4ea8fb451c0486b0c3a21a044401077f52a32b1;
SET @BorderBinary += 0x51c06add06b5dfa644401a170e8464ac51c0aa7ea5f3e1ab4440713c9f01f5a451c093fc885fb1ac444088821953b09c51c0;
SET @BorderBinary += 0x4e999b6f44ad44408e739b70af9d51c016a4198ba6b54440e4d70fb1c19f51c085e7a56263b644404128efe368a351c0a3c7;
SET @BorderBinary += 0xef6dfab94440969526a5a0a651c08c0e48c2bebd44409acfb9dbf5ab51c0724eeca17db844407100fdbe7fb051c0780ab952;
SET @BorderBinary += 0xcfae4440b85510035db551c0a06ea0c03bad4440010300000001000000c300000056ee0566856052c0890629780a0b454098;
SET @BorderBinary += 0x35f6b7565f52c0aa890c26e206454082380f27305f52c0c651b9895a064540dae21a9fc94e52c0328ffcc1c00545407e340d;
SET @BorderBinary += 0xd1244852c0132aab4e64054540aaca9f0b6b4352c0934d438c22054540e54f9d418f4052c0fad826c5fa044540f86f5e9cf8;
SET @BorderBinary += 0x3f52c03672dd94f20445405a441493373652c095b54df1b8044540614d6551d83352c0698995d1c8ff444023842d9d953152;
SET @BorderBinary += 0xc0c91294c64500454056647440123152c09886e12362004540af95d05d122f52c0b54df1b8a8044540304ad05fe82652c0ae;
SET @BorderBinary += 0xf02e17f10345403e40f7e5cc2152c04ab54fc763044540c1a0436b962052c014de11c05c044540d9f84440701952c0b7fb29;
SET @BorderBinary += 0x52330445407aff1f274c1452c0b9c1508715044540d099d5cfb90c52c0ec702171da03454097348cd4af0852c0a6fd45ecba;
SET @BorderBinary += 0x0345406c98b2c3890652c0caedbc27aa034540641f645930ff51c04f75c8cd7003454065ad56f4a5f851c0c12d5c68350345;
SET @BorderBinary += 0x40b6627fd93df351c086191a4f04034540bce5eac726f351c0019f1f46080145400cc9660acce651c07de4f5d8ad0145409a;
SET @BorderBinary += 0x70498fd4e551c086f6aecdba014540d8463cd9cde351c0c87a6af5d501454087f98aeae2df51c09d1184290802454068a2f2;
SET @BorderBinary += 0x3251dd51c01af6d81529024540596abddf68d851c0779d0df967024540df43595f69d851c0c76c166b14fe4440c4ec65db69;
SET @BorderBinary += 0xd851c022179cc1dff944408738d6c56dd851c0f2e8465854f244404966f50eb7d551c0b9a3ffe55af2444076340ef5bbd551;
SET @BorderBinary += 0xc0d122dbf97eea4440badbf5d214d551c0c0ec9e3c2ce44440009ef5614ed451c0f6fe1e687be34440e8db82a5bad051c0c1;
SET @BorderBinary += 0xdf2f664be044409bad0cb659cd51c036b3a40d5cd84440c48d6d8be2cc51c0238a402f44d744408672a25d85cc51c0a6ed5f;
SET @BorderBinary += 0x5969d64440f981ab3c81c851c01803eb387ed444408bdd3eabccc851c02b6c06b820cd44403db83b6bb7c751c0f5ba4560ac;
SET @BorderBinary += 0xbf44408bdea9807bc551c0a50ef27a30c14440352383dc45c251c05d15a8c5e0bf44405df46cf14cc151c05238ffc246c044;
SET @BorderBinary += 0x402e8eca4dd4be51c0da5548f949c1444041b7973446bc51c0007157af22c54440af3db32440ba51c0ca332f87ddc94440b3;
SET @BorderBinary += 0x39468f2eba51c065c98dd8e3c944400f1023a1dfb651c0f9f0372614cb4440f9a1d28899b651c083a0a3552dcb4440589066;
SET @BorderBinary += 0x2c9ab451c04be2ac889aca4440d1bb9a1f74b351c0e6501476fecc444013d38558fdb051c031772d211fd24440cdf04ad7c0;
SET @BorderBinary += 0xb051c019cd6abadbd14440a65c209dd2ad51c07e539efc97ce44409a79724d81ac51c0f52a323a20cd4440944a7842afac51;
SET @BorderBinary += 0xc00533a6608dc74440bafbc33d78ae51c06148acc988c54440beda519ca3b351c0d505bcccb0bf4440f10d85cfd6bb51c00f;
SET @BorderBinary += 0x43ab9333ba4440cee0ef17b3bc51c04560ac6f60b44440e0d91ebde1b651c0a75b76887fb64440a2409fc893b251c0f4f6e7;
SET @BorderBinary += 0xa221b944406cd097defeae51c038f3ab3940be44408bea2edad1aa51c0f92adfada7c14440b30b06d7dca951c0386744696f;
SET @BorderBinary += 0xc2444094bbcff1d1a351c035b56cad2fc64440852172fa7a9e51c0136058fe7cc7444030116f9d7f9c51c020240b98c0cb44;
SET @BorderBinary += 0x4089997d1ea39951c00871e5ec9dcd44404eb2d5e5949451c0e5ee737cb4d04440014a438d429151c0a8a44e4013cf44405d;
SET @BorderBinary += 0xddb1d8268a51c0af09698d41d34440404b57b08d8351c0bdfc4e9319d5444095ed43de728051c017d7f84cf6d54440f5f411;
SET @BorderBinary += 0xf8c38051c05794128255cf444013f1d6f9b78051c0ea23f0879fc544406ee63002b57f51c0482d4feeefc54440a2cedc43c2;
SET @BorderBinary += 0x7d51c0d13fc1c58ac64440dcd6169e977b51c0b0c7444ab3cf4440be49d3a0687b51c0555227a089d84440c47874f7687b51;
SET @BorderBinary += 0xc0f0c323fc93d844400da837a3e67b51c0da54dd239be74440c7f0d8cf627e51c0db2e34d769f644401822521cbc7e51c096;
SET @BorderBinary += 0x94961516f94440aef199ec9f7f51c01822a7afe7ff4440b5c01e13298351c09ab4a9ba470845409d82fc6ce48851c0e44867;
SET @BorderBinary += 0x60e40b454008feb7921d8c51c01820d1048a0a4540747b4963b48f51c08656276728084540c03dcf9f368c51c08c800a4790;
SET @BorderBinary += 0x024540e062450da68951c0300bed9c660345403c4ed1915c8551c0069b3a8f8a0145400781a196e68451c01ad1c4db9dfa44;
SET @BorderBinary += 0x404c6da983bc8451c0f831e6ae25f844403446eba86a8451c006b98b3045f144405549641f648051c0e09ee74f1bed44407a;
SET @BorderBinary += 0x1684f23e8051c0ba1457957de744405a46ea3d958151c01c06f357c8e444403735d07cce8751c095eeaeb321e144401c23d9;
SET @BorderBinary += 0x23d48d51c052465c001adf4440e083d72e6d9151c0da8cd31055dc4440b3b45373b99451c0c6fa062637de44407d03931b45;
SET @BorderBinary += 0x9c51c0a59c2ff65ee04440dea9807b9e9f51c016f71f990ee344406773177f54a251c01a26b0a0e3e74440e9094b3ca0a251;
SET @BorderBinary += 0xc064ca87a06ae84440d636c5e3a2a151c00b0c59ddeaed4440813ffcfcf7a251c0a3c9c51858f5444020b75f3e59a551c04c;
SET @BorderBinary += 0xfc51d499f9444081221631eca651c04128efe368f84440a298bc0166aa51c04d66bcadf4fa4440c6a52a6d71ab51c086e63a;
SET @BorderBinary += 0x8db400454093a641d13ca951c064062ae3df0545409bc937dbdca851c02b85402e710a45408cecb6a178ab51c0200b16382c;
SET @BorderBinary += 0x104540541d7233dcab51c0734694f60611454002f1ba7ec1ae51c089b5f814001b454093263e5105b251c0ffdfdf55d31f45;
SET @BorderBinary += 0x4080643a747ab251c071e6577380204540d6e771987eb551c028903dc3e3214540b036c64e78b651c0bc3fdeab5622454025;
SET @BorderBinary += 0x77d84466b851c0020f0c207c2645400d1afa27b8ba51c02b6c06b8202745404895f12cb4bc51c062d5d732242445402f302b;
SET @BorderBinary += 0x14e9bd51c0b7ea3a54532245408623054a8ebf51c064c5afda0c284540302dea93dcbf51c0e527d53e1d2945403d235c01eb;
SET @BorderBinary += 0xbe51c046bea8bbf62b45400cb5ab0775be51c0593619fd5a2d4540fcfd62b664be51c059c16f438c2d45401e080f12e2be51;
SET @BorderBinary += 0xc087db028fca354540828aaa5fe9be51c041d13c8045364540c970932d22bd51c07a586ac57536454001bedbbc71ba51c074;
SET @BorderBinary += 0xcc79c6be364540ea5910cafbb951c0958ed347363845406decac0c8db951c0e29011d69639454082c8224dbcb851c0b2d650;
SET @BorderBinary += 0x6a2f3c4540053065e080b551c0cf68ab92c83e4540baba63b14db651c01bb62dca6c4645408200193a76b351c06e4c4f58e2;
SET @BorderBinary += 0x4745407ff5b86fb5ac51c03cf88903e8494540b933130ce7a951c0444fcaa4864a45406fd74b5304a651c04cfdbca9485145;
SET @BorderBinary += 0x40336953758fa651c086376bf0be5645407b67b45549a951c01b0e4b033f58454096c9703c9fab51c03462669fc7544540df;
SET @BorderBinary += 0xfdf15eb5ae51c008abb184b5554540ec3191d26cb151c075ae2825045b4540728577b988b351c0020af5f411644540b4c9e1;
SET @BorderBinary += 0x934eb451c05d50df32a76f4540d34d621058b751c08b8a389d646f45409109f83592bb51c05fb35c363a71454060e5d022db;
SET @BorderBinary += 0xbd51c0b8ca13083b6f45408fa67a32ffc151c03aaddba0f66d4540c75bf6071ec351c0dc0283c2606a4540b6d782de1bc451;
SET @BorderBinary += 0xc0f10f5b7a3467454012537aa178c751c0628caab6ed6745403d47e4bb94c951c0b69f8cf161684540e869c020e9cb51c04a;
SET @BorderBinary += 0x27124c3565454024d40ca9a2cb51c0a6ed5f59695e454069768ebab4cf51c0180bf36e475e45401e0c8fcc53d051c0d0c696;
SET @BorderBinary += 0x41425e45406cec12d55bd051c02b11a8fe415e454075543541d4d251c0ccd1e3f7365945400394861a85d651c029c93a1c5d;
SET @BorderBinary += 0x59454078d0ecbab7e851c0e2ab1dc5395a454041f33977bbef51c067f16261885a4540b94e4b048cf351c06464c0c0bd5a45;
SET @BorderBinary += 0x4038dfb28a84f951c08261084b115b4540108560cd71fb51c0533776402c5b454039184263350552c02c6549ddb45b45401c;
SET @BorderBinary += 0x60e63bf80752c05437177fdb5b4540eaf55930090d52c057633814235c45406a6129271c1252c0501dbdc56a5c4540ef8e96;
SET @BorderBinary += 0x645e1a52c0a0309376df5c4540ffc60464e11c52c0f830b7f3025d45400e661360581d52c0efffe384095d4540ff31956712;
SET @BorderBinary += 0x2152c04f775e763e5d45402e71e481c83352c070ed4449485e4540a6b0c88e503752c02d4899686d5e4540345d326c893b52;
SET @BorderBinary += 0xc01fe397ca995e45402a1df489314152c02a531d41d55e4540cb597b64774152c0ef83691fd85e4540ae6964871e4952c0b4;
SET @BorderBinary += 0xfebf91285f45402976340ef55052c09d6340f67a5f4540ccbb6cf4a55352c0c8c1cdc9fa5045403ffd67cd8f5652c08272db;
SET @BorderBinary += 0xbe47414540ada1eb2f8c5852c00ecbfb0b773645401c2b0a0c485a52c07ef66cc1052d454056ee0566856052c0890629780a;
SET @BorderBinary += 0x0b4540;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'MA';
SET @BorderBinary = 0x0106000000060000000103000000010000000900000008c90226702755c066a032fe7df24640bc72bd6da62955c0b532e1;
SET @BorderBinary += 0x97faed4640e60297c79a2555c073d712f241e74640fcc401f4fb1e55c0196ec0e787dd464066d828eb371955c0a1681ec022;
SET @BorderBinary += 0xdd4640342e1c08c91655c014799274cde24640c5909c4cdc1a55c057cb9d9960e64640c3f01131252155c0342a70b20dea46;
SET @BorderBinary += 0x4008c90226702755c066a032fe7df246400103000000010000000a00000076c24b70ea6c55c08f519e7939de4640e15f048d;
SET @BorderBinary += 0x996c55c06891ed7c3fd94640363811fdda6755c028452bf702cb46409694bbcff16355c04bac8c463ec94640d0285dfa9760;
SET @BorderBinary += 0x55c0d8f0f44a59cc46409b9141ee225855c074999a046fe2464040db6ad6195755c0645b069ca5e84640f71c588e906155c0;
SET @BorderBinary += 0x613596b036ea4640f5d72b2cb86955c0eab0c22d1fdf464076c24b70ea6c55c08f519e7939de464001030000000100000008;
SET @BorderBinary += 0x0000006e2f698cd68855c01c3ee94482854640b228eca2e88955c072da53724e80464025034015378555c041f33977bb7e46;
SET @BorderBinary += 0x402d414640857e55c039622d3e058846409fac18ae0e7d55c060048d99448f46404791b586527f55c03f389f3a5693464085;
SET @BorderBinary += 0x3dedf0d78255c0e083d72e6d9446406e2f698cd68855c01c3ee94482854640010300000001000000da00000058198d7c5eac;
SET @BorderBinary += 0x55c07afd497ceeea4440ce3461fbc9b455c0368e588b4fe14440f9734a6f0ba955c0027543073de1444011001c7bf6a855c0;
SET @BorderBinary += 0x1c5c3ae63ce144406d6df6d08ca155c0e06d10a939e144400341800c1da055c0124a5f0839e1444002626a54788e55c0e76b;
SET @BorderBinary += 0xf43348e14440d4264eee778e55c0e7374c3448e1444082e25c08018455c043dc824f3ce14440ec10ffb0a57255c0807f4a95;
SET @BorderBinary += 0x28e14440f173653ba57255c077729f9528e14440bfec0f59396a55c0653ff0aa2ee14440bdd0c10eb35255c063e72ca93fe1;
SET @BorderBinary += 0x44404e97c5c4e64e55c0d89c836742e1444098bfd0f2974c55c02b5d9f7243e144405990dce6ce3455c0d65d77334ee14440;
SET @BorderBinary += 0xc0594a96933355c0aef204c24ee144403bf9f4d8963355c07c0dc17119d944403c9d2b4a091c55c018edf1423ada44402ab1;
SET @BorderBinary += 0x1135921955c06fcd8ba15bda44400dea061b111755c017d0c5877dda4440b1c1c2499a0855c0fca6b05241db444052c65350;
SET @BorderBinary += 0x58f854c015db50552fdc44405c761073d7f054c009c2742e9ddc4440bce6559dd5f054c0a98251499ddc444000937d8479e5;
SET @BorderBinary += 0x54c0dd59de6648dd444035785f950bdd54c09a417c60c7dd44402fc1a90f24db54c0c573b680d0de444024ecdb4944dc54c0;
SET @BorderBinary += 0x46054eb681e744405a8121ab5bd954c0fad005f52ded4440122ee411dcd554c0a1f5f065a2f04440826dc493ddd454c0a889;
SET @BorderBinary += 0x3e1f65f64440742502d53fd154c004c93b8732f844406f66f4a3e1cd54c0ef8cb62a89fe44405201d15579cc54c0c3d4e8fa;
SET @BorderBinary += 0x3f044540b1a371a8dfcb54c0f3380ce6af06454000aab8718bc854c0872f1345480b4540a94bc63192c854c0caa65ce15d16;
SET @BorderBinary += 0x45400d22015967c754c043da47f8911d45409143485043c654c084033a059c24454024986a662dc654c0d6a9f23d23254540;
SET @BorderBinary += 0x124da08845bf54c01d75745c8d2a4540d1667b6dc7bc54c098a999d9102c45400c1f115322bb54c0ebfb7090102d4540fd4a;
SET @BorderBinary += 0xe7c3b3b754c05514afb2b6394540b9859113b3b754c0c0e78711c239454088ba432e01b754c00914a5ad3a4545407d3b8908;
SET @BorderBinary += 0xffb654c064c746205e454540af7b2b1213b254c09dd5027b4c484540763374cb66ae54c02d531b65444a45407cb60e0ef6ac;
SET @BorderBinary += 0x54c02441b8020a4b45407c43e1b375ab54c074d2fbc6d7424540ab3fc23060a554c052d2c3d0ea4645407d0569c6a2a054c0;
SET @BorderBinary += 0xf0f78bd992514540e71bd13deb9d54c0683f524486614540deffc709139e54c03bc5aa4198714540ebfd463b6e9b54c03061;
SET @BorderBinary += 0x342bdb794540910c39b69e9a54c026aab706b6804540e09ee74f1b9f54c02026e1421e8d4540f7eaaeff62a054c0ed39a322;
SET @BorderBinary += 0x9c954540b5bfb33d7aa154c09d6516a1d89c454046088f368ea254c06246787b10b64540bef6cc9200a654c0035aba826dca;
SET @BorderBinary += 0x4540a2d1ab86d0a654c0c381902c60d84540e27492ad2ea754c0bdc3edd0b0de4540e719fb928da854c03dd34b8c65ea4540;
SET @BorderBinary += 0x399b8e006ead54c0c39b35785ff945408481e7dec3b254c0745df8c1f9024640c571e0d572bb54c0e0d91ebde108464073d6;
SET @BorderBinary += 0xa71c93c154c09350fa42c8054640bbef181efbc254c02e1c08c90202464083f6eae3a1c854c06d8fde701fff4540103b53e8;
SET @BorderBinary += 0xbcd054c0506b9a779cfc45405c55f65d11d254c02cd1596611f845409fac18ae0eda54c0e1d05b3cbcf545400b7bdae1afdb;
SET @BorderBinary += 0x54c012842ba050f145406a4fc939b1de54c0dd24068195e545409049a8b463e054c03d68c24f61df4540b01bb62dcae054c0;
SET @BorderBinary += 0xc91ccbbbeadd4540132f26a1e5e154c052afae3710dc4540172cd505bceb54c03bc5aa4198cb454023f9e73fc3ec54c08434;
SET @BorderBinary += 0x367202cd4540990d32c9c8ee54c08c2b2e8ecacf45400e66136058f454c0c8b3cbb73ed64540855968e734fa54c0f9484a7a;
SET @BorderBinary += 0x18d645401b47acc5a7fc54c0f81400e319de454014ae47e17afb54c00a82c7b777e34540ff93bf7b47fa54c00a11700855f2;
SET @BorderBinary += 0x4540b5a24e61aff954c0ba166d5647f445408e3c1059a4f754c0aad216d7f8fa45409faeee586cf254c0c1374d9f1dfe4540;
SET @BorderBinary += 0x47c8409e5dec54c009a2ee0390fe45401ea67d737feb54c009dcba9ba7044640ebfa05bb61e554c0840eba84430746400320;
SET @BorderBinary += 0xeeea55e454c0533d997ff41346403b261b2823e454c007909961ee144640a1d80a9a96e154c0eb0088bb7a214640397b67b4;
SET @BorderBinary += 0x55dc54c022516859f72146400d349f73b7d954c0a1f5f065a22646403ec91d3691d554c0c79bfc169d2a46407cb8e4b853d4;
SET @BorderBinary += 0x54c0c6fa0626373e4640e0585e1d49d454c04cf30987804146404e42e90b21d454c0f9a067b3ea4d4640c09657aeb7d154c0;
SET @BorderBinary += 0xf2ae7ac03c5846401137a79201d354c0fa96395d16614640dc4a34b43dd454c062641c53e66d464046d1031f83d454c02b67;
SET @BorderBinary += 0xef8cb670464072a25d8594d654c03f726bd26d714640d1e9793716dc54c0d4d51d8b6d7846402638f581e4db54c0c4cda964;
SET @BorderBinary += 0x0080464068c878944adc54c0dd21c50089864640edf0d7648dd954c06a6803b0018946400bcf4bc5c6d554c0fa27b8585185;
SET @BorderBinary += 0x4640c808a87004d154c0020ccb9f6f83464060014c1938d454c0cfd90242eb914640aadd5e4ca7d854c089b83662829a4640;
SET @BorderBinary += 0x44bfb67efad954c05b07077b139d4640c3633f8ba5d854c005dd5ed218a34640cfdbd8ec48df54c0f3c7b4368dad46400d18;
SET @BorderBinary += 0x247d5ae654c02b6c06b820ad464090be49d3a0ec54c02b33a5f5b7b2464060cb2bd7dbf554c0ddaf027cb7b746402c280cca;
SET @BorderBinary += 0x34fa54c0c4758c2b2ebe46408bfd65f7e4ff54c09a95ed43debe464077a1b94e230655c0e02efb75a7bf46407079ac191908;
SET @BorderBinary += 0x55c015376e313fc746400667f0f78b0c55c094f3c5de8bcf4640ef86cd467f0d55c028b3865628d046409b745b22171555c0;
SET @BorderBinary += 0xe90e62670ad5464021904b1c791a55c09a07b0c8afd54640e84d452a8c1d55c0c9e369f981d3464017618a72692355c07c0c;
SET @BorderBinary += 0x569c6ad94640ab3dec85022e55c07e33315d88e346407db08c0ddd2e55c0ebc02552e7e34640949f54fb743155c09cd9aed0;
SET @BorderBinary += 0x07e54640ae9ae7887c3755c07e37ddb243e04640d91f28b7ed4055c0a699ee7552e146404703780b243e55c00111e2cad9d7;
SET @BorderBinary += 0x46402c465d6bef4355c07250c24cdbd14640c1c760c5a94755c06f490ed8d5c8464072c119fcfd4655c0245f09a4c4c24640;
SET @BorderBinary += 0xa94e07b29e4255c0b49080d1e5b74640707a17efc73e55c0dbbe47fdf5b64640f7ab00df6d3a55c0c5573b8a73b44640397e;
SET @BorderBinary += 0xa834623d55c0e9961de21fb0464011aad4ec814355c04be2ac889aae4640713db9cb254655c03b9e3dab79ae464083bf5fcc;
SET @BorderBinary += 0x964c55c0624cfa7b29ae4640a05225cade5255c0ac18ae0e80a846400a9b012ec85755c08b5242b0aaa24640df15c65d2e58;
SET @BorderBinary += 0x55c049f46e34929a46408a53ad85595855c0ce50dcf126974640ce35ccd0785755c0b24813ef008d464065fb90b75c5855c0;
SET @BorderBinary += 0x7a17efc7ed8546408909a74f9c5b55c09c75bb91218246406abb09be695e55c025cd1fd3da7e4640b7b3af3c486155c0a837;
SET @BorderBinary += 0xa3e6ab7c4640d42f4275876355c0137731de7583464035d252793b6455c0600322c4958546405d86ff74036255c035289a07;
SET @BorderBinary += 0xb0964640716f7ec3446355c062f20698f99a46400394861a856855c0a5f5b704e0954640ee5bad13976b55c0b8c83d5ddd8b;
SET @BorderBinary += 0x4640e8120ebdc56f55c0abcdffab8e86464078616bb6f27155c01edb32e02c7d4640e335afeaac7655c096eb6d3315784640;
SET @BorderBinary += 0x083d9b559f7b55c0ed60c43e017c4640bdfa78e8bb7e55c037ddb243fc734640893e1f65c48355c0bc218d0a9c7446407829;
SET @BorderBinary += 0x75c9388455c0e57805a227694640385b84b5058555c0ae38a622a3634640b5503239b58555c0b20e4757e95e46401aa6b6d4;
SET @BorderBinary += 0x418a55c04a27124c355d464001fa7dffe68f55c02633de567a5946406d3480b7409055c089981249f4524640d2544fe61f8e;
SET @BorderBinary += 0x55c083a279008b484640cbed8f592b8f55c0fb86aa9b574246400f61fc34ee8f55c029eb3713d33d4640c6c03a8e1f9055c0;
SET @BorderBinary += 0x111c977153334640ec866d8b329155c00f43ab93332c4640f981ab3c819655c082e0f1ed5d1d4640c3161d6dd29855c0fa14;
SET @BorderBinary += 0xf02adf164640eee901af0c9955c00b51fadd3b164640ec9fa701839b55c022533e04550f464081ae04f1509d55c0fa486b76;
SET @BorderBinary += 0xb50c4640e44ba8e0f0a055c05b23827170074640454ab3791ca055c0eab12d03ce02464072d9ad1ea59d55c07f26efd74bfc;
SET @BorderBinary += 0x45406a662d05a49d55c0b7990af148fc4540d218ada3aa9c55c09ee8baf083f5454070067fbf989b55c0eb8b84b69ceb4540;
SET @BorderBinary += 0xdf4da3fcde9b55c06468530ee3e84540a2ec2de57c9c55c0ae62f19bc2e24540c1e10511a9a055c08195438b6cd9454086c6;
SET @BorderBinary += 0x13419ca255c0821dff0582d2454032005471e3a155c099b51490f6cb45407e703e75ac9e55c0f9bd4d7ff6c14540195cbb42;
SET @BorderBinary += 0xaa9d55c0c727b24c75bc4540c5538f34b89c55c03239b5334cb74540c99063eb199a55c000e5efde51ab4540348463963d94;
SET @BorderBinary += 0x55c0f17edc7ef9984540f795790a889155c03a3f7dae268f4540a983bc1e4c9055c095986725ad8a4540f67af7c77b8e55c0;
SET @BorderBinary += 0x7d941117807e45402cb5de6fb48d55c0d09b8a54187145400d7de0b1588d55c0c30faae03e624540999d45ef548d55c0d05f;
SET @BorderBinary += 0xe811a3614540f981ab3c818e55c0473cd9cd8c5245407cc484efa28e55c067312ed893504540d102b4ad668f55c085eb51b8;
SET @BorderBinary += 0x1e454540c69c3a45ba9155c0b2e3def5ab354540685a6265349255c0179b560a81324540c70f9546cc9655c0a8e0f0828820;
SET @BorderBinary += 0x4540422470c1729755c0cbd26c271e1f45408657923cd79d55c06e313f3734114540fbb0dea815a055c0179aeb34d20a4540;
SET @BorderBinary += 0xe9d32afa43a655c0069b3a8f8af5444058198d7c5eac55c07afd497ceeea444001030000000100000015000000ba63b14d2a;
SET @BorderBinary += 0x4e56c076c1e09a3bf44740ecf7c43a555056c0e7fa3e1c24f047402efce07cea4c56c093533bc3d4ec474088d51f61184a56;
SET @BorderBinary += 0xc0eb34d25279e9474073b8567bd84256c0a8c64b3789ed4740f56393fc883956c0b67f65a549f3474065c0594a963656c0fe;
SET @BorderBinary += 0x0ddaab8ffb474025581ccefc2d56c09f91088d60ff474092b06f27112556c07286e28e37054840419ab1683a2356c0ebc726;
SET @BorderBinary += 0xf9110d4840618c48145a1b56c03813d385581548402060adda351b56c082734694f61a48404c35b396022356c0afae0ad462;
SET @BorderBinary += 0x1648402b85402e712856c0496249b9fb124840cec0c8cb9a2e56c0958098840b0d48407cb262b83a3456c080d6fcf84b0748;
SET @BorderBinary += 0x40c2d9ad65323956c0e270e65773044840e9d0e979373c56c011aad4ec81024840cc9a58e02b4156c030bb270f0bff4740a5;
SET @BorderBinary += 0xbc5642774b56c0b2632310aff74740ba63b14d2a4e56c076c1e09a3bf44740010300000001000000ce000000ef517fbdc29a;
SET @BorderBinary += 0x56c01d3ba8c4754847401c06f357c89856c0e90ab6114f444740ecbdf8a23d9556c053cc41d0d1464740404f0306499256c0;
SET @BorderBinary += 0x88d4b48b694247406ec1525dc08d56c0dd5d6743fe3f4740b9f8db9e208a56c0b2bad573d2354740c6a17e17b68756c0cdcb;
SET @BorderBinary += 0x61f71d2b4740c60654cb767b56c0ce887aa3632647408f4fc8cedb6856c026512ff8341f474047551344dd4556c08eaa2688;
SET @BorderBinary += 0xba114740bf0c8c19703f56c0be96a24d5b0c4740eaf4717ab23b56c0d41cbbce3a0947405e83bef4f63356c04e266e15c402;
SET @BorderBinary += 0x47401e4fcb0f5c2f56c0a7751bd47e0347400ac59513ba2b56c05f78d602da014740b16a10e6762b56c06aa0f99cbb014740;
SET @BorderBinary += 0x7c2766bd182a56c0d1add7f4a0fe4640cfd8976c3c2756c06dc493ddccfe4640c3995fcd012656c0c18f6ad8ef014740ebab;
SET @BorderBinary += 0xab02b52156c0c684984baa024740b2f336363b1a56c04e24986a66fd4640b1df13eb541856c04a79ad84eefe46404e5df92c;
SET @BorderBinary += 0xcf1356c0eae5779accfa4640a8716f7ec30f56c04fcde50643fb4640499baa7b640b56c04757e9ee3af94640aa96d7937a07;
SET @BorderBinary += 0x56c020f3c4ad1ef646405d6e30d4610756c0778192020bf64640116f9d7fbb0456c0a2cd716e13f0464034f10ef0a40856c0;
SET @BorderBinary += 0xe3a8dc442de94640eac891cec00656c07ae2395b40e64640f7b1390fa60356c0094a98207ae446407bd976da1a0356c03d42;
SET @BorderBinary += 0xcd902ae44640c3b7b06ebcff55c0008c67d0d0e54640a38d23d6e2fd55c0863aac70cbe1464037a8fdd64ef855c0a94e07b2;
SET @BorderBinary += 0x9ee046405b4ab7ae50f555c07c1b092883dc4640d9b27c5d86f355c0c9737d1f0eda46409dbcc804fcf155c0cbd4247843d6;
SET @BorderBinary += 0x4640f372d87dc7f455c09831056b9cd346400c03965cc5f155c0d34b8c65facd4640c119fcfd62f255c01823128596c94640;
SET @BorderBinary += 0x1616dc0f78f355c0807f4a9528c34640fdbfeac891f355c027bb99d18fbc4640a52bd8463cf655c05451bccadab84640d40e;
SET @BorderBinary += 0x7f4dd6f655c041ee224c51b246402bdd5d6743f755c0be6a65c22fad464005685bcd3af355c04fcde50643ad4640a5695034;
SET @BorderBinary += 0x0ff055c05aef37da71ad464017b9a7ab3bed55c030293e3e21b14640bb438a0112ea55c0d42afa4333af46404966f50eb7ea;
SET @BorderBinary += 0x55c09be1067c7ea8464084f068e388ed55c0df180280639f464098c0adbb79ef55c0715298f738994640f67af7c77bec55c0;
SET @BorderBinary += 0x0caa0d4e44934640f0a31af67be955c0a3ab74779d8d46409a75c6f7c5e555c03a3e5a9c318c46409babe63922e355c09d9a;
SET @BorderBinary += 0xcb0d8698464041446adac5dd55c019aa622afda246401d6ff25b74d655c0221631ec30b4464050e09d7c7ad255c01abd1aa0;
SET @BorderBinary += 0x34c04640d5b2ca8438d055c0b7f10b306ac64640f1811dff05cb55c050711c78b5d44640f390291f82c455c09a0645f300dc;
SET @BorderBinary += 0x46406d567daeb6bd55c01b834e081dd64640a7e9b303aeb555c00056478e74dc4640c0eb33677db155c084bbb376dbe74640;
SET @BorderBinary += 0x15c5abac6da955c0ff3a376dc6dd4640666a12bc21ad55c008e3a7716fd846409b012ec896ad55c0eb6cc83f33ce464019ff;
SET @BorderBinary += 0x3ee3c2a855c06ed921fe61c546400da320787ca755c06ec2bd326fcf4640b0c403caa6a255c03bfc3559a3da464047f3b1ae;
SET @BorderBinary += 0x6e9d55c04ab3716c07e04640e814e467239c55c05f0a0f9a5de14640fcfa2136589655c0d0d03fc1c5ea4640c843dfddca91;
SET @BorderBinary += 0x55c0e3fbe25295f84640bb07e8be9c8455c0aab35a608ffb464050c6f8307b7a55c05ed5592db0f546402a14d9eb697755c0;
SET @BorderBinary += 0xb5fb48024af9464082531f48de7355c00c1ea67d73fd464014eb54f99e6c55c0137f1475e6fa4640a5f3e159826955c08e1e;
SET @BorderBinary += 0xbfb7e9fd4640eb71df6a9d6255c00531d0b52f0a4740003961c2685855c0a06af46a800a474047c9ab730c5155c0bde13e72;
SET @BorderBinary += 0x6b084740f94674cfba4955c0780b24287e0647404757e9ee3a4055c022c32adec80047409ca6cf0eb83a55c025afce3120f7;
SET @BorderBinary += 0x4640a59e05a1bc3255c04d2f3196e9ed4640d3dc0a61352d55c090be49d3a0ec4640b54c86e3f92e55c0934f8f6d19f44640;
SET @BorderBinary += 0x0b0742b2802855c02fa2ed98baf946405fed28ce512455c0492d944c4ef946408cf4a276bf1e55c0639ae95e27fd46400611;
SET @BorderBinary += 0xa969171855c0b08ee3874af7464030833122511055c04560ac6f60fa4640377bc3b6550755c0a8a2ef6be4fb4640e9961de2;
SET @BorderBinary += 0x1f0555c0601e32e543fc46400f7d772b4bfa54c0d5cbef3499fb46406cb2463d44f354c0bda8ddaf02f84640caf8f71917ea;
SET @BorderBinary += 0x54c0fd497cee04f9464083f755b950e554c07b6473d53cf5464041d653abafe154c0d1764cdd95f54640a88b14cac2de54c0;
SET @BorderBinary += 0xedb94c4d82ff464090bfb4a84fe654c0196ec0e7870b4740213d450e11ee54c0eb707495ee0c47407f4e417e36f454c073d5;
SET @BorderBinary += 0x3c47e40d4740698a00a777f854c033a7cb6262054740577a6d3656fe54c03176c24b700a4740aa0a0dc4b20155c0ba4a77d7;
SET @BorderBinary += 0xd91047400dfe7e315b0755c04be3175e49164740ab0320eeea0655c0b64604e3e01e4740492a53cc410655c00a849d62d520;
SET @BorderBinary += 0x4740f6cdfdd5e30855c034f10ef0a42f474094490d6d000855c0bfb854a52d3c47405f984c158c0755c0e464e25641424740;
SET @BorderBinary += 0x5ad2510e660c55c0683a3b191c4547401a4d2ec6c01255c0722f302b143f4740fb56ebc4e51a55c08ee3874a234047403a5a;
SET @BorderBinary += 0xd5928e1d55c078b6476fb83b474013b4c9e1931f55c07780272d5c38474012312592e82655c0e7c589af763a4740ab764d48;
SET @BorderBinary += 0x6b2b55c04b3acac16c3e4740158e2095623655c0e292e34ee93a47408fa9bbb20b3e55c0b7b41a12f73c4740afb0e07ec041;
SET @BorderBinary += 0x55c05dfb027ae14647405af10d85cf4155c023dbf97e6a5647405801bedbbc3d55c045f0bf95ec62474067b5c01e134b55c0;
SET @BorderBinary += 0x8c0e48c2be614740b9566b50394f55c0187f65deba604740a3e9ec64705055c0f1ba7ec16e60474013622ea9da5e55c07093;
SET @BorderBinary += 0x5165185747409944bde0d37555c0302c7fbe2d58474067f930b9557755c0c8cc7678e15747402f8507cdae7f55c0d00ce203;
SET @BorderBinary += 0x3b564740d28c45d3d98855c0b8aaecbb225647403db7d095088c55c043a9bd88b6534740c11c3d7e6f9d55c093dfa293a546;
SET @BorderBinary += 0x4740c83d5dddb1a355c0af7ac03c643e4740878a71fe26a855c02ac6f99b504447400f289b7285ac55c000378b170b474740;
SET @BorderBinary += 0x6477819202b055c0111c9771533d4740a7c821e2e6b355c0529ca38e8e3947406281afe8d6b955c020b6f468aa3b474032e4;
SET @BorderBinary += 0xd87a86be55c0f5d896016743474092d67d6f72c755c04e77b391c9404740266bd44334cb55c0581822a7af3f474021904b1c;
SET @BorderBinary += 0x79d755c0d314014eef4047404563edef6cd855c00f60915f3f4a47408104c58f31e055c00aa1832ee152474005bea25bafe4;
SET @BorderBinary += 0x55c0b35bcb64385c47401c05888219e655c09c33a2b43764474044bfb67efaeb55c0b6d5ac33be6b474000529b38b9f155c0;
SET @BorderBinary += 0xc5c6bc8e387047400e1478279ff955c085d041977074474029577871d90256c0d156f3ff6e7547407efd101b2c0456c06728;
SET @BorderBinary += 0xee7893754740f834272f320956c00b98c0adbb7b4740ab3b16dba40f56c00dfca886fd764740ccb56801da1756c0c806d2c5;
SET @BorderBinary += 0xa66f474048a7ae7c961e56c093a46b26df6c4740ed9dd156251d56c0e25aed612f7647407bacc4861e1c56c049644ee19278;
SET @BorderBinary += 0x47400cc9c9c4ad1856c0660e492d948047401fbc7669c31556c019c39ca04d8a474054de8e705a0f56c049f1f109d9914740;
SET @BorderBinary += 0x2a66122fd40c56c0c559c05290994740d99255116e0c56c08d791d71c89a47406f6589ce320656c071e316f373a147409fc6;
SET @BorderBinary += 0xbdf90d0156c08c4aea0434a74740b1169f0260fc55c02ae109bdfeaa4740421f2c6343fc55c0bc067de9edb14740d74b5304;
SET @BorderBinary += 0x38f355c08d98d9e731b24740aaf06778b3e655c039b4c876beb1474090696d1adbe555c07b67b45549b64740af05bd3786eb;
SET @BorderBinary += 0x55c08d23d6e253ba47400585419946f355c001158e2095bc4740f10baf2479fb55c04c31074147bd4740cafacdc4740556c0;
SET @BorderBinary += 0xbb0cffe906bc47405b96afcbf00d56c0793c2d3f70b94740e57e87a2401256c0c70be9f010b64740f7add689cb1a56c07555;
SET @BorderBinary += 0xa01683af47406a9f8ec70c2056c092239d8191a547407d93941dd42056c0d10a8c299fa447406ec2bd326f2556c0b5696caf;
SET @BorderBinary += 0x059f47407094bc3ac72c56c07e1af7e6379a4740ce6a813d263456c0f357c85c19924740306475abe73856c0c9e53fa4df8c;
SET @BorderBinary += 0x4740795a7ee02a3b56c043aa285e658547405f68074fbc3b56c0bb3ba9f94c8447403c9f01f5663d56c0cb129d6516814740;
SET @BorderBinary += 0xe4f736fdd94156c0d55b035b25804740ae64c746204956c0ec1516dc0f7e47403c139a24964e56c04e603aaddb7447406e33;
SET @BorderBinary += 0x15e2915a56c0a2b08ba2076c47409c853dedf05f56c03b50a73cba6b4740f23ff9bb776456c00ef10f5b7a6a4740512cb7b4;
SET @BorderBinary += 0x1a6956c0520ababda4694740e7c3b304196e56c02d9622f94a6a474080ed60c43e7556c016a06d35eb664740ddcf91499178;
SET @BorderBinary += 0x56c09a2b071c066247403a1f9e25c87a56c0d238d4efc25e474065a54929e88256c08f6ad8ef895547400e0f61fc348f56c0;
SET @BorderBinary += 0xd9ebdd1fef4f47406fd40ad3f79456c08c2b2e8eca4d4740ef517fbdc29a56c01d3ba8c475484740;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'MI';
SET @BorderBinary = 0x010300000001000000390100008ca03193a84e58c02444f98216804840d190f128954e58c05c3b511212794840d7a02fbd;
SET @BorderBinary += 0xfd4b58c09a0986730d6f4840c5707500c44958c07f69519fe4624840ae62f19bc24758c0c7d3f203575b48409013268c6646;
SET @BorderBinary += 0x58c0f41263997e554840e7c6f484254958c0484c50c3b74a4840daac8d4d744958c03fec203e9e454840f4ddf5867a4958c0;
SET @BorderBinary += 0x75f0d419374548404d4700378b4958c0a73ffb91224448401edfde35e84858c09201a08a1b374840347f4c6bd34858c098d8;
SET @BorderBinary += 0x7c5c1b2c48402db0c7444a4858c089b5f81400214840aefe4d0f154958c08c5531cac8184840cbce1886554958c0f52be52f;
SET @BorderBinary += 0x2c1648407ff62345644958c0b4c5353e93154840cc7b9c69c24658c06f0c01c0b10b4840583673486a4458c065fb90b75c03;
SET @BorderBinary += 0x4840fc170802644258c09485afaf75f747405aba826dc43f58c06667d13b15ec4740f2086ea46c3b58c026a8e15b58df4740;
SET @BorderBinary += 0xcb1c87fe2e3958c00ac9964108d647409eb12fd9783858c0a8a44e4013d3474062d9cc21a93658c0137ea99f37c94740e4b8;
SET @BorderBinary += 0xb809c83658c0d2ee8be8e4bf4740573ecbf3e03658c0aa251de560b847407d5c1b2ac63558c0834e081d74a34740c7ec622e;
SET @BorderBinary += 0x813558c00121aa30769e47400b553282e63458c0e2e2a8dc44934740e0b721c66b3458c0a3005130638a4740734529215835;
SET @BorderBinary += 0x58c068aed3484b814740ba8102efe43058c07f2f8507cd74474026ff93bf7b3258c0f697dd93876347405a8121ab5b3258c0;
SET @BorderBinary += 0xadc090d5ad58474017efc7ed973258c0fdbca94885514740ba17bbdc8b3258c0f5ed9f256051474031fa20524a3258c0ddb7;
SET @BorderBinary += 0xd56e96504740c37de4d6a42f58c00d6c95607148474074b0fecf612d58c09012bbb6b737474039b5334c6d2958c00853944b;
SET @BorderBinary += 0xe32d47409fe57970772658c02aa73d25e7284740554d10751f2658c04703780b241c4740cc99ed0a7d2358c0afca85cabf0a;
SET @BorderBinary += 0x47401f046413a72458c09e44a658cd0247404ad1cabdc02458c0c7f484251e024740f06ab933132458c0ae5fb01bb6f74640;
SET @BorderBinary += 0xf9a1d288992458c0ff9254a698ef464079ad84ee922558c0c9fd0e4581e8464013ef004f5a2858c04f05dcf3fce346407c0a;
SET @BorderBinary += 0x80f10c2b58c07bd7a02fbddd464047ad307daf2f58c049d40b3ecdd94640db5031cedf3458c03a1c5da5bbd346408ee55df5;
SET @BorderBinary += 0x803658c0fe5f75e448cf4640bc8e3864033658c0ea5c514a08cc46407bc9ee81773558c0cb95d74306cb4640ea3f6b7efc31;
SET @BorderBinary += 0x58c02ec901bb9ac4464015ff7744852f58c0e76b96cb46bd4640191d90847d2d58c015527e52edb746409acb0d863a2b58c0;
SET @BorderBinary += 0xe12538f581b44640e3f8a1d2882758c02ee1d05b3cb44640506d7022fa2358c004a8a9656bb14640961e4df5642158c0f5f3;
SET @BorderBinary += 0xa62215b04640459f8f32e21e58c0703e75ac52ac464071eb5ec0151e58c0fa3d2792d4a94640bbeead484c1d58c016f6b4c3;
SET @BorderBinary += 0x5fa74640770a788e481d58c061e7503f6ba24640b810037c2c1d58c0be212ba6197d4640b06173f11b1d58c0d7d4e2441c67;
SET @BorderBinary += 0x4640a871412b0b1d58c03b81cf9ccf504640e8dd91b9021d58c0ed5a06e495454640de74cb0ef11c58c0f357c85c192e4640;
SET @BorderBinary += 0x4b8b63b5f41c58c078435dcb30194640ffd583b5f41c58c07d9d6c1230194640ee9d6d78fc1c58c0a0dec1b4bcec4540bb7c;
SET @BorderBinary += 0x7078fc1c58c0cc9e51a4bcec454051f2ea1c031d58c0874ecfbbb1c6454070253b36021d58c06a9f8ec70cc04540df313cf6;
SET @BorderBinary += 0xb30c58c0a7052ffa0ac0454052e51605670358c0e6329c2606c0454095d718be19f757c07d7350c4ffbf45401e86562767f5;
SET @BorderBinary += 0x57c0548ec9e2febf45400f26c5c727df57c037fa980f08c04540e7d2f46a15dd57c0c2ced88d0ac0454096870e83d1d857c0;
SET @BorderBinary += 0x1f80deaf0fc04540ba2a508bc1cd57c04a07ebff1cc04540d554ff0689ba57c0727e8b8613c0454030815b77f3b757c05664;
SET @BorderBinary += 0x744012c045403701bd07b1b657c070946a2212c04540e9b77ba7579c57c0295d03ae0fc045409b3a8f8aff9857c0b6d4415e;
SET @BorderBinary += 0x0fc04540f4fcd4b2de8f57c0345c01c005c04540ed8516f5207e57c0ccd8860ef3bf4540f5108dee207e57c083f57f0ef3bf;
SET @BorderBinary += 0x45400cd1af90816957c046ac67c7f0bf454000ac8e1ce96457c055d97745f0bf4540681ca79ad45f57c0fe8f6e9ff0bf4540;
SET @BorderBinary += 0x1c959ba8a54e57c09694bbcff1bf4540f8323cf6254357c0c396df7ff1bf454070237fea8e4157c02ea7d474f1bf4540815d;
SET @BorderBinary += 0x4d9eb23757c01f645930f1bf45400d1b65fd662357c02b1895d409c04540bdd15c73662357c01013e3d409c0454004423090;
SET @BorderBinary += 0xbb1c57c00a272d990dc04540b9ddcb7d720b57c04dd7135d17c0454010a9d1791b0557c0f563011917c04540f20a444fcaf4;
SET @BorderBinary += 0x56c0b3d0ce6916c045408f2c13e0bbee56c0b591137816c0454087a8afeb17e756c0fcb5138a16c0454098bd6c3b6ddf56c0;
SET @BorderBinary += 0x95b7239c16c04540268925e5eecd56c0a301bc0512c0454072874d64e6ce56c020b41ebe4cc84540b89388f02fd056c03e5d;
SET @BorderBinary += 0xddb1d8cc454043e4f4f57cd156c076e107e753d545402047c8b072d056c0a336b062e2dc454086ac6ef59ccf56c0dd26dc2b;
SET @BorderBinary += 0xf3e24540550326f368d256c00a4b3ca06cec45408444dac69fd256c0289cdd5a26ed45405d2f4d11e0d656c04ef04dd367f5;
SET @BorderBinary += 0x4540c554e4bf1bdb56c02c45af70fdfd45407b2de8bd31dc56c0a5f44c2f31004640ddaa1230cae356c0c57c774a19034640;
SET @BorderBinary += 0x93162eabb0e456c0669df17d7103464087bd50c076e956c08b3045b934084640b5696caf05ee56c0e97e4e417e104640253d;
SET @BorderBinary += 0x0cad4ef456c0e5ed08a7051546408715aa20b0f656c0b8b0f5b73e19464018cdcaf621f956c0967840d9941d4640ee7893df;
SET @BorderBinary += 0xa2fa56c0e386df4db72846403d9b559fabfd56c09cbe9eaf592e4640ce3290ea680557c029c8e066ca334640e08442041c07;
SET @BorderBinary += 0x57c04f1f813ffc344640164f3dd2e00e57c0634337fb03394640a7c4ed0db40f57c090a19de6243a46403d7e6fd39f1257c0;
SET @BorderBinary += 0x53b131af233e4640cf6740bd191457c023658ba4dd444640cabfe8a1481457c0c5f611ff0645464094ba641c231757c07dcb;
SET @BorderBinary += 0x9c2e8b474640823ae5d18d1957c028cfbc1c7647464033164d67272357c05a626534f249464010c7bab88d2757c08a592f86;
SET @BorderBinary += 0x724e464055bdfc4e932c57c0b05758703f5846408894d8ecd22e57c078edfe96825b4640e74d120ab63257c0de02b1612661;
SET @BorderBinary += 0x464036397cd2893357c0cc423ba75962464094a30051303157c0dd5f3dee5b6d464091d04d73183157c0132c2e21466e4640;
SET @BorderBinary += 0x3b6bc0e8163157c0abdff340556e46405ef1d4230d3057c015ff77448578464043acfe08c33057c09f1edb32e082464050a6;
SET @BorderBinary += 0xd1e4623357c0b70721205f8846403159dc7f642f57c0a4bf97c2838e4640d177cbcd9a2f57c0987906a4d38f46406090f469;
SET @BorderBinary += 0x153157c0800bb265f9984640018042a4073157c089adbbfde19a46409cf7ff71c23057c09eb12fd978a4464083db199ee32f;
SET @BorderBinary += 0x57c0e05d2346e5a54640ed7e15e0bb2c57c0c39ca04d0eab4640edb776a2242a57c0daa84e07b2b246405b069ca5642957c0;
SET @BorderBinary += 0x287cb60e0eb84640ca87a06af42b57c0b3ec496073bc464017efc7ed972e57c0db89929048c346405b09dd25713057c0bf46;
SET @BorderBinary += 0x92205cc7464056293dd34b3357c01d3691990bc8464002d53f88643857c0b41d537765c94640e10a28d4d33857c050f9d7f2;
SET @BorderBinary += 0xcad14640cfb24ba5bf3857c054e4107173d24640382c0dfca83757c07effe6c589db4640e814fbb7ce3557c0a42d48df5cdd;
SET @BorderBinary += 0x46408844a165dd3457c0984c158c4ade4640635e471cb23157c0eab0c22d1fe54640e02bbaf59a3057c004013274ecea4640;
SET @BorderBinary += 0xb60e0ef6262e57c04885b18520f14640a145b6f3fd2957c040868e1d54f64640f10c1afa272557c085eb51b81ef946400401;
SET @BorderBinary += 0x3274ec2257c066a19dd32cfc4640c0745ab7411e57c0f549eeb089fc46403b53e8bcc61c57c0e02c25cb49004740ad307daf;
SET @BorderBinary += 0x211957c05f7b6649800247409f02603c831657c0d50451f701024740d5ce30b5a51557c072c284d1ac06474077bcc96fd112;
SET @BorderBinary += 0x57c08c497f2f85094740329ae51ece1257c0a22ec51a23144740fd9e58a7ca1257c0abe80fcd3c1f4740d4409c93bc1257c0;
SET @BorderBinary += 0xbe0fdc726735474020d3da34b61257c0afb14b546f3f4740c8091346b31257c0b4aa251de5544740bce5eac7260d57c0b9a7;
SET @BorderBinary += 0xab3b16554740484c50c3b70b57c04eeb36a8fd5847408a9125732c0957c034f10ef0a45d4740ab90f2936a0657c0c9569753;
SET @BorderBinary += 0x025e4740fcc0559e400357c042209738f25a47402c7de882fa0057c0a45181936d5a4740575ef23ff90357c0e15e99b7ea66;
SET @BorderBinary += 0x47409526a5a0db0057c06665fb90b76a474051d845d103fa56c04982700514724740ac6f6072a3f356c03332c85d84774740;
SET @BorderBinary += 0x07e33ad4d0f256c05a634709ad7847409bfc169d2cef56c043e38920ce7d4740740b5d8940e956c0b5519d0e64834740e238;
SET @BorderBinary += 0xf06ab9e456c05e2d7766828b4740aa9a20ea3edd56c0668522ddcf9147405f77baf3c4d856c086e28e37f9974740afb321ff;
SET @BorderBinary += 0xccd056c0c70c54c6bfa34740adf886c267c956c0f94cf6cfd3b047409f9018e07ac156c03ba8abec83bb47402cf015dd7ac1;
SET @BorderBinary += 0x56c09ee8baf083bb4740448655bc91b756c03a92cb7f48c74740934f8f6d19af56c0463eaf78eacf4740e108522976a956c0;
SET @BorderBinary += 0xc5353e93fdd347402861a6ed5fa256c00725ccb4fdd947402237c30df89a56c0c3d32b6519de47406801da56b39456c02cd6;
SET @BorderBinary += 0x70917be0474058e36c3a028c56c0ab048bc399e34740a4dfbe0e9c8456c0a04fe449d2e74740e9279cdd5a7e56c0616f6248;
SET @BorderBinary += 0x4eea4740ebfeb1101d7b56c0ea8f300c58ee47406f46cd57c97256c09483d90418f247409221c7d6336f56c0205f420587f5;
SET @BorderBinary += 0x4740b7cd5488476a56c049b72572c1f947408672a25d856356c0e7c41edac7fc47409696917a4f5f56c02a70b20ddc014840;
SET @BorderBinary += 0xe789e76c016856c08c2c996379014840d61bb5c2f46f56c0f0164850fc02484027bb99d18f7756c01a3048fab4fe474038f6;
SET @BorderBinary += 0xecb94c7e56c09f3c2cd49a0248401f477364e58156c0d2c26515360b48409cc0745ab78856c0255af2785a0e4840d8d30e7f;
SET @BorderBinary += 0x4d9456c0e046ca16490d4840db32e02c259e56c0fb71fbe5930d4840ca3505323ba456c0f2ea1c03b20f48404e081d7409ad;
SET @BorderBinary += 0x56c0928fdd054a0c4840143c855ca9b156c0b7cf2a33a50f4840b60da32078b356c02593533bc3164840b98784effdb556c0;
SET @BorderBinary += 0x950b957f2d1f48401f84807c09ba56c05d88d51f611e4840a37d642015c256c0bcae07e364184840dcd7817346c256c06877;
SET @BorderBinary += 0x4831401848404eeb36a8fdc956c0ea73b515fb1148409415c3d501d056c06682e15cc30a484066a3737e8ad556c094f59b89;
SET @BorderBinary += 0xe9084840865451bccadd56c04d2d5beb8b084840016c4084b8e256c02ff65e7cd10648406264c91ccbe356c0069acfb9db0d;
SET @BorderBinary += 0x484030b77bb94fec56c041b79734460f484061f9f36dc1ed56c084d382177d194840548ec9e2fef156c033897ac1a7194840;
SET @BorderBinary += 0x1f56b5b106f356c0bd967ddd561a4840417dcb9c2ef956c05da5bbeb6c1e48404835ecf7c4fe56c0427573f1b71f48409fa9;
SET @BorderBinary += 0xd72d020057c0fab31f2922294840b47405db880357c026a60bb1fa2d4840f2eb87d8600a57c06b2920ed7f2e484045990d32;
SET @BorderBinary += 0xc91057c0b5a2cd716e2d484024b6bb07e81257c0b727486c77294840519e7939ec1257c0e736e15e99234840880cab782314;
SET @BorderBinary += 0x57c00a67b796c91e48402522fc8ba01757c07b2de8bd311c48402f34d769a41a57c0ca1649bbd125484085b4c6a0131e57c0;
SET @BorderBinary += 0x19c748f6082d484038d6c56d341d57c0aaeffca20435484089981249f42057c092af0452623948409d996038d72457c0ce18;
SET @BorderBinary += 0xe6046d384840cf4a5af10d2a57c08481e7dec33b4840c6bc8e38642857c03410cb660e414840dc0da2b5a22857c0d270cadc;
SET @BorderBinary += 0x7c454840f3fe3f4e982e57c0a987687407454840014a438d423957c02e73ba2c264c48400fef39b01c3d57c093533bc3d450;
SET @BorderBinary += 0x4840260f363da94557c01d8ec4723b504840f792c6681d4957c0253e7782fd4f48405fd04202464d57c0e14389963c524840;
SET @BorderBinary += 0x6f9c14e63d5657c07f828b1535504840b56d1805c15757c06b26df6c734d48405bd1e638b75d57c068041bd7bf4b4840f2af;
SET @BorderBinary += 0xe595eb5d57c0614d6551d8454840c214e5d2f86357c0ecf99ae5b243484066bb421f2c6b57c0ee02250516424840cb9a58e0;
SET @BorderBinary += 0x2b7457c08b8a389d64434840cb9c2e8b897357c083f8c08eff484840fe63213a047657c009a2ee0390504840b7d09508547b;
SET @BorderBinary += 0x57c0624a24d1cb50484032fd12f1d68557c07939ecbe635248403ab01c21039057c06a4e5e640254484037312427139057c0;
SET @BorderBinary += 0xd72d02637d57484019c748f6089257c0952bbccb455a48405cc7b8e2e29857c07ec68503215b48408040f26a889b57c05c2d;
SET @BorderBinary += 0xaa2e62594840d190f128959c57c0ffb27bf2b0584840560bec3191a057c03aae4676a559484067791edc9da757c0d9756f45;
SET @BorderBinary += 0x625e48401a4e999b6fac57c01f84807c09654840459f8f32e2ab57c0c5dff604896b484054fa0967b7ab57c0347ee1952471;
SET @BorderBinary += 0x484010035dfb02ae57c0aca580b4ff7f4840b6b75b9203b057c07d21e4bcff7f48406ff1f09e03b057c0e82cb308c58c4840;
SET @BorderBinary += 0x70e998f38cb157c01e19abcdff8f4840a9bbb20b06b357c02d077aa86d9b4840a51133fb3cb457c077b81d1a16a948409542;
SET @BorderBinary += 0x209738b857c0c8207711a6aa48405ccaf962efbc57c06adc9bdf30af48402db0c7444abf57c0d74b530438af4840287d21e4;
SET @BorderBinary += 0xbcc357c0d3f6afac34ad4840360186e5cfc957c05dfa97a432b14840b9dfa128d0c957c0fa0967b796a74840ad4b8dd0cfc9;
SET @BorderBinary += 0x57c09dd7d825aa9748404582a966d6c957c02a70b20ddc7f4840b3d7cd0e79d457c0de103c50d77f484070cb4752d2d557c0;
SET @BorderBinary += 0x809a5ab6d67f48401bb62dca6cfe57c0fa42c879ff7f48405a626534f21958c0fa42c879ff7f4840967840d9943b58c0fa42;
SET @BorderBinary += 0xc879ff7f48408ca03193a84e58c02444f98216804840;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'MN';
SET @BorderBinary = 0x010300000001000000e3000000e9465854c4e756c05182fe428f443f40cfbef2203de956c07bb94f8e023c3f4037fe4465;
SET @BorderBinary += 0xc3e556c0d1764cdd95313f4041b60cd8d2e556c0258e68d126313f40c8772975c9e756c0b3cd8de909233f403f8a3a730fe6;
SET @BorderBinary += 0x56c0596abddf68173f40ac342905dde356c0efe3688eac0c3f40ed51195e35e856c0917280094e013f40b9dc60a8c3e856c0;
SET @BorderBinary += 0x61191bbad9ff3e4021054f2157ce56c01bb80375caff3e40e0fc39e145cb56c07f544628cdff3e40bf28e120d9c356c03943;
SET @BorderBinary += 0x84b1d3ff3e40ae7b7862dab456c0edb5c8e4e0ff3e406f8104c58fb056c037a3e6abe4ff3e404511f0ed4ca456c07298a965;
SET @BorderBinary += 0xfcff3e4023209a750ba356c0bfc7b7d3feff3e405f51a732399656c0a72e01a317003f40f94b8bfa249656c0e22021ca1700;
SET @BorderBinary += 0x3f40393b538c9c9056c070bcd85e2b003f40c0e8f2e6707956c0ef6fd05e7d003f4072fd87837f7556c0ae9007b889003f40;
SET @BorderBinary += 0x8debdff5996e56c01f7f69519f003f40d9be356e9a6e56c0e33799a497003f4035272f32017056c08b89cdc7b5e93e406071;
SET @BorderBinary += 0x38f3ab7256c04510e7e104d23e4062687572867556c0d3bf249529ba3e40d4bf9523e07456c0cc3f780038ab3e4040683d7c;
SET @BorderBinary += 0x997456c0cfd6c1c1dea43e40ea5a7b9faa7256c087f546ad308d3e4040683d7c996d56c0518369183e7a3e403b4eefafcb6c;
SET @BorderBinary += 0x56c05a27d2c23b743e4033f8fbc56c6b56c0cc26c0b0fc693e4024b726dd966856c0b8cb7edde94e3e400e10ccd1e36656c0;
SET @BorderBinary += 0xa8177c9a93373e40c1a73979916156c065a71fd4452e3e40b9a981e6735e56c0663046240a313e40b2463d44a35c56c09a79;
SET @BorderBinary += 0x724d81343e403046240a2d5b56c094bbcff1d13e3e4051db8651105656c069519fe40e4b3e4003fbfc46a65356c0994d179a;
SET @BorderBinary += 0xd24d3e4038a0a52bd85256c06361889cbe4e3e406a65c22ff54b56c087889b53c9543e404c3448c1534556c076c1e09a3b5e;
SET @BorderBinary += 0x3e40f1f274ae283e56c09b5775560b643e4073ba2c26363956c0d24f38bbb5643e40484dbb98663456c0bf4351a04f5c3e40;
SET @BorderBinary += 0x0e0780d5383356c0528547ab755b3e4049ba66f2cd2f56c0bf5e61c1fd583e402d40db6ad62c56c0b4fe9600fc573e40919b;
SET @BorderBinary += 0xe1067c2a56c00fea2285b25c3e401d90847d3b2756c01af67b629d5a3e4004e621533e2556c068ea758bc0543e40cc96ac8a;
SET @BorderBinary += 0x702156c098a1f14410573e4033333333331e56c0e010aad4ec513e40f6b4c35f931c56c0fc15325706593e40d5af743e3c1a;
SET @BorderBinary += 0x56c0967840d994573e40bd8a8c0e481956c0265305a3925e3e40ccb56801da1956c0bdfc4e93198b3e40cdc7b5a1621a56c0;
SET @BorderBinary += 0x4529215855bb3e409516ccdd651a56c0b459761d50bc3e4010b86eed431b56c09f5ef65d8fff3e402829b000a61b56c08aff;
SET @BorderBinary += 0x3ba2421d3f407ec16ed8b61c56c0978e39cfd86b3f40a1ef71b9c31c56c01d942901936f3f40d0ce6916681d56c0347ee195;
SET @BorderBinary += 0x249f3f400f4e7809ac1d56c01971eb59acb23f4089e942acfe1d56c04b3acac16cca3f403277ee90fe1d56c057bb58bad3e4;
SET @BorderBinary += 0x3f40603c8386fe1d56c09d82fc6ce4ee3f4081bd1b4e041d56c09f2dfd50ca06404044f9b8e2971b56c0cbaf232f231d4040;
SET @BorderBinary += 0x29e620e8681b56c0632992af04204040cb1289c7f61a56c04f2529cc82274040723bcf72e91856c01add27eaff494040a816;
SET @BorderBinary += 0x11c5e41756c0d3bce3141d5b40405788bc473d1656c0c13fa59cea76404051c6d7f3c31556c09f6ef4bfe17e4040af5a99f0;
SET @BorderBinary += 0x4b1456c080b8ab5791974040e1e1b5fd7b1356c0306475abe7a44040ad0e88ad911156c0328d11295ac440405d68aed34810;
SET @BorderBinary += 0x56c0d8101c9771d94040594b9394e50f56c08a47cf2159df404019726c3d430d56c087a3ab7477074140407e1183070d56c0;
SET @BorderBinary += 0x206d3857130b4140efee62b8160b56c02d58ced2172941405d99d9eae90956c074a83cb5443b41405b00b98aee0856c068e1;
SET @BorderBinary += 0xf909754a41400584d6c3970856c08043a852b34f4140efaa07cc430656c080b6d5ac33724140f699b33ee50956c0c70be9f0;
SET @BorderBinary += 0x10764140d8463cd9cd0c56c0906456ef707f414039efffe3841056c064b0e2546b7f4140d89e7514441756c08c082ba1747f;
SET @BorderBinary += 0x41400f5743fd591856c0a2752920767f41402009fb76121e56c04e5e64027e7f414008a9dbd9573256c0a9a3e36a647f4140;
SET @BorderBinary += 0xd1dd02dcac3456c02101c9f1627f4140bb9fe49b184156c005db46195b7f41404b02d4d4b24156c0c07adcb75a7f41404307;
SET @BorderBinary += 0xbdbfb04c56c0b92aac274a7f4140927d954c925656c00c93fc433b7f4140eb504d49d65b56c07422c154337f4140183143f2;
SET @BorderBinary += 0x3b6956c029b227983d7f41403203d1305b6e56c05efaac84417f41409701587e9d7056c012fcb33f437f414014cd0358e472;
SET @BorderBinary += 0x56c024d236fe447f41400ff0a485cb9356c06669a7e6727f41400a2aaa7ea58f56c0226e4e25037841402979758e019056c0;
SET @BorderBinary += 0xdc80cf0f237441407e9afa5fee9356c0c4171796b96f41402d05a4fd0f9456c08afed0cc936f4140a3ffe55ab49956c0b797;
SET @BorderBinary += 0x3446eb6a41403938b2631c9a56c06b3ce0fee96a4140174339d1ae9d56c0cfd6c1c1de6a414078b130444e9e56c05778978b;
SET @BorderBinary += 0xf8644140c09481035aa056c0b8c83d5ddd6141407e384888f2a256c03ba759a0dd5941407f68e6c935a356c0ecd808c4eb54;
SET @BorderBinary += 0x4140c4d7e1c1b0a456c023dc7a1d1c51414048dbf81395a556c0e38c614ed04e41408d614ed026a356c096e99788b7484140;
SET @BorderBinary += 0xd844662e70a456c0f4df83d72e434140a1478c9e5ba556c06bba9ee8ba3a4140880d164ed2a456c03b6f63b323354140116e;
SET @BorderBinary += 0x32aa0ca956c05f79909e223141407289230f44aa56c009a7052ffa2a4140fcdf1115aaae56c0e4805d4d9e2e4140f86f5e9c;
SET @BorderBinary += 0xf8b056c0753dd175e12b414084d4edec2bb056c020ec14ab06254140620fed6305b456c03ca1d79fc4234140ba10ab3fc2b5;
SET @BorderBinary += 0x56c05a10cafb381e4140d313967840b956c030f0dc7bb81c414060c9552c7eb856c0a547533d991741401c42959a3db956c0;
SET @BorderBinary += 0xb7989f1b9a1441408463963d09bc56c01893fe5e0a1341403374b5d16bbc56c00d3ab14c5e0f41404194a58777bc56c068d5;
SET @BorderBinary += 0x909fee0e4140f71c588e90bc56c02f849cf7ff0d414072dc291dacb956c056815a0c1e0c4140b680d07af8b756c04e7cb5a3;
SET @BorderBinary += 0x38094140f792c6681db956c008c9022670034140a54bff9254bc56c0add85f764f0241403db83b6bb7be56c0454431790300;
SET @BorderBinary += 0x41407d06d49b51c056c0876a4ab20efd404029cde67118c356c02a01310917fe40404ed2fc31adc556c0354415fe0cfb4040;
SET @BorderBinary += 0x9dbb5d2f4dc256c04fabe80fcdf84040ffcc203eb0c156c007b64ab038f44040997e8978ebc356c0ca89761552f04040e066;
SET @BorderBinary += 0xf16261c356c0067e54c37ee9404080ef366f9cc156c0798ec87729e74040c687d9cbb6c156c00fed6305bfe14040c85eeffe;
SET @BorderBinary += 0x78c556c0c824236761e34040d0ecbab722c756c09943520b25e3404049bc3c9d2bc956c01840f850a2df40409a5e622cd3c4;
SET @BorderBinary += 0x56c00795b88e71db40403463d17476c656c0882b67ef8cd4404017618a7269cb56c0cd902a8a57d34040c83ec8b260c856c0;
SET @BorderBinary += 0xa4c0029832ce4040d0b52fa017cc56c09d11a5bdc1c94040e34e964929cd56c05963236303c6404085ecbc8dcdcd56c00760;
SET @BorderBinary += 0x0322c4c3404085eb51b81ecc56c0dae1afc91abf4040129f3bc1feca56c09bc8cc052ebb404012f5824f73c956c02ae27492;
SET @BorderBinary += 0xadb6404093ddcce847c756c0e8a221e351b24040ab77b81d1ac956c0f5d4eaababac4040d7d7bad408c856c02ec55565dfa3;
SET @BorderBinary += 0x40406f7ec34483c556c0143e5b0707a340404f3e3db665c456c0d007cbd8d09d40403db9a64066c556c087a4164a26974040;
SET @BorderBinary += 0xadda3521adc656c0081c0934d890404009336dffcac956c0927538ba4a914040207c28d192cb56c0478d0931978c40400308;
SET @BorderBinary += 0x1f4ab4c756c05053cbd6fa86404049cd7efc36ca56c0022c6d6370814040e9efa5f0a0ca56c0d3db9f8b86804040f8872d3d;
SET @BorderBinary += 0x9ac856c00bd3f71a827d4040fdf675e09cc456c0369204e10a7840400f4240be84c456c0e525ff93bf714040821c9430d3c8;
SET @BorderBinary += 0x56c0900f7a36ab6c4040baf1eec858ca56c0831266dafe67404012d9075916ca56c0f2cea10c5563404000c8091346c756c0;
SET @BorderBinary += 0xb4024356b75e4040e63922dfa5c356c0db5031cedf5c40409a05da1d52c656c01f9f909db75740407d7555a016c556c03eae;
SET @BorderBinary += 0x0d15e34c4040105d17ec89c356c05e06a1211c4a404039d384ed27c356c0b019e0826c49404061a50ee41ec356c081edd569;
SET @BorderBinary += 0x51494040cb10c7bab8c056c0499f56d11f4240409f38807edfc356c0785f950b95414040afae0ad462c356c0af9811de1e38;
SET @BorderBinary += 0x40403599f1b6d2bd56c08192020b6036404040f850a225bf56c03e05c078062d40409a030473f4ba56c01cec4d0cc92b4040;
SET @BorderBinary += 0x5c02f04fa9bc56c0da6fed444924404061fa5e4370bf56c0d3d85e0b7a1b40409694bbcff1c656c0c954c1a8a41a404062b3;
SET @BorderBinary += 0xe7b686c256c0f0e06ce6d10d40404e7cb5a338c256c0d314014eef0c40408636001b10c556c0f1ba7ec16e064040545051f5;
SET @BorderBinary += 0x2bc556c08e72309b0003404063d009a183c756c0b2497ec4affc3f40effe78af5acb56c0639ae95e27f93f40a0be654e97cb;
SET @BorderBinary += 0x56c0f56393fc88eb3f403db7d09508cf56c08c12f4177ae03f408967c4f19dcf56c08059f7c8a6de3f40321b649291d256c0;
SET @BorderBinary += 0x7c0c569c6ad53f403df19c2d20d656c0e8120ebdc5d73f40101d024702d756c047aaeffca2cc3f405fca586582d456c03721;
SET @BorderBinary += 0x6fdc6fbf3f409752978c63d456c0de37bef6ccbe3f40ef2bd6f553d856c09484a3708dbb3f4093e34ee960d856c0527fbdc2;
SET @BorderBinary += 0x82bb3f4058e2016553d956c0533a58ffe7a43f400b957f2dafdd56c042959a3dd09e3f404c1762f547dd56c0d53db2b96a96;
SET @BorderBinary += 0x3f40340d8ae601dc56c0e82ff488d18b3f401b62bce655df56c05f5d15a8c5883f4005dd5ed218e156c0ca85cabf967f3f40;
SET @BorderBinary += 0x505436aca9e056c0764cdd955d703f40f19e03cb11e256c04772f90fe9633f404eeacbd24ee256c02670eb6e9e563f40b513;
SET @BorderBinary += 0x252191e056c01a13622ea94a3f408c2ac3b81be456c0eb8d5a61fa423f40e9465854c4e756c05182fe428f443f40;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'MS';
SET @BorderBinary = 0x0103000000010000003d01000023d6e25300f157c0c5ad8218e84a44405f5e807d74f057c0f302eca353434440ef3499f1;
SET @BorderBinary += 0xb6ed57c044183f8d7b434440fa9d690096ed57c017d991620a434440936b0a6476ec57c0be9eaf592e3f4440eae5779acceb;
SET @BorderBinary += 0x57c0070abc934f3b4440c2db831090e957c0ebabab02b532444097361c9606e957c0c0249529e62e444098dc28b2d6e957c0;
SET @BorderBinary += 0x9e23f25d4a2944405f21736550e657c0d48041d2a7274440dc48d92269e357c000fc53aa44254440c2d4f56915e357c09138;
SET @BorderBinary += 0x0a57d821444020b5a84e10e357c04b1371e3a22144407a6b60ab04e357c0b5c01e13292144409272f7393ede57c00da7cccd;
SET @BorderBinary += 0x371e4440342e1c08c9de57c06c41ef8d21184440745e6397a8db57c08e75711b0d124440d6e3bed53ad957c0f52ede8fdb0d;
SET @BorderBinary += 0x444083a279008bda57c0a94d9cdcef0844408db1135e82d857c021aaf067780344403526c45c52d657c07a6f0c01c0034440;
SET @BorderBinary += 0xc4ebfa05bbd357c05f0839efffff434074e95f92cace57c0793e03eacdf84340a31ea2d11dc957c09817601f9df24340c5e0;
SET @BorderBinary += 0x61da37c557c0f02f82c64cee4340da01d71533c157c04d2cf015ddf24340c7108c7193bf57c08c7eba2f04f343407e350708;
SET @BorderBinary += 0xe6bc57c000fc53aa44f34340ab5ca8fc6bbb57c0dd054a0a2cf04340d5af743e3cb857c056b60f79cbe9434040a493292eb8;
SET @BorderBinary += 0x57c0231df45903e94340d386c3d2c0b757c08a00a777f1e2434051db865110b757c079af5a99f0df43404031b2648eb957c0;
SET @BorderBinary += 0x18778368addc43405df7562426be57c0da1d520c90dc43402043c70e2abe57c0dcd26a48dcd74340c0b167cf65c257c08b32;
SET @BorderBinary += 0x1b6492d34340dc693fbad1c257c009b8c8ae8cce4340032159c004c357c095253acb2ccc4340b8ffc874e8c457c04cc11a67;
SET @BorderBinary += 0xd3c94340d74e948444c757c0ee74e789e7c643405556c4d0d9c557c0d1a75ccb41c443409f3715a930c357c06fd39ffd48bf;
SET @BorderBinary += 0x43409bfd8172dbbe57c0fc17080264b843408cce42cecebd57c04a4fdbaaf9b543406b97361c96bc57c0de5339ed29b34340;
SET @BorderBinary += 0xd2c3d0eae4b857c0b2f336363bb243401a69a9bc1dba57c06ef607ca6da943404f948444dab657c0e1e995b20ca343401aa1;
SET @BorderBinary += 0x9fa9d7b457c055bfd2f9f09e43408f34b8ad2db357c094313ecc5e9a43405b956d0ab0b257c01a6258e5c2994340376a85e9;
SET @BorderBinary += 0x7baf57c02e573f36c9954340a79201a08aab57c000c79e3d979743403237df88eea757c04dba2d910b94434091a4e22686a6;
SET @BorderBinary += 0x57c01b13ab87e7934340151bf33ae2a557c015e46723d793434011c64fe3dea657c0b6f63e55858e4340c1fc0d59e7a657c0;
SET @BorderBinary += 0xdece9794a4854340dfc2baf1eea657c01f82aad1ab7d4340c33dce34f9a657c097519e6b716c43407616bd5301a757c0d812;
SET @BorderBinary += 0xf241cf5e4340667ef8e001a757c090a7e71d7a5e434008cef6512aa757c021ae98e2184643400ed59e3039a757c0d44d7811;
SET @BorderBinary += 0x223d434024b5503239a757c04e42e90b213d4340235ab0aa37a757c08757f986c131434097c4591135a757c0e50cc51d6f1e;
SET @BorderBinary += 0x43403b31e4a04aa757c04864bdd0af074340f529216b4da757c0b2dc2645be04434058e2016553a757c0c002983270fe4240;
SET @BorderBinary += 0x18ec866d8ba757c0c96fd1c952d742403a6de4388ba757c0cc41ce7d28d642403b45f4c78aa757c0dff7ee6fa8d34240e57a;
SET @BorderBinary += 0xdb4c85a757c0e75086aa98b4424049b1bbdd87a757c0b57b57119dae4240555b9e4789a757c05930f14751ab4240ba9c1210;
SET @BorderBinary += 0x93a757c0cfba46cb819442406db66dff8ea757c03baaa81a45874240be86e0b88ca757c0cb67791edc7f4240d3f8855792a7;
SET @BorderBinary += 0x57c0fc3559a31e624240eb5f632d8da757c0b282ba717e5542409bfeec478aa757c00bb3d0ce694e4240ee2422fc8ba757c0;
SET @BorderBinary += 0x109546ccec3f4240e40d30f31d9757c0728a8ee4f23f42409f4da003ef8457c020e1b471de3f42409d29745e637d57c0c87a;
SET @BorderBinary += 0x6af5d53f4240ac2a6ff7787757c08833b3d8da3f4240e3a6069acf6c57c0fca4daa7e33f424022636ede646557c063d09c02;
SET @BorderBinary += 0xdc3f42401cb0abc9535b57c059a31ea2d13f42406d85be512e5457c0a6501fb6c83f4240ede26ad7c75257c042c794f6c63f;
SET @BorderBinary += 0x4240d4d347e00f4857c0f4a3e194b93f42406c829ebda83657c0c052eb3abf3f42408e59f624b03557c015aa9b8bbf3f4240;
SET @BorderBinary += 0x086823eb6d3157c0e1ba5430c13f4240444ab3791c2457c08ec70c54c63f4240cbacad5fdd2157c0a834a2e4c33f42409fe2;
SET @BorderBinary += 0x38f06a1657c0ddaf027cb73f42407e7f1a9e9e0957c01639fc0fc33f42405835461cb50757c0ce55d3cac43f424035954561;
SET @BorderBinary += 0x17ff56c002284696cc3f4240d588a7a807eb56c0183d31a4e73f424025afce3120e956c0c35f9335ea3f42401d9c6de1ccdc;
SET @BorderBinary += 0x56c05d09d065af3f42409e38358a0eda56c02aaa8d4ea23f42403baa9a20ead956c00018cfa0a13f424065fb813619c856c0;
SET @BorderBinary += 0x7ff3c6d5b73f4240698b6b7c26c156c0afb0e07ec03f42408897650e31b256c060ecff9bcd3f4240a0dd21c500b156c049a0;
SET @BorderBinary += 0xc1a6ce3f424017d0281ee0a456c03203f4c3cb3f4240d49ae61da79f56c0bcafca85ca3f424022cca3c0208e56c08baa0de2;
SET @BorderBinary += 0x7a3f42406133c005d98956c08922a46e673f4240f92b64ae0c8956c0ee23b726dd3a4240202235ed628856c0ad4a22fb2035;
SET @BorderBinary += 0x4240a6457d923b8456c025ae635c71314240861c5bcf108456c0944a7842af2d424047e6913f188456c0feb8fdf2c9264240;
SET @BorderBinary += 0xd1e5cde15a8756c0957d5704ff214240f7216fb9fa8956c04276dec6661b4240539840ac1a8c56c0c248a86478194240218e;
SET @BorderBinary += 0x75711b8e56c034bdc458a6174240679b1bd3138f56c03752b648da114240c03bf9f4d89256c0d68ee21c750e424019c8b3cb;
SET @BorderBinary += 0xb79556c0e49f19c40706424094dc6113999756c0707b82c476ff41400596651f7e9256c0070c59c58dff4140e17cea58a586;
SET @BorderBinary += 0x56c09cdd5a26c3ff41402157a367667d56c0e6aec1b1dfff4140832d76fbac7956c02ee23b31ebff41401c774a07eb6e56c0;
SET @BorderBinary += 0xd80e46ec13004240956247e3506c56c0662b2ff99f02424038d55a98856b56c0e00ed4298f0a424021ab5b3d276956c0139b;
SET @BorderBinary += 0x8f6b430d42405b79c9ffe46556c053909f8d5c1142404bc79c67ec6756c0ae7d01bd701742400c6702472b6856c0a943e529;
SET @BorderBinary += 0xbd1742409f8ec70c546c56c06ef8dd74cb1c4240c0cb0c1b656b56c05e0f26c5c71f42407c7dad4b8d6656c09d7de5417a1e;
SET @BorderBinary += 0x424015e29178796356c034b742588d2342409204e10a286756c003cb113290274240c7f319506f6656c06002b7eee62b4240;
SET @BorderBinary += 0x52ac1acbe16256c0571acf15112c424018b2bad5736156c0a182c30b222c42401422e010aa6056c0681f2bf86d304240499a;
SET @BorderBinary += 0x3fa6b56256c0caf962efc5354240dee17668586156c08a743fa7203b42403a3defc6826256c082c8224dbc3f424043520b25;
SET @BorderBinary += 0x936456c08db3e908e04442402635b401d86256c0cb9c2e8b89494240fa5dd89aad5e56c0852172fa7a484240e675c4211b5a;
SET @BorderBinary += 0x56c0d908c4ebfa474240404cc2853c5856c0fe47a643a74f42409d65a6cef25456c06c5dd478dd4f4240a0185932c75456c0;
SET @BorderBinary += 0x28d4d347e04f42406cad2f12da5156c048f7730af24942409ab0fd648c4e56c07b14ae47e148424033ddeba4be4c56c036e3;
SET @BorderBinary += 0x344415504240e7f18ad83d4b56c008f6f96d5e53424059f8fa5a974a56c092020b60ca5442402385b2f0f54c56c0cadc7c23;
SET @BorderBinary += 0xba5b424023f3c81f0c4a56c04869368fc36042401ec820a8fb4956c0e821ed3ca564424068af3e1efa4956c02e36ad140265;
SET @BorderBinary += 0x42400c1ea67d734956c0976f7d586f6c42405b0531d0b54756c073b7eba529724240bf676cc5994656c03eb6d8eced784240;
SET @BorderBinary += 0x111c9771534656c09f3c2cd49a7a42407689eaad814856c068e7340bb47d4240739cdb847b4c56c04c50c3b7b07e424007cc;
SET @BorderBinary += 0x43a67c5056c0029cdec5fb8142406c8bf10aad5356c028cdbf63ae8342407616bd53015756c0834e081d74854240363cbd52;
SET @BorderBinary += 0x965856c0c5e061da378d4240b1a206d3305d56c09cdcef5014984240d3bce3141d5e56c0399b8e006ea04240a14875a8e75e;
SET @BorderBinary += 0x56c067ba48d566a1424012bf620d176156c04e0b5ef415a44240649291b3b05f56c0c173efe192a942401a098cc3505e56c0;
SET @BorderBinary += 0x906e1f7edcaa4240d1e80e62675b56c0b91ad99596ad4240ba83d899425b56c0c2887d0228b44240eb353d28285e56c0c7bb;
SET @BorderBinary += 0x2363b5bb42401b9e5e29cb6056c0008c67d0d0c34240bdc134581d6056c00b2f1ae589c742408f83ba11db5f56c04ac0654c;
SET @BorderBinary += 0xf5c8424097e315889e5f56c073f1b73d41ca4240469737876b6056c0b22e6ea301d042409b8d9598676156c0a5bdc11726d9;
SET @BorderBinary += 0x4240025fd1add76556c08b355ce49edc42403e3db665c06a56c0eaea8ec536e1424010f8626ffb6b56c07801c5a7f0e54240;
SET @BorderBinary += 0x012f336c946c56c01c76df313ce84240f35487dc0c7256c01e8997a773ed4240e0d40792777656c0791edc9db5f3424018ca;
SET @BorderBinary += 0x8976157b56c07ec51a2e72ef4240f98068d7b77b56c09c370016a7f04240e48409a3597e56c0af7614e7a8f54240e527d53e;
SET @BorderBinary += 0x1d7d56c065e3c116bbfb4240b47405db888056c00c2252d32efc42404754a86e2e8556c0aab8718bf90143406246787b1088;
SET @BorderBinary += 0x56c05114e813790643401a0166a82a8d56c0cbef95394b0b4340e8d7d64fff8d56c08a71fe26140c4340d9b0a6b2289056c0;
SET @BorderBinary += 0x81751c3f5410434042eaeafe2c9056c054788ae45a1043401e317a6ea19456c05d177e703e174340f4a32d79799656c0969e;
SET @BorderBinary += 0x63081a1c4340800a47904a9756c07f9f71e1401e4340df88ee59d79756c0f083f3a96329434050c07630629656c06fd6e07d;
SET @BorderBinary += 0x55304340ddfbdf52f29556c08e9a17ea343143408ba4f38fc69556c016570c518c31434008e6e8f17b9256c0a2ea573a1f38;
SET @BorderBinary += 0x43409a3c65355d9156c0c58ec6a17e3f43404eebedd4b39056c01b02f5155f42434011585ec0569056c0273905cdf3434340;
SET @BorderBinary += 0x27a3ca30ee8f56c01d37fc6eba4543403cf20703cf8b56c0056b9c4d474e4340a0be654e978b56c0d40968226c544340a786;
SET @BorderBinary += 0x70189e8b56c070c94419875443408a7615527e8c56c0b22e6ea3015843409d465a2a6f8d56c062a1d634ef5c434093a3907c;
SET @BorderBinary += 0xa98a56c0930d6ba5df624340a530ef71a68a56c0c0249529e6624340a8e0f082888756c0a1681ec0226743403eb0e3bf4087;
SET @BorderBinary += 0x56c0f6251b0fb66c43406e28fc1c448d56c04d3a27a909734340dac534d3bd8e56c0069e7b0f977443402e2d368cb39156c0;
SET @BorderBinary += 0x755005e2ac75434026fdbd141e9356c01c25afce31764340f2cea10c559956c098f90e7ee27a434006e706b1dc9c56c084e8;
SET @BorderBinary += 0xd0fd0e7b4340e4654d2cf09d56c0cdffab8e1c7b43401ccbbbea01a056c02502d53f887443406e675f7990a356c0766c04e2;
SET @BorderBinary += 0x756f4340bde2a9471aa656c0b22e6ea30170434092ca147310aa56c0b5be4868cb7543403928d55f57aa56c0aa21a55ba477;
SET @BorderBinary += 0x43403387a4164aab56c0ed0f94dbf67d43408a1ef818acad56c03bdee4b7e8864340dcf0bbe996ab56c0fe261422e08c4340;
SET @BorderBinary += 0x78b130444ead56c0252367614f9343408e1265474aae56c0bbaaf767af9c4340d7d825aab7ae56c00e9f7422c1a0434018cb;
SET @BorderBinary += 0xf44bc4b556c06728ee7893ab4340fc7d05c6dcbb56c07962b77423b3434089e942acfebb56c0c09140834db34340bf9a0304;
SET @BorderBinary += 0x73c256c0ae2cd15966b9434008feb7921dc456c000193a7650bf4340d5230d6e6bc656c065c22ff5f3c443401ff46c567dc9;
SET @BorderBinary += 0x56c0711c78b5dcc54340aa7af99d26cb56c0598638d6c5cb4340a7d0713bb4cb56c0dbdc19e792cc434084471b47acd156c0;
SET @BorderBinary += 0x4302469737d54340bac5cb9391d356c036ff94e8d5d743406000e14389d756c0f46a80d250dd43408ab6e0e055d756c07977;
SET @BorderBinary += 0xc8ad1de14340a60bb1fa23d756c0de03745fcee4434064e76d6c76d956c0570394861ae94340d6187442e8db56c07138f3ab;
SET @BorderBinary += 0x39ec434012dbdd0374db56c0bd50c07630f443401807783df5db56c0e2a0e1bcfdf8434027da5548f9db56c070b0373124f9;
SET @BorderBinary += 0x4340f04a92e7fade56c015e2917879024440795be9b5d9df56c06fd74b53040a44406c3f19e3c3e056c0e272bc02d1154440;
SET @BorderBinary += 0x5174150e65e056c004cec6afae194440aa20ca26cedf56c06eb45387d51f4440895fb1868bdf56c017b83cd68c224440b117;
SET @BorderBinary += 0x0ad80ede56c0d177b7b244294440444e5fcfd7da56c088a06af46a304440755776c1e0df56c0bfb4a84f72334440770fd07d;
SET @BorderBinary += 0x39e156c0a27e17b666374440ee02250516e456c09aec9fa7013b4440a9674128efe656c08e588b4f014044406e50fbad9de7;
SET @BorderBinary += 0x56c0ffe55ab40045444013b69f8cf1ea56c00394861a854644402f134548ddeb56c040f50f22194a4440faa6e1acdded56c0;
SET @BorderBinary += 0x87c75c5b474d44407901f6d1a9ee56c03bc269c18b4e44403e59315c1dfc56c0363cbd52964d4440bf6855095cfc56c07ce4;
SET @BorderBinary += 0xae64934d4440641ef983810b57c059a65f22de4c44408b526793731657c09eaa2aed724c44404eee77280a1d57c0c2d9ad65;
SET @BorderBinary += 0x324c444050015668d32857c03f92d176a44b4440185932c7f22b57c077f17edc7e4b4440b9a528f6bb2d57c012ce4673774b;
SET @BorderBinary += 0x4440efc4ac17433c57c0f9b9a1293b4b4440cf92e2043a4657c0c8df4ababa4a4440cf2edffab04857c0e02bbaf59a4a4440;
SET @BorderBinary += 0x8c2ac3b81b5657c0616f62484e4a4440975dc8f1f55757c040e030734a4a4440e1cff231a46357c055933148324a4440d00c;
SET @BorderBinary += 0xe2033b6657c0d714c8ec2c4a4440110afeda8e7157c021e19484ec4944406b0e10ccd17557c046d09849d4494440605628d2;
SET @BorderBinary += 0xfd8057c0c38c4a3f7b494440fe092e56d48557c0fe7c5bb0544944403ec92308dd8e57c07cf559c6374944404485eae6e293;
SET @BorderBinary += 0x57c08670ccb22749444076677444289e57c01b7e1433154944407383a10e2ba257c09fc6bdf90d4944404faed51c73a857c0;
SET @BorderBinary += 0x5b870c6b2f494440205c01857ab457c0f0a0d9756f494440e3dfc8af8dba57c0398e5104974944407c40a03369c457c0b5db;
SET @BorderBinary += 0x2e34d74944402aaa18edf1cc57c0aeab6d36084a4440863b17467ad557c00c738236394a444028e05863eed757c0c908d454;
SET @BorderBinary += 0x484a4440373465a71fe257c079909e22874a444023d6e25300f157c0c5ad8218e84a4440;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'MO';
SET @BorderBinary = 0x010300000001000000f30000004c8c65fa25035dc0441669e21d804840a35c656125035dc032c7c36f43404840d55b035b;
SET @BorderBinary += 0x25035dc028266f80993d484018cdcaf621035dc0c1e10511a92748401a9ee5a721035dc05ac17c9aa01b48408a5a9a5b2103;
SET @BorderBinary += 0x5dc00725ccb4fd0f484005e09f5225035dc054c2137afdff47404717a0e074025dc0c063b2dffffd47406fd40ad3f7015dc0;
SET @BorderBinary += 0x124c35b396fc474044fb58c16ffd5cc0ff942a51f6f24740b07614e7a8f95cc0ac376a85e9eb474092e7fa3e1cf65cc0dc28;
SET @BorderBinary += 0xb2d650e8474046cec29e76f55cc0c554fa0967e14740dcf4673f52ee5cc02a89ec832cd94740a9c1340c1fef5cc0ef54c03d;
SET @BorderBinary += 0xcfd34740b58828266fec5cc09c2e8b89cdcf47405ca9674128ee5cc05f77baf3c4c947409d9ca1b8e3ed5cc070e7c2482fc4;
SET @BorderBinary += 0x4740d8d2a3a99ee85cc0af42ca4faabd4740b51a12f758ec5cc0b5c2f4bd86ba47409a42e73576ed5cc0626534f279b54740;
SET @BorderBinary += 0x0876fc1708e55cc09833db15faae4740e8da17d00be25cc050feee1d35a8474070b0373124de5cc0b741edb776a4474074b5;
SET @BorderBinary += 0x15fbcbd75cc0adbce47ff2a14740b77d8ffaebd45cc0b45373b9c1a04740693524eeb1d25cc059daa9b9dc9a474094313ecc;
SET @BorderBinary += 0x5ed05cc0946588635d964740734c16f71fcc5cc05f5d15a8c5904740f221a81abdc75cc00f27309dd687474063edef6c8fc4;
SET @BorderBinary += 0x5cc01666a19dd3824740af78ea9106c25cc0423f53af5b7c4740fecbf0f387bd5cc075f7071169774740e350bf0b5bbb5cc0;
SET @BorderBinary += 0x33bf9a03047547400b7c45b75ebc5cc02e7079ac196f47400150c58d5bb85cc0f4177ac4e86747400aa2ee0390b25cc030b9;
SET @BorderBinary += 0x5164ad6347404c89247a19b15cc03eaf78ea915e47401ce90c8cbcac5cc09e5f94a0bf5e4740361adf1c52ab5cc020554da1;
SET @BorderBinary += 0xad5d4740456458c51ba85cc0cd565ef23f5b47404701a260c6a75cc0b08ba2073e544740fdf4415cd6a55cc03f451b558753;
SET @BorderBinary += 0x47407fdaa84e07a35cc09be1067c7e524740649126de019d5cc0ce33f6251b534740dd9733db15975cc0170caeb9a3554740;
SET @BorderBinary += 0x224784df7e955cc0f78f9a95e253474033fe7dc685945cc06c5cffaecf524740037b4ca434955cc005a051baf4494740641e;
SET @BorderBinary += 0xf98381965cc0f5bc1b0b0a414740aa2a3410cb995cc0992a1895d43f4740253ca1d79f985cc00e828e56b5344740c07b478d;
SET @BorderBinary += 0x099b5cc09ab0fd648c314740fb5a971aa19b5cc0d0b69a75c6274740f83768af3e9c5cc089d2dee00b234740a587a1d5c99c;
SET @BorderBinary += 0x5cc04f2157ea591e4740b91798158a9c5cc0fb58c16f4316474085436ff1f0a05cc02d58aa0b78154740e9d9acfa5ca15cc0;
SET @BorderBinary += 0x96ce876709104740ae635c71719d5cc0c72764e76d0c4740b24cbf44bc9e5cc027a089b0e1034740179f02603c9c5cc00951;
SET @BorderBinary += 0xbea085fe464033ddeba4be995cc05c3b511212fb46403df03158719a5cc0d2fe0758abf44640a9f92af9d8985cc0f0f96184;
SET @BorderBinary += 0xf0f04640c11a67d3119b5cc0554fe61f7ded4640be16f4de18a15cc0ab5791d101eb46402aadbf2500a45cc03a22dfa5d4e3;
SET @BorderBinary += 0x4640e9f010c64fa05cc061fa5e4370dc4640c8b7770dfa9f5cc08f705af0a2d54640630b410e4aa25cc01dad6a4947d34640;
SET @BorderBinary += 0x973b33c170a25cc0e90c8cbcaccd46401c5dca2184a15cc0338e5ce3e7ca4640eee714e467a05cc031b3cf6394c746405e7f;
SET @BorderBinary += 0x129f3b9d5cc03c4a253ca1c5464001fbe8d495975cc0a41b615111bf46402fdffab0de915cc098f738d384bd464026fdbd14;
SET @BorderBinary += 0x1e905cc0bbb20b06d7c44640d9ebdd1fef8b5cc0a5d8d138d4c546407cec2e5052855cc01875adbd4fcd4640ac545051f580;
SET @BorderBinary += 0x5cc043a9bd88b6d3464041ef8d2100815cc0696e85b01ad946400c3cf71e2e7e5cc03b33c170aed94640e61e6622b07c5cc0;
SET @BorderBinary += 0x0d718be25cd746408bfb8f4c87795cc0ca14731074d2464030293e3e21775cc064e94317d4cf464007efab72a1735cc067b5;
SET @BorderBinary += 0xc01e13cd464015a8c5e061735cc0d5cdc5dff6c24640beda519ca3705cc0728577b988bd464007b47405db705cc0f1b913ec;
SET @BorderBinary += 0xbfb64640b77a4e7adf6e5cc016889e9449b14640ea793716146f5cc047c49448a2a94640a51309a69a695cc0a7052ffa0a9e;
SET @BorderBinary += 0x464082ffad64c7645cc02cb98ac56f9046403acb2c42b1605cc00a67b796c98c46407b319413ed5c5cc06cb1db6795874640;
SET @BorderBinary += 0xf8a6e9b3035c5cc05b936e4be4804640c4d155babb5c5cc005a6d3ba0d7a464022a46e675f5e5cc0a1d80a9a9674464061a7;
SET @BorderBinary += 0x5835085b5cc0f5622827da6b4640a625564623585cc0e8667fa0dc6a4640dfde35e84b535cc04d7ff62345664640b8ab5791;
SET @BorderBinary += 0xd14f5cc0211ff46c56694640a70705a568485cc015014eefe26146400377a04e79465cc0215514afb25a4640c845b5882843;
SET @BorderBinary += 0x5cc0d4601a868f504640faee5696e8435cc02504abeae54946409d2cb5de6f405cc048fc8a355c424640f086342a70405cc0;
SET @BorderBinary += 0x2d043928613c464028ee7893df3c5cc051a39064563546401b683ee76e385cc0d0967329ae304640d9567a6ee8345cc081ee;
SET @BorderBinary += 0xccc1df334640a52daef199345cc0459be3dc26344640dcf5d21401355cc0a6b228eca238464006f4c29d0b2f5cc085402e71;
SET @BorderBinary += 0xe43f4640912749d74c2d5cc06211c30e63404640096b63ec84265cc0376c5b94d93e4640404f0306491e5cc037195586713d;
SET @BorderBinary += 0x464021753bfbca185cc0075becf6593946409f3e027ff8165cc03acb2c42b1434640956247e350125cc08a58c4b0c3484640;
SET @BorderBinary += 0xace5ce4c300e5cc097e0d407924546409aec9fa701085cc0c806d2c5a6434640b8ad2d3c2f025cc09944bde0d344464061c2;
SET @BorderBinary += 0x6856b6f75bc0b06ebc3b32484640c1feebdcb4f35bc0836beee87f4146404ad05fe811ed5bc0200725ccb44746401c1465e7;
SET @BorderBinary += 0x7ee75bc0e7ff1cf64f474640c8ee022505e45bc0f1b8a816114746403620425c39e15bc05628d2fd9c4a46404792205c01de;
SET @BorderBinary += 0x5bc09a030473f456464035975a932fdd5bc0da670a0b34594640ae2d3c2f15dc5bc0bea1f0d93a5c4640faf202eca3d85bc0;
SET @BorderBinary += 0x9e25c808a8604640188fc2bf2dd85bc0c12b57ea31604640a86e2efeb6d45bc0b2666490bb5c46403333333333d15bc042cd;
SET @BorderBinary += 0x902a8a554640790261a758ce5bc0682101a3cb4f4640081f4ab4e4cc5bc011381268b04946402907b30930c95bc0d8b5bddd;
SET @BorderBinary += 0x924446404fae2990d9c75bc02330d637303f4640ad16d86322c35bc083f92b64ae3c4640909e228788c35bc096b1a19bfd4f;
SET @BorderBinary += 0x4640869149928ac35bc0ff8f161b485546405e64027e8dc35bc0f6b0170ad85c46403be2900da4c35bc08c683ba6ee6e4640;
SET @BorderBinary += 0xf241cf66d5c25bc0ae81ad122c8046404cc631923db25bc099ba2bbb6080464035b22b2d23ad5bc098840b79047f4640d21e;
SET @BorderBinary += 0x2fa4c3945bc014cd0358e47f4640a0f831e6ae7f5bc04819710168804640622f14b01d735bc0df8c85b35f804640fc19deac;
SET @BorderBinary += 0xc1645bc0577a6d3656804640d2fbc6d79e465bc032755776c18046402672c119fc435bc02aaa7ea5f37f4640b2a2a68cc627;
SET @BorderBinary += 0x5bc0870f3465f57f4640d1b2ee1f0b205bc0828debdff57f46405bd1e2e0e70f5bc040ab4ba3148046405264ada1d4ff5ac0;
SET @BorderBinary += 0xbce82b4833804640b3b9d0245afa5ac004088598328046404e5e64027ed65ac0247ec51a2e804640572426a8e1b85ac0dac9;
SET @BorderBinary += 0xe028797f4640be6bd097de905ac02094f771347f4640044b9c9897815ac0d59778d6b07f464077f86bb246765ac04c86e3f9;
SET @BorderBinary += 0x0c8046406b826c1fe7445ac014022eb8098046400c20463a75425ac04242e58e09804640d9ec48f59d415ac00742b2800980;
SET @BorderBinary += 0x4640dbc2f352b1035ac01f82aad1ab7f4640f981ab3c81025ac07233dc80cf7f4640e6e5b0fb8e025ac03b32569bff8f4640;
SET @BorderBinary += 0x2e39909591025ac0dbe27300409b46407288b83995025ac06b9c4d4700ab46409c89e942ac025ac0471e882cd2be464083df;
SET @BorderBinary += 0x8618af025ac053793bc269c74640187ac4e8b9025ac05f0839efffdf46406116da39cd025ac0a6cf0eb8aeee4640d497c313;
SET @BorderBinary += 0xd3025ac0de718a8ee4f0464042b5c189e8025ac0774a07ebfff846409bab0deae8025ac091bdbd33dd234740d6fecef6e802;
SET @BorderBinary += 0x5ac0488ac8b08a2947404b766c04e2025ac056f2b1bb404147402be9b055e3025ac008aff5283d45474071c84b96e7025ac0;
SET @BorderBinary += 0x311c1ed01a5247404067d2a6ea025ac02e1ede73605b47400b26fe28ea025ac06c94f59b8977474035d07ccedd025ac0bf43;
SET @BorderBinary += 0x51a04f904740f747d354e6025ac0ff8832a141aa47405a457f68e6025ac0315f5e807daa4740b08b8bdde0025ac0ee4f70fc;
SET @BorderBinary += 0xdfb24740baf94674cf025ac0d87f9d9b36cd4740ea77616bb6025ac06b28b517d1e64740c58d5bcccf025ac06649809a5afc;
SET @BorderBinary += 0x47404b79596cd2025ac0ea5fa22680ff47405a2f976cd2025ac0e7389c7080ff4740166c239eec025ac0c5e1ccafe61e4840;
SET @BorderBinary += 0xdc2f937efe025ac080fa81cfd8314840b97020240b035ac09dd2c1fa3f3f484091dee1dd13035ac0cf804451275148409031;
SET @BorderBinary += 0x772d21035ac01c075e2d776c4840d388997d1e035ac0e48233f8fb7f4840693ba6eeca225ac06d01a1f5f07f4840f6f065a2;
SET @BorderBinary += 0x08385ac0c9ffe4efde7f48403820ec4eae435ac08dd509bae67f48404bcadde7f8505ac00f2db29def7f48407c4276dec656;
SET @BorderBinary += 0x5ac0ab0320eeea7f484069fe98d6a6715ac08f6fef1af47f4840ac02b5183c835ac09677d503e67f4840c8c9e8c52c875ac0;
SET @BorderBinary += 0xde09ee63e87f48401b2c9ca4f98e5ac063efc517ed7f48404a404cc285a75ac09c51f355f27f48401be732e582cb5ac0ddb6;
SET @BorderBinary += 0xb71afd7f484083da6fed44d75ac07630629f00804840b9fe5d9f39dc5ac08dea7420eb7f4840cf6740bd19ed5ac0d21742ce;
SET @BorderBinary += 0xfb7f48400b124cc2220f5bc0e0e4b484f17f48408a58c4b0c3225bc0f2afe595eb7f48401e3691990b405bc0908653e6e67f;
SET @BorderBinary += 0x4840d09849d40b505bc0f451465c008048403049d114575f5bc0503afacb0d8048406bb933130c605bc01ccefc6a0e804840;
SET @BorderBinary += 0x0e4a9869fb8a5bc0591135d1e77f48406ced7daa0a9c5bc01f477364e57f484009c4ebfa05a25bc0a453573ecb7f4840f16c;
SET @BorderBinary += 0x76ac90af5bc05becb1b8be7f484098fbe42840c05bc065c6db4aaf7f4840047e572953d15bc07fb8a331a57f4840705cc64d;
SET @BorderBinary += 0x0de05bc03929cc7b9c7f4840fdf9b660a9f65bc0c11bd2a8c07f48406e4be48233095cc08f352383dc7f48406e3409bf630c;
SET @BorderBinary += 0x5cc0b3c0a0bfdb7f484060ac6f6072475cc03d26529acd7f4840ec2fbb270f585cc0a1832ee1d07f4840dead2cd1596c5cc0;
SET @BorderBinary += 0xb6b8c667b27f4840e4a25a44147a5cc08aac3594da7f4840acb6b2985c845cc084fe0be4ea7f484049d8b793888b5cc0465b;
SET @BorderBinary += 0x9544f67f484016c3d50110985cc04e452a8c2d804840d7a546e867ab5cc011a5bdc11780484040af67069bae5cc03e167c20;
SET @BorderBinary += 0x138048408a1c226e4ecd5cc0ad9ffeb3e67f484074b169a510e05cc0d6a6b1bd168048404c8c65fa25035dc0441669e21d80;
SET @BorderBinary += 0x4840;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'MT';
SET @BorderBinary = 0x010300000001000000cf000000d102b4ad66035ac02ee6e786a68e4440dc627e6e68035ac0530262122e8044404835ecf7;
SET @BorderBinary += 0xc4e459c0b35bcb6438804440c2f99bb6b8e459c0d4607f6b3880444014f743be7ad859c04c5fb01d3f804440de3d40f7e5c4;
SET @BorderBinary += 0x59c0b0a888d34980444079ab3e5bd2a959c0ba355feb4880444078704c01bfa759c0614393d9488044407171546ea2a359c0;
SET @BorderBinary += 0x043752b648804440545efc564f8359c0a91a73e34d8044400281cea44d8359c09ca1b8e34d804440f9a23d5e488359c01e30;
SET @BorderBinary += 0x0f99f25f4440e0db3d5e488359c0d6c2126ff25f444082e04367488359c00445f036495944408806ec93488359c033c4922e;
SET @BorderBinary += 0x52384440360baaa3488359c0596a1149b32c4440643f8ba5488359c03c4b9011502b4440e9f010c64f8359c025ab22dc6400;
SET @BorderBinary += 0x44406d003620427559c0228ac91b600044403e20d099b46259c06fd6e07d550044405314874c4e5a59c08eea29a054004440;
SET @BorderBinary += 0x56a5c938d55459c05d60b30f540044406094a0bfd05259c0bda772da530044402499d53bdc4359c0a3c684984b004440514e;
SET @BorderBinary += 0xb4ab903059c0925b936e4b004440722873e7482f59c0ab390e274a0044409d668176871e59c0ee59d768390044406a694ced;
SET @BorderBinary += 0x630c59c0cb0f548b330044404ab54fc7630c59c03fc7478b330044400037f508610b59c062a4ff4e33004440286211c30ef4;
SET @BorderBinary += 0x58c0721b0de02d0044405800a24f35e858c0c2c82b103a004440decc635a05e858c007cd7f413a0044403e59315c1de058c0;
SET @BorderBinary += 0xf0de516342004440fb24e4ea76cb58c03c6d2d1b45004440afe8d66b7ac558c0069fe6e445004440d44255074ac458c0973a;
SET @BorderBinary += 0x173d46004440443407e57cae58c0556c148e4c0044406a300dc347a758c055c1a8a44e0044408d418efd48a058c0f55fdafb;
SET @BorderBinary += 0x4d004440d48bd97e899158c07038f5974c00444094d8b5bddd8458c0c1df2f664b00444051080405a37b58c0625cd2474900;
SET @BorderBinary += 0x444001972478937458c0a886e5a847004440103b53e8bc7158c0b2101d02470044403ee603029d5a58c097c79a9141004440;
SET @BorderBinary += 0x2299fdf4a05758c0be68138c3f00444024d1cb28964058c0b89388f02f00444041939169a63a58c04ebdcca52f0044408db6;
SET @BorderBinary += 0x2a89ec3758c0234a7b832f004440740af2b3913358c0bef06ed72c004440cc7a3194131e58c0373465a71f00444083206b75;
SET @BorderBinary += 0xad1d58c0dee216691f00444028ae8f2e4f0f58c0e003e3a4160044409c8713984e0f58c0653387a41600444069a9bc1de109;
SET @BorderBinary += 0x58c0e0675c3810004440488ac8b08a0158c02fbe688f17004440797235f6ae0058c002392a1717004440622b196970f257c0;
SET @BorderBinary += 0xe00da14b0f00444096900f7a36f257c0d4edec2b0f00444007b607dbc0d557c0772912f200004440c4ebfa05bbd357c05f08;
SET @BorderBinary += 0x39efffff43403526c45c52d657c07a6f0c01c00344408db1135e82d857c021aaf0677803444083a279008bda57c0a94d9cdc;
SET @BorderBinary += 0xef084440d6e3bed53ad957c0f52ede8fdb0d4440745e6397a8db57c08e75711b0d124440342e1c08c9de57c06c41ef8d2118;
SET @BorderBinary += 0x44409272f7393ede57c00da7cccd371e44407a6b60ab04e357c0b5c01e132921444020b5a84e10e357c04b1371e3a2214440;
SET @BorderBinary += 0xc2d4f56915e357c091380a57d8214440dc48d92269e357c000fc53aa442544405f21736550e657c0d48041d2a727444098dc;
SET @BorderBinary += 0x28b2d6e957c09e23f25d4a29444097361c9606e957c0c0249529e62e4440c2db831090e957c0ebabab02b5324440eae5779a;
SET @BorderBinary += 0xcceb57c0070abc934f3b4440936b0a6476ec57c0be9eaf592e3f4440fa9d690096ed57c017d991620a434440ef3499f1b6ed;
SET @BorderBinary += 0x57c044183f8d7b4344405f5e807d74f057c0f302eca35343444023d6e25300f157c0c5ad8218e84a4440dcbb067de9ef57c0;
SET @BorderBinary += 0x657094bc3a4d4440addc0bcc0af257c03eb2b96a9e5344407553ca6b25f657c0048bc3995f57444069c36169e0f857c03927;
SET @BorderBinary += 0xf6d03e5e4440c7f0d8cf62f557c0531f48de396444406e6b2d4064f557c096bbfa0b536444402635b401d8f557c0f3ae7ac0;
SET @BorderBinary += 0x3c6c4440a96400a8e2f357c0067e54c37e7144404073190766f457c0765c55f6ef7244401adcd6169ef557c0001c7bf65c76;
SET @BorderBinary += 0x44400455a35703f557c0c9acdee1767c4440db148f8b6af757c018edf1423a824440d4f431a258f757c01e0739a4c3864440;
SET @BorderBinary += 0x99805f2349f757c058fe7c5bb08a44405e9b8d9598f757c034f0a31af68f44407adc835629f757c0d5858fc984944440bce6;
SET @BorderBinary += 0x559dd5f657c0d192c7d3f2974440e3df675c38fa57c052b9895a9a974440b112d3f03bfa57c0b64bdaf47b98444099b7ea3a;
SET @BorderBinary += 0x54fa57c0b741edb7769e4440041e1840f8f857c08a1bb7989fa34440fd0e45813efb57c045ef54c03da9444084b69c4b71fb;
SET @BorderBinary += 0x57c0b130444e5faf4440434a1c7a59fb57c09b9cee1febb14440242713b70afb57c07a50508a56ba44407dcd72d9e8fe57c0;
SET @BorderBinary += 0xad307daf21bc4440c3e2b5079eff57c001bfe2cae1c044405eb9de36530058c054724eeca1c54440a4a31ccc260558c0d463;
SET @BorderBinary += 0x5b069cc344409947fe60e00558c0291f82aad1c744409f1f46088f0758c038a1100187ce4440d6c39789220758c032e719fb;
SET @BorderBinary += 0x92d54440aa493f74e80658c0363db9d897d644404cc8073d9b0558c0a3e9ec6470dc44407218cc5f210458c0d0d4eb1681e5;
SET @BorderBinary += 0x44403cf88903e80658c0d446753a90eb44409504e4d61d0858c0b90c8635dcee4440fab660a92e0a58c0783f6ebf7cf44440;
SET @BorderBinary += 0xa320787c7b0858c0976e1283c0fc4440a70183a44f0e58c03198bf42e602454028b517d1761158c0719010e50b0645403e79;
SET @BorderBinary += 0x58a8351158c08993fb1d8a0e454097c79a91411658c0676325e659154540969cd0f2941558c0d4d64a30801b45402079e750;
SET @BorderBinary += 0x861558c0fd2fd7a2051c4540e716ba12811558c06de4ba29e521454030d77577861658c007d1905bf423454056b5a4a31c1a;
SET @BorderBinary += 0x58c052b4722f302b4540cb0ef10f5b1a58c0b20fb22c9834454018af7955671858c03561fbc9183b4540ce86fc33831c58c0;
SET @BorderBinary += 0xde37bef6cc3e454012f3aca4152058c09e961fb8ca3d454063f030ed9b2158c054a703594f4145404737c2a2222758c0f372;
SET @BorderBinary += 0xd87dc740454022442442302858c01fbbe3e277434540fd868906292a58c053cdaca58048454061c3d32b652d58c052ee3ec7;
SET @BorderBinary += 0x474d4540815a0c1ea62c58c094313ecc5e5445407f15e0bbcd3158c00c3d62f4dc54454078b130444e3358c0c6a52a6d7159;
SET @BorderBinary += 0x45401dcbbcf5ab3358c0f49557d9af59454019c748f6083a58c004e78c28ed5d4540c6db4aafcd3d58c0e673ee76bd5c4540;
SET @BorderBinary += 0x2883a319004158c032fd8bd3d56045408f537424974158c0a0be654e97614540dc7c23ba674858c0c0eac891ce6245402332;
SET @BorderBinary += 0x6883904a58c05c09b1b1536545400470b378b14d58c08b852172fa684540f430b43a394f58c098f8a3a8336d45401c7c6132;
SET @BorderBinary += 0x555358c049ba66f2cd6e45400f41d5e8d55558c0179e978a8d6d454081919735b15a58c04582a966d66e454037c0cc77f05c;
SET @BorderBinary += 0x58c0506c054d4b6c4540b74acbe0085f58c01fadc4e7cc6c4540f19bc24a056158c08272dbbe476d454043739d465a6658c0;
SET @BorderBinary += 0x827170e9986d4540ae3c4d15ab6858c0c92d6c14086d4540f3e0eeacdd6c58c040bb438a016c454022365838497358c0586f;
SET @BorderBinary += 0xd40ad36d4540f4177ac4e87658c0cf7f0f5ebb6e454067d2a6ea1e7858c02fc1a90f246d45403a765089eb7958c055d80c70;
SET @BorderBinary += 0x416645401fd95c35cf7c58c0abb019e082624540e00f3fff3d8258c047382d78d16145400af9a067b38658c01a51da1b7c67;
SET @BorderBinary += 0x45402176a6d0798958c0809bc58b856b45408315d1fac38958c0514bfbe9aa6b4540444e5fcfd78e58c083a3e4d5396e4540;
SET @BorderBinary += 0xabe97aa2eb9158c0be1072deff6f4540de6d3255b99358c03013757a78714540f92ccf83bb9858c06fb54e5c8e754540e3c0;
SET @BorderBinary += 0xabe5ce9b58c0b4c70be9f0764540b69be09ba69e58c0d4b5f63e557b4540792c3e3ee89f58c0afa058d0d07f454041d13c80;
SET @BorderBinary += 0x45b658c0c408e1d1c67f4540ff0cadfd48d058c0a75d0db4c57f4540a6b715f52de258c046a36fefc47f4540f5d8960167f6;
SET @BorderBinary += 0x58c066683c11c47f45408f72cfcab20c59c000d4e0b4bd7f4540f646cbcfb20c59c00268dfb4bd7f4540143e5b07074059c0;
SET @BorderBinary += 0xb2632310af7f4540fed52358994e59c0cc13e42aba7f454003d3b274478559c0c9ff65d6e37f4540f5559677488559c02e4a;
SET @BorderBinary += 0x2bd7e37f454099f56228279a59c09b1da9bef37f4540645a15f2b1b259c073b9f72f0180454083ce42b00ec059c0376ea181;
SET @BorderBinary += 0x08804540f8e28bf678de59c01171732a198045405e7cda8b53e059c08e9362dd1880454037e2c96e66035ac020ef552b1380;
SET @BorderBinary += 0x45408f8eab915d035ac0c6be64e3c15045404ca13dd15e035ac071cfae5b4e4e4540130ce71a66035ac0b39602d2fe3f4540;
SET @BorderBinary += 0x4b1de4f560035ac0129f3bc1fe1f454040a374e95f035ac0062b4eb516024540be51717460035ac0f8d9db4d380045409df5;
SET @BorderBinary += 0x29c764035ac086e464e256f144405270187d61035ac07883468d56d94440b1169f0260035ac0882b67ef8cce44405ff3645d;
SET @BorderBinary += 0x5e035ac0d39851303ac8444062c092ab58035ac0d9243fe257b2444048c322ac58035ac07b941bd654b24440efe4d3635b03;
SET @BorderBinary += 0x5ac045d7851f9ca34440d102b4ad66035ac02ee6e786a68e4440;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'NE';
SET @BorderBinary = 0x0103000000010000008a000000d920d6914e005ec0752ed14082a8434082751c3f54005ec0645930f147a543408474c21d;
SET @BorderBinary += 0x37005ec04782ff4133954340ea3272d72a005ec0902cfc9a6c8e43400378cd5c20005ec067ba6eb4a3884340a435069d1000;
SET @BorderBinary += 0x5ec048f7730af27f43401092054ce0f95dc034492c2977774340f16261889ce55dc06dab59677c5b434081bd554b77e55dc0;
SET @BorderBinary += 0x75bf5987485b43406704b07e09d55dc0d438dba465444340ff40b96ddfd15dc00168942efd3f4340aa5410fe0fca5dc05738;
SET @BorderBinary += 0xcfcb0a3543403b394371c7bc5dc00a4b3ca06c224340daaa24b20fa05dc02d24607479f94240fa188146649b5dc0cf312c7a;
SET @BorderBinary += 0xb7f24240ed65db696b815dc01210937021cd4240aaab582158755dc0d3d40d1d83bb424028d53e1d8f6b5dc034b8ad2d3cad;
SET @BorderBinary += 0x4240014f5ab8ac4f5dc03a730f09df8342405e68d4c09f4a5dc009f05387507c4240b7eee6a90e405dc0f981ab3c816c4240;
SET @BorderBinary += 0xfef49f353f1f5dc08a58c4b0c33a4240941804560e185dc0bddd921cb02f4240de770c8ffd055dc0d2c6116bf11342405249;
SET @BorderBinary += 0x9d8026f95cc0240a2debfeff4140ffbc02bb26f65cc0ee7da9b155fb414037c34a5b79e95cc0020217eea1e7414036cb65a3;
SET @BorderBinary += 0x73e95cc0c360fe0a99e74140684128efe3d95cc04c6c3eae0dcf4140e4d87a8670d35cc038bd8bf7e3c44140b648da8d3eca;
SET @BorderBinary += 0x5cc08124ecdb49b6414008cbd8d0cdc25cc095f0845e7faa4140ce35ccd078b35cc0334e4354e19141403cdc0e0d8ba85cc0;
SET @BorderBinary += 0x6422a5d93c804140942f682101a85cc06c3f19e3c38841401f680586aca75cc0d3122ba3918f41404a9869fb57a65cc02497;
SET @BorderBinary += 0xff907e8f4140747808e3a7a45cc09d11a5bdc19141402062838593a55cc0ada0698995a1414024473a0323a85cc064ca87a0;
SET @BorderBinary += 0x6ab441404a0c022b87aa5cc03753211e89b941401a34f44f70aa5cc0ee05668522c34140a7406667d1a95cc0d6e07d552ece;
SET @BorderBinary += 0x41408ba8893e1fac5cc0691cea7761d34140378dedb5a0ac5cc03bc43f6ce9dd414090f7aa9509ad5cc0f5673f5244e84140;
SET @BorderBinary += 0x9be3dc26dcaa5cc07c259012bbee414095d5743dd1ac5cc06939d0436df34140454b1e4fcbae5cc0e8154f3dd2f84140f549;
SET @BorderBinary += 0xeeb089af5cc0c495b37746014240330e003792af5cc0547a53907008424091ef52ea92af5cc0971c774a070942406eddcd53;
SET @BorderBinary += 0x1daf5cc00ce4d9e55b0d4240a4e2ff8ea8aa5cc00fb56d18050f424053e8bcc62ea85cc0f92b64ae0c1242401553e9279ca4;
SET @BorderBinary += 0x5cc08fdfdbf4671342404aeb6f09c0a05cc04791b586521342409082a7902b9f5cc0da1d520c901042400e4e44bfb69c5cc0;
SET @BorderBinary += 0x95f1ef332e1042404d840d4faf9a5cc02104e44ba81242404e29af95d0975cc0c4cc3e8f51124240b9347ee195955cc02ea8;
SET @BorderBinary += 0x6f99d30d4240293e3e213b945cc0a88aa9f413084240dcf4673f52915cc014e8137992044240dd5ed218ad8d5cc03c32569b;
SET @BorderBinary += 0xff014240143fc6dcb5895cc088d860e124034240624d6551d8885cc01936cafacd0642407ff6234564865cc0bbb6b75b920f;
SET @BorderBinary += 0x4240718dcf64ff825cc06e15c440d71842404834812216835cc0525f96766a22424006f4c29d0b835cc0f5ba4560ac294240;
SET @BorderBinary += 0x6118b0e42a835cc05fed28ce514d4240c2358bd535835cc0ba6edd0fec6b42405e4bc8073d835cc04c86e3f90c80424072a6;
SET @BorderBinary += 0x09db4f835cc05fed28ce518b4240828fc18a53835cc0162d40db6aa44240dbdd03745f835cc04a969350fabe42402afd84b3;
SET @BorderBinary += 0x5b835cc0eeb3ca4c69cd42406e5a81b35b835cc0a8ee2e5269cd42406612f5824f835cc001f566d47cdf4240067fbf982d83;
SET @BorderBinary += 0x5cc0d6dea7aad0f042403a3e5a9c31835cc09293895b051343405c92037635835cc072a774b0fe1f43400838842a35835cc0;
SET @BorderBinary += 0xff06edd5c7334340de701fb935835cc0b69c4b7155494340506b94f829835cc068fc47ceb3564340499c155113835cc0b01c;
SET @BorderBinary += 0x21037970434094861a8524835cc0b56ad784b48043400455a35703835cc09b6ed921febf4340c25f300505835cc04bd8529f;
SET @BorderBinary += 0x78c5434081936de00e835cc04be5ed08a7e54340e62f297206835cc0d45b9e0ef9f34340813ffcfcf7825cc061342bdb870c;
SET @BorderBinary += 0x4440c245b5c5f7825cc0a2006996f70e4440dcf29194f4825cc02c499eebfb324440c91ccbbbea825cc07c293c68763f4440;
SET @BorderBinary += 0x990d32c9c8825cc058ace122f75c4440282cf180b2825cc0c5353e93fd7f44401c615111a7825cc0dcd6169e979a44404452;
SET @BorderBinary += 0x0b2593825cc097e2aab2efbe4440f984ecbc8d825cc04fac53e57be044406d1ff296ab825cc0c8b08a3732ff4440b4cd8de9;
SET @BorderBinary += 0x09925cc0d89c836742ff4440aad1ab014aa65cc09141ee224cff44401d8f19a88cb95cc0effca204fdff44407f4413ad72c2;
SET @BorderBinary += 0x5cc09ebc6333d3ff4440dd7d8e8f16d45cc04739984d80ff4440f20698f90ee85cc019c5724babff44407026a60bb1f75cc0;
SET @BorderBinary += 0xe3e13d0796ff444068942efd4b155dc0aaed26f8a6ff4440e08101840f285dc0cc5b751daaff4440a360e7ad2b415dc03895;
SET @BorderBinary += 0x2fc5faff444036902e36ad415dc079cc4065fcff4440b64df1b8a84c5dc047c9ab730c00454064cf9ecbd4595dc0239c16bc;
SET @BorderBinary += 0xe8ff444016a06d35eb675dc04f9143c4cdff4440a8c821e2e6775dc0e0b9f770c9ff444061889cbe9e8c5dc044a33b889dff;
SET @BorderBinary += 0x4440c24eb16a10a05dc08e7747c66aff4440bc3e73d6a7b15dc01b800d8810ff4440e62494be10c05dc032ffe89b34ff4440;
SET @BorderBinary += 0x4c1aa37554cd5dc0d711876c20ff4440ac626e69bfd45dc05d68fa5037ff44401e7151340dd75dc0007f2a6d3eff444078ee;
SET @BorderBinary += 0x3d5c72ee5dc05c9198a086ff44406ccd565ef2ff5dc02c4833164dff44405feb5223f4ff5dc04948a46dfcef44400e10ccd1;
SET @BorderBinary += 0xe3ff5dc0687407b133cf44407898f6cdfdff5dc03ba8c4758c9744408f899466f3ff5dc0ce5147c7d56e444092eba694d7ff;
SET @BorderBinary += 0x5dc0bc564277495c4440cdafe600c1ff5dc085eb51b81e294440a1832ee1d0ff5dc05436aca92c1044402cd8463cd9ff5dc0;
SET @BorderBinary += 0xf1ba7ec16efa4340b8e83ff1feff5dc0140c82d477dc434015c616821c005ec02db1321af9c443409eb735a031005ec088ea;
SET @BorderBinary += 0x8e42f7b84340d920d6914e005ec0752ed14082a84340;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'NV';
SET @BorderBinary = 0x01030000000100000083000000713ac956972352c01b0c7558e16e4540ad86ea64732352c0416eb7efd56d4540fc3a70ce;
SET @BorderBinary += 0x882252c01b6327bc046745400f45813e911e52c02b9fe579706145400e661360581d52c0efffe384095d4540ffc60464e11c;
SET @BorderBinary += 0x52c0f830b7f3025d4540ef8e96645e1a52c0a0309376df5c45406a6129271c1252c0501dbdc56a5c4540eaf55930090d52c0;
SET @BorderBinary += 0x57633814235c45401c60e63bf80752c05437177fdb5b454039184263350552c02c6549ddb45b4540108560cd71fb51c05337;
SET @BorderBinary += 0x76402c5b454038dfb28a84f951c08261084b115b4540b94e4b048cf351c06464c0c0bd5a454041f33977bbef51c067f16261;
SET @BorderBinary += 0x885a454078d0ecbab7e851c0e2ab1dc5395a45400394861a85d651c029c93a1c5d59454075543541d4d251c0ccd1e3f73659;
SET @BorderBinary += 0x45406cec12d55bd051c02b11a8fe415e45401e0c8fcc53d051c0d0c69641425e454069768ebab4cf51c0180bf36e475e4540;
SET @BorderBinary += 0x24d40ca9a2cb51c0a6ed5f59695e4540e869c020e9cb51c04a27124c356545403d47e4bb94c951c0b69f8cf1616845401253;
SET @BorderBinary += 0x7aa178c751c0628caab6ed674540b6d782de1bc451c0f10f5b7a34674540c75bf6071ec351c0dc0283c2606a45408fa67a32;
SET @BorderBinary += 0xffc151c03aaddba0f66d454060e5d022dbbd51c0b8ca13083b6f45409109f83592bb51c05fb35c363a714540d34d621058b7;
SET @BorderBinary += 0x51c08b8a389d646f4540b4c9e1934eb451c05d50df32a76f4540fc3f3a98eeb351c0b795bb21be714540215a2bda1cb351c0;
SET @BorderBinary += 0xe90ab6114f764540800bb265f9b051c0d9976c3cd87c4540747d1f0e12af51c03ffd67cd8f8145408315a75a0bad51c0d93d;
SET @BorderBinary += 0x7958a8874540b872f6ce68b051c04609fa0b3d8a45403ee6d87e73b451c0e15e5408c68f454054742497ffb451c08c2fdae3;
SET @BorderBinary += 0x85904540512d228ac9b451c0774a07ebff9645406f354324c9b451c07ae4387a02974540663046240ab451c0cb7edde9ce9b;
SET @BorderBinary += 0x4540bb7ec16ed8b751c078793a5794a24540008bfcfa21bb51c0c76471ff91a94540b9533a58ffbe51c0118e59f624b04540;
SET @BorderBinary += 0x62f20698f9bd51c048ddcebef2b6454070b8b5907dbd51c045278bf0aebc4540512cb7b41abd51c0bbb7223141c14540b9b8;
SET @BorderBinary += 0x4fceaebd51c0459cbb2326c54540f0129cfa40be51c0b3b0a71dfec84540081c0934d8be51c0eee6a90eb9d945402adf5f3c;
SET @BorderBinary += 0x2fbf51c0be03a02880e545402b172aff5abf51c08d43fd2e6ceb4540cb129d6516c051c06de4ba29e50b4640109370218fc0;
SET @BorderBinary += 0x51c08f31772d21214640e8acff2ba8c051c0c86a127473244640425bcea5b8c051c0d636c5e3a2264640742e7777dec051c0;
SET @BorderBinary += 0x07c5e5e1a12b464016872aea3ec151c03850d1a35f384640750470b378c151c0340d8ae60140464061a6ed5f59c251c0e2c8;
SET @BorderBinary += 0x0391455e4640b0ad9ffeb3c351c0e1b20a9b018046405ed6c4025fc551c0e7c3b30419a746406bb6f292ffc651c0191bbad9;
SET @BorderBinary += 0x1fa446403385ce6becc851c099266c3f199f46402f6b6281afcb51c02a8a5759db9e4640e63922dfa5cf51c01de4f56052a2;
SET @BorderBinary += 0x46408099efe027d251c07592ad2ea7a646400d36751e15d751c078280af489a24640aaf23d2311dc51c07dceddae979e4640;
SET @BorderBinary += 0x2385b2f0f5d951c0f487669e5c9946402348a5d8d1da51c0232e008dd2954640d21bee23b7dc51c09b1da9bef38d4640fb56;
SET @BorderBinary += 0xebc4e5df51c035ed629ae9884640c11a67d311e051c061c26856b6814640f758fad005e251c068925852ee7c4640d5027b4c;
SET @BorderBinary += 0xa4df51c031242713b774464032aa0ce36ee151c0817a336abe704640ace4637781e451c07920b248136746405b24ed461fe8;
SET @BorderBinary += 0x51c0a5643909a55f4640e20511a969e551c032aeb8382a554640f59eca694fe351c07b849a2155504640bd378600e0e251c0;
SET @BorderBinary += 0x69a510c8254a464000e48409a3e551c08a8ee4f21f464640f0a1444b1ee551c017edf1423a4046408d0c721761e951c0da8d;
SET @BorderBinary += 0x3ee6033c4640bf09850838ec51c04cfbe6feea3546408d8b9612c8f051c07abb90fbaf33464063cf9ecbd4f151c09bfc169d;
SET @BorderBinary += 0x2c33464036ae7fd767f451c0d13deb1a2d2d4640f432ea289cf551c0f57d34c0842c4640b131af230ef851c06553aef02e2b;
SET @BorderBinary += 0x4640e998f38c7dfc51c0ca3505323b2b4640ab949ee9250052c09b35785f9529464052efa99cf60252c075feedb25f254640;
SET @BorderBinary += 0xe8137992740352c01b446b459b1f4640210038f6ec0352c0662e7079ac174640543150e6710352c01a9df3e274144640d1b1;
SET @BorderBinary += 0x834a5c0252c0514cde00330d464093533bc3d40452c0ebfd463b6e0446403be02368170552c097966e49e403464019e660ce;
SET @BorderBinary += 0x1d0552c0a8407e0ad7034640ce4f711c780752c075914259f8fe4540b29defa7c60652c0d9e6c6f484f94540f4e0eeacdd0a;
SET @BorderBinary += 0x52c02041f163ccef4540c3d155babb0b52c090300c5872e74540c1a13240890d52c09982cf4cf2e24540251de560360e52c0;
SET @BorderBinary += 0x55be672442e145402f2fc03e3a1252c05caca8c134dc4540005471e3161552c0c30e63d2dfcd45406aee0ca4561552c06157;
SET @BorderBinary += 0x092688cd4540d5b2b5be481852c0df52ce177bc94540874f3a91601852c07405db8827bf4540a8a081db661952c0eec7d691;
SET @BorderBinary += 0xe9b64540c0e3d42f671952c0605f7eebe6b64540cafacdc4741a52c08cf50d4c6eae4540fbe59315c31952c070253b3602a9;
SET @BorderBinary += 0x45402c634337fb1a52c04832ab77b8a14540751ef807c11b52c0d2990202cc9d4540f834272f321c52c0a52a6d718d9b4540;
SET @BorderBinary += 0xb503f41ad31c52c084e882a4a49445401d91ef52ea1c52c06a32e36da5934540de205a2bda1b52c09b8e006e168b45400da9;
SET @BorderBinary += 0xa278951d52c03e03eacda8854540d0e12cfdec1c52c04e961854a0824540389ecf807a1c52c021ca17b490804540e54691b5;
SET @BorderBinary += 0x861f52c01805c1e3db7b4540e658de550f2252c0463d44a33b7a45409f758d96032252c0bbb88d06f0724540713ac9569723;
SET @BorderBinary += 0x52c01b0c7558e16e4540;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'NH';
SET @BorderBinary = 0x010300000001000000a5000000317898f6cde352c06e50fbad9dd04340cb4a9352d0e252c040355eba49cc434036e7e099;
SET @BorderBinary += 0xd0e052c0448b6ce7fbc9434095b88e71c5e152c0572250fd83c443403e5a9c31cce152c002d71533c2bf4340e063b0e254e2;
SET @BorderBinary += 0x52c07170e998f3ba43403b6d8d08c6dd52c0dc9db5db2eb84340adbeba2a50dc52c0d13c80457eb34340752fe2e1b1da52c0;
SET @BorderBinary += 0x07404cd3c7b143405e4a5d328ed952c05b94d92093b0434032755776c1d652c0f7e5cc7685ac434094f59b89e9d452c0c9e6;
SET @BorderBinary += 0xaa798eaa43400dde57e542d252c0d7bfeb3367a543401de38a8ba3cf52c0cd3b4ed191a44340ab048bc399cd52c024eeb1f4;
SET @BorderBinary += 0xa1a14340a29410acaaca52c0c0eb33677d9c434051dcf126bfc852c0645930f147974340132ba391cfc552c038f7578ffb9a;
SET @BorderBinary += 0x4340fed137691ac352c09ab0fd648c9b4340edd5c743dfbf52c0852172fa7a984340bae8a7e991ba52c0f47217069e964340;
SET @BorderBinary += 0x7afd497ceeb952c0a3cc0699649643406344a2d0b2b852c04ae9995e62924340a4a487a1d5b952c0edbab722318b4340bd33;
SET @BorderBinary += 0xdaaa24bd52c0205d6c5a298043405a1135d1e7bd52c0a454c2137a7743409e5f94a0bfbb52c0795be9b5d9764340ffb0a547;
SET @BorderBinary += 0x53b752c06a6ad95a5f7843407a3881e9b4b352c03fc7478b337e434020787c7bd7b152c0d6355a0ef482434001c287122dad;
SET @BorderBinary += 0x52c03046240a2d8d4340484c50c3b7ad52c009f7cabc558f434069e388b5f8aa52c0b0e07ec00397434074b0fecf61a952c0;
SET @BorderBinary += 0xe257ace1229b4340b8ad2d3c2fa552c055116e32aaa243407a3d947f9fa252c08e8d488b62a64340a8893e1f65a152c0137b;
SET @BorderBinary += 0x681f2ba8434088d4b48b699a52c0d0effb372fae434061fd9fc37c9752c0d0b7054b75b343400ff10f5b7a9352c06d6e4c4f;
SET @BorderBinary += 0x58bc434044c02154a99252c00282397afcc04340d6dac9fe9f9252c07a43f34212c14340b91803eb388c52c00a12dbdd03d0;
SET @BorderBinary += 0x43401fdac70a7e8652c0218fe046cae043403056a9cc7c8652c05879b5a5d4e04340052ffa0ad28552c07ec2d9ad65e64340;
SET @BorderBinary += 0xb4ad669df18452c0a4f9635a9bf44340dae1afc91a8452c022533e0455fd43405d1adcd23c8252c0b090877b210d44407afd;
SET @BorderBinary += 0x497cee8152c0d7be805eb80f4440521713f50f8052c02e584584ca1b4440b1868bdcd37e52c0429259bdc32344402bbd361b;
SET @BorderBinary += 0x2b7e52c0295778978b2c4440f6b182df867e52c0c2137afd493444406a11514cde7f52c05d86ff74033d4440db6cacc43c81;
SET @BorderBinary += 0x52c0d63730b9513c44401b800d88108352c0310400c79e35444080d4264eee8652c0ba2d910bce3844407619fed30d8a52c0;
SET @BorderBinary += 0xaad1ab014a394440f834272f328d52c0230f4416693844401efaee32638e52c09a15b0eb6f394440a88b14cac29052c0a320;
SET @BorderBinary += 0x787c7b3b4440957ec2d9ad9052c0a12aa6d24f4044406cb3b112f38f52c00c1d3ba8c4454440d45fafb0e08d52c07c7a6ccb;
SET @BorderBinary += 0x804744409ca56439098d52c017d1764cdd4b4440b4ad669df18c52c061f9f36dc1504440dfce49d0ce8c52c0ac9b8614e150;
SET @BorderBinary += 0x44409f55664aeb8a52c0f9bb77d498524440f70c4bd83f8a52c0096ca2a2b25244402ec6c03a8e8552c02a1a6b7f67534440;
SET @BorderBinary += 0x6296c3568a8452c052b2511467554440a5ffa687558452c0a9130408cf5544403eeb1a2d078352c0fe7f9c30615844405afb;
SET @BorderBinary += 0x2980018352c02bb4619477584440d2d3cc4da28252c069211520ef594440a36499b5fa8152c012adb746845c44404d4b1836;
SET @BorderBinary += 0xa18152c0e8d74c57e55d44402f47a2e2808152c0c00c86dd645e4440514d49d6e18052c0798f334dd86044405a50a397057f;
SET @BorderBinary += 0x52c0e02f633510664440b208ad45287e52c08921cb077d6844402976340ef57d52c0e2e995b20c694440f503943bd07d52c0;
SET @BorderBinary += 0xe8aaae4091694440546b5196a37c52c0899f4085cb6d4440efffe384097c52c0056c0723f66f4440f31fb147d57b52c0fea4;
SET @BorderBinary += 0x4fa4fa704440b7cc9d69027b52c0ab8c6031167544405ae56a01e97a52c0e0016de494754440271422e0107a52c0ce1abcaf;
SET @BorderBinary += 0xca794440e413b2f3367952c0ac55bb26a47f44409204b1ff367952c02eead330a47f4440aed7f4a0a08252c003cb11329087;
SET @BorderBinary += 0x4440ce474177a88d52c0a187a4f01e914440e1b20a9b018f52c0c2137afd49924440a565a4de539352c02fbe688f17964440;
SET @BorderBinary += 0x944a1d68749752c0dbdb33b51a9a444010cb660e499d52c0598638d6c59f444015e2917879ac52c04aeb6f09c0ad44403255;
SET @BorderBinary += 0x302aa9b052c06f8104c58fab4440f10f5b7a34b452c0bed6a546e8a54440c2d8429083b752c045813e91279d44407fa0dcb6;
SET @BorderBinary += 0xefb952c05184d4edec934440f04e3e3db6be52c0f4dc4257228e444098e8e766e9be52c003dd3818948d4440dcf77c4183bf;
SET @BorderBinary += 0x52c09ddfe256e88b4440f1643733fac052c02783a3e4d58744409354a69883c452c09886e123628244408c63247b84c852c0;
SET @BorderBinary += 0xed9c6681767d44409fde8264e3c752c0e76bba218f7b4440910a630b41c652c0eb71df6a9d7644409a7add2230c452c0f353;
SET @BorderBinary += 0x1c075e71444070cb4752d2c552c01c98dc28b26c4440f59cf4bef1c652c0ea0775914265444099905aca15c752c0af8f227c;
SET @BorderBinary += 0x26654440b3b27dc85bcb52c08ee4f21fd26144404c3448c153cc52c042075dc2a15b4440644a212347cc52c0471fb6deaf56;
SET @BorderBinary += 0x4440d026874f3acc52c0f165a208a951444053c2fe721ccc52c0d4b51894f54d44407434706e0bcc52c032ffa9a1d94b4440;
SET @BorderBinary += 0x00fdbe7ff3cb52c0b612ba4be2484440c7f2ae7ac0c852c08d25ac8db1494440d368723106c552c0894336902e464440677b;
SET @BorderBinary += 0xf486fbc352c05bcb64389e3d44403909a52f84c452c055a4c2d8423a44405fcfd72c97c352c0207d93a64135444089b0e1e9;
SET @BorderBinary += 0x95c152c02f34d769a43344402e5393e00dbe52c001f6d1a92b33444077f4bf5c8bbc52c01155f833bc2d44407254df2966bb;
SET @BorderBinary += 0x52c0ba89a27f7f2b44409509bfd4cfb952c0c0b167cf65284440ca30ee06d1b652c03a5794128223444082fc6ce4bab452c0;
SET @BorderBinary += 0x76dcf0bbe91e4440240b98c0adb052c0a6f0a0d9751944404c58480ee5af52c0eb737fb2a51744406b2a8bc22eae52c01de6;
SET @BorderBinary += 0xcb0bb01344401cea814f7bae52c0ab3e0b2f6113444086aa984a3fb152c091b8c7d28710444066a208a9dbb452c0dcd26a48;
SET @BorderBinary += 0xdc0f4440643f8ba548b752c0bbb376db850a44402c7e5358a9bb52c0e4d70fb1c108444048ac984043be52c0910848e3f305;
SET @BorderBinary += 0x444090f63fc05abf52c0f9635a9bc60444401d3a3defc6c352c09b711aa20aff4340d570602bd9c352c07b247037fafe4340;
SET @BorderBinary += 0xdd41ec4ca1c752c03e95d39e92fb4340705af0a2afc852c017d34cf73af9434078280af489c852c001a08a1bb7f243406e19;
SET @BorderBinary += 0x93470dc952c0e58ccfea6bf243409cda19a6b6cb52c0ccd24ecde5f04340ed447c3c84cd52c082392015eaee43404ca60a46;
SET @BorderBinary += 0x25ce52c0899466f338ee4340e121474690d052c08f4e52f465ed43409a5b21acc6d252c07cb779e3a4ec4340b77a4e7adfd5;
SET @BorderBinary += 0x52c0fcdd3b6a4cec4340dbc7826781d652c02a695c4989eb4340073f61eefad852c0e77f1cdc8de84340fdf3346090da52c0;
SET @BorderBinary += 0x40852348a5e6434008ff97ed39dc52c0d7c06dcef0e3434072e0d57267dd52c003ed0e2906e24340bbd05ca791de52c0809b;
SET @BorderBinary += 0xc58b85db434073d9e89c9fe052c0232e008dd2d74340a4a99ecc3fe252c014cac2d7d7d24340317898f6cde352c06e50fbad;
SET @BorderBinary += 0x9dd04340;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'NJ';
SET @BorderBinary = 0x010300000001000000680000001c08c90226435bc099982ec4eacb3f401bd7bfeb33435bc0c6dadfd91e553f402e3c2f15;
SET @BorderBinary += 0x1b375bc061f8889812553f4045f295404a2d5bc0505260014c553f4008759142590d5bc061a6ed5f59553f4020b75f3e590d;
SET @BorderBinary += 0x5bc008707a17ef7f3f40b0abc953560d5bc0a52daef199c83f407a37161406db5ac0a52daef199c83f40209d3e2effd25ac0;
SET @BorderBinary += 0x9d576eab9bc83f40c5c8923996bf5ac0253ca1d79fc83f403dd175e107a25ac0e2016553aec83f40ea9788b7cea15ac084ed;
SET @BorderBinary += 0x27637cc83f4074ee76bd34a55ac0a704c4245cd03f408d0b0742b2a85ac09201a08a1bdf3f40b476db85e6a75ac09b6ed921;
SET @BorderBinary += 0xfee93f401db0abc953a85ac076fa415da4f83f402bc24d4695a75ac0e0675c38100040403f7dcb8023985ac09225e2a22800;
SET @BorderBinary += 0x4040c1559e40d88c5ac0ca4faa7d3a004040e5af64c2de7f5ac0d33c11b440004040f6f065a208705ac070ed444948004040;
SET @BorderBinary += 0xef71a609db495ac0805f234910004040c6b5bd65c53a5ac07dd8fb770f004040e9c799a641365ac0b3da62390f0040400b08;
SET @BorderBinary += 0xad872f295ac08d4127840e0040402c4487c091015ac023d6e25300004040cb1c4fd1bbfe59c095c39313010040405d522439;
SET @BorderBinary += 0x43ee59c0ee24046d050040401f477364e5d459c023f3c81f0c0040400e87a5811fc459c098874cf9100040405378227f1fc4;
SET @BorderBinary += 0x59c0c30ab77c240b404025c9737d1fc459c0a4dc7d8e8f124040a60bb1fa23c459c09e996038d74240409a43520b25c459c0;
SET @BorderBinary += 0x4fcde506434b4040b037312427c459c019c8b3cbb76c40409de3f2df0fc459c0962d73eac37a40400ed940bad8c359c099bb;
SET @BorderBinary += 0x96900f9c4040e66d799d9dc359c06a8c968eb7b14040535c55f65dc359c0ae10566309c940402c6684b707c359c0166a4df3;
SET @BorderBinary += 0x8ee94040933655f7c8c259c00ef27a30290a4140447a53c0c9c259c069c9dd59710e4140d8689e34cec259c091cd7f31bc26;
SET @BorderBinary += 0x4140065d7e71cec259c0b4451730082841409032e202d0c259c042041c4295304140e4d70fb1c1c259c022533e04554f4140;
SET @BorderBinary += 0x161230babcc259c026a77686a95f4140257f9f3bbcc259c0ebbf5cfa1f7a41407c0bebc6bbc259c014cb2dad869241408df9;
SET @BorderBinary += 0xa340bac259c0a9bb72b27197414027c11bd2a8c259c0b3976da7adcf41404efeca97a5c259c0bdfb0d87a0de4140153944dc;
SET @BorderBinary += 0x9cc259c0d95c35cf11074240b83a00e2aec259c04c5299620e4042408099efe027c059c01d0247020d404240651c23d923c0;
SET @BorderBinary += 0x59c0526342cc254d4240afe9414129c059c0c85bae7e6c5642403df19c2d20c059c08d2958e36c7442405f45460724c059c0;
SET @BorderBinary += 0xa54c6a6803804240b6daf3bd82c559c0b47d168efb7f4240f838d384edee59c03f7100fdbe7f4240f7e7a0b180005ac0aa9b;
SET @BorderBinary += 0xce677c7f42408e739b70af155ac03737a6272c7f4240202a8d98d92e5ac097a77345297f4240d656ec2fbb475ac0e7c2482f;
SET @BorderBinary += 0x6a7f424048166b38ec495ac05df3e5b46b7f424093a5be831e4e5ac03257f39e6e7f42406667d13b15505ac0f65d11fc6f7f;
SET @BorderBinary += 0x4240b0389cf9d55a5ac03fc39b35787f42405b272ec72b625ac0b6f3fdd4787f424013622ea9da6d5ac08d60e3fa777f4240;
SET @BorderBinary += 0x2afa4468fb6d5ac06ace1ce1777f42403fabcc94d67f5ac0f37002d3697f4240a21aa0b16c805ac0dcbc15cb687f4240dbbe;
SET @BorderBinary += 0x47fdf5955ac0de59bbed427f424023ee8ab37a9e5ac07b3936fd337f4240438cd7bcaab75ac09dd9aed0077f4240b742588d;
SET @BorderBinary += 0x25b85ac0213a048e04804240855d143df0da5ac0126bf12900804240f5e27745f0da5ac07b63f12900804240a8106dc7d4de;
SET @BorderBinary += 0x5ac06a266c260080424007280d350a005bc0d07b630800804240f1dd6dc045185bc006eac3bcf17f4240861a8524b3275bc0;
SET @BorderBinary += 0xb228eca2e87f4240ba8102efe4425bc07afa08fce17f4240304ad05fe8425bc07e384888f26f4240a4de5339ed425bc0af5b;
SET @BorderBinary += 0x04c6fa0e424039c4848fef425bc0f82737a04c00424031b5a50ef2425bc0aa8251499df04140e17b7f83f6425bc08444dac6;
SET @BorderBinary += 0x9fce41405a65a6b4fe425bc08f5033a48aae41408ca3a176f7425bc0e123bc085c9641404a5f0839ef425bc0f6b0170ad87a;
SET @BorderBinary += 0x4140718cb8f0f3425bc0781ce835264a41407dea58a5f4425bc0655419c6dd424140c8ebc1a4f8425bc0522635b401f04040;
SET @BorderBinary += 0x44d0d89dfb425bc0b7594b1e9de34040a3ca30ee06435bc077baf3c473b44040508a56ee05435bc01b81785dbf9a40407b85;
SET @BorderBinary += 0x05f703435bc0e42cec6987634040c90807f703435bc02eb28861876340406bb933130c435bc01f62838593364040c4211b48;
SET @BorderBinary += 0x17435bc04869368fc30a40401c08c90226435bc099982ec4eacb3f40;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'NM';
SET @BorderBinary = 0x01060000000200000001030000000100000005000000d2c26515360152c018b0e42a16a34440ee59d768390252c08d4127;
SET @BorderBinary += 0x840e9e4440800f5ebbb4fa51c0e9b303ae2ba0444083f755b950fb51c0d0ecbab722a54440d2c26515360152c018b0e42a16;
SET @BorderBinary += 0xa3444001030000000100000049010000e38920cec3f053c0d13fc1c58a224540f9635a9bc6f053c08bdd3eabcc1045404241;
SET @BorderBinary += 0x295ab9f053c0d87dc7f0d8ff4440dc32efee17e753c07a460e80cfff4440a51133fb3cde53c0c408e1d1c6ff4440c4fe87c1;
SET @BorderBinary += 0xebc353c07a085cedd9ff4440e7357689eabe53c09aaf928fddff4440a19a1d8fceba53c098d9159de2ff4440234a7b832fa6;
SET @BorderBinary += 0x53c0e48233f8fbff444064048862b89353c0c40b1d90e1ff4440d7a205685b9153c011e0f42edeff4440bcb6f2fb388d53c0;
SET @BorderBinary += 0xc1852720e2ff4440cbd8d0cdfe8153c0e010aad4ecff44409ed2c1fa3f7553c0b3226aa2cfff4440916b47defe6f53c02375;
SET @BorderBinary += 0xe037d7ff4440e764ce910a6753c09b897524e4ff444084d382177d4053c02d228ac91b004540d6a2ff7fce3d53c09a0d98ab;
SET @BorderBinary += 0x1900454089536873513b53c093f2c0b417004540c5538f34b82353c027f73b1405004540cb052d1db02353c078e985df0400;
SET @BorderBinary += 0x4540c5225623461e53c08761919ae1ff4440b4ab90f2931d53c0656ebe11ddff44404ce2e62e500953c0527d34dbdaff4440;
SET @BorderBinary += 0xf4a62215c60653c08aac3594daff44404818062cb9f752c01f2a8d98d9ff4440f19a223266e352c0d8abf2e7e8ff4440b476;
SET @BorderBinary += 0xebeaebde52c05a277047ecff4440e3defc8689de52c05d328e91ecff4440e8b5f0f107d752c0c5ab651931ff444045b6f3fd;
SET @BorderBinary += 0xd4d552c03731242713ff4440cb0d863aacd252c0d026874f3af94440ce6bec12d5d052c0983270404bf14440782634492ccc;
SET @BorderBinary += 0x52c0f62686e464ee4440dc792cf562c952c0dfba2dedd0ec444055d80c7041c752c003e8f7fd9beb4440849b8c2ac3c452c0;
SET @BorderBinary += 0xa112d731aee64440ed65db696bc352c0a67f492a53e044401bd47e6b27c352c0c745b58828d24440bc60ffeaf4c252c0e6fd;
SET @BorderBinary += 0xaf2348cd4440cb7edde9cec252c01b1021ae9cc94440eca17dace0be52c088450c3b8cbf4440d8ee1ea0fbb852c0bd8a8c0e;
SET @BorderBinary += 0x48ba44407269fcc22bb352c0c18bbe8234b74440f641fbc166b052c0b63bde7ebcb64440cc43a67c08af52c02906483481b6;
SET @BorderBinary += 0x444015e2917879ac52c04aeb6f09c0ad444010cb660e499d52c0598638d6c59f4440944a1d68749752c0dbdb33b51a9a4440;
SET @BorderBinary += 0xa565a4de539352c02fbe688f17964440e1b20a9b018f52c0c2137afd49924440ce474177a88d52c0a187a4f01e914440aed7;
SET @BorderBinary += 0xf4a0a08252c003cb1132908744409204b1ff367952c02eead330a47f4440e413b2f3367952c0ac55bb26a47f4440271422e0;
SET @BorderBinary += 0x107a52c0ce1abcafca7944405ae56a01e97a52c0e0016de494754440b7cc9d69027b52c0ab8c603116754440f31fb147d57b;
SET @BorderBinary += 0x52c0fea44fa4fa704440efffe384097c52c0056c0723f66f4440546b5196a37c52c0899f4085cb6d4440f503943bd07d52c0;
SET @BorderBinary += 0xe8aaae40916944402976340ef57d52c0e2e995b20c694440b208ad45287e52c08921cb077d6844405a50a397057f52c0e02f;
SET @BorderBinary += 0x633510664440514d49d6e18052c0798f334dd86044402f47a2e2808152c0c00c86dd645e44404d4b1836a18152c0e8d74c57;
SET @BorderBinary += 0xe55d4440a36499b5fa8152c012adb746845c4440d2d3cc4da28252c069211520ef5944405afb2980018352c02bb461947758;
SET @BorderBinary += 0x44403eeb1a2d078352c0fe7f9c3061584440a5ffa687558452c0a9130408cf5544406296c3568a8452c052b2511467554440;
SET @BorderBinary += 0x2ec6c03a8e8552c02a1a6b7f67534440f70c4bd83f8a52c0096ca2a2b25244409f55664aeb8a52c0f9bb77d498524440dfce;
SET @BorderBinary += 0x49d0ce8c52c0ac9b8614e1504440b4ad669df18c52c061f9f36dc15044409ca56439098d52c017d1764cdd4b4440d45fafb0;
SET @BorderBinary += 0xe08d52c07c7a6ccb804744406cb3b112f38f52c00c1d3ba8c4454440957ec2d9ad9052c0a12aa6d24f404440f7add689cb8c;
SET @BorderBinary += 0x52c017b5fb55804144404a41b797348752c08218e8da174644406762ba10ab8352c085ed27637c4c44408b9beb1b6e8252c0;
SET @BorderBinary += 0x1fcde20e774b44401993eaf5568252c01e5febf8634b44404e417e36727f52c005a3923a014944402094b79a527e52c0a48f;
SET @BorderBinary += 0x3e16ca4744405dfa97a4327c52c08a90ba9d7d454440be79cae4d47452c005b1f744bf4944404d309c6b987152c0a968acfd;
SET @BorderBinary += 0x9d4b4440968bb02f0a7052c0935983d46e4b4440397cd289046952c0a52daef1994a44405ddc4603786052c0170b43e4f44b;
SET @BorderBinary += 0x44406d257215085f52c0549cc1ffa34c444052abd26e225b52c05fc7e2ce7e4e4440122c0e677e5652c063105839b4504440;
SET @BorderBinary += 0x03e8f7fd9b5352c0dc65bfee744f444068cbb914574d52c0eac891cec050444039f59263594952c0376f0d7fbd5244409d2e;
SET @BorderBinary += 0x8b89cd4052c0cbd8d0cdfe564440664d2cf0153b52c0a96917d34c5b44403b545392753052c06281afe8d6614440c8073d9b;
SET @BorderBinary += 0x551952c02c6002b7ee6e4440a9dbd9571e1352c0c32cb4739a7344403ba92f4b3b0652c0ed647094bc7a4440ab06616ef7fb;
SET @BorderBinary += 0x51c0d425e318c98044402618ce35ccf651c0dd94f25a09894440b5db2e34d7fa51c0d2e28c614e8a4440ed9925016afd51c0;
SET @BorderBinary += 0xf0a1444b1e894440ca6fd1c9520352c096afcbf09f82444084b70721200652c03baa9a20ea86444008c6c1a5630552c02ae1;
SET @BorderBinary += 0x09bdfe8c44406f1118eb1b0852c040bfefdfbc8e44405da5bbeb6c0a52c043c9e4d4ce8644408dea7420eb0d52c0ce6dc2bd;
SET @BorderBinary += 0x328544407f2e1a321e1252c0d51f6118b0884440448a01124d1052c01d59f965308e4440bc72bd6da60b52c0db334b02d496;
SET @BorderBinary += 0x44403fa7203f1b0c52c03596b036c69844408fa4a487a11252c0fa25e2adf3934440bbf083f3a91652c0418177f2e9914440;
SET @BorderBinary += 0xefab72a1f21852c05303cde7dc8d44408f334dd87e1c52c0c7d45dd9058b4440658d7a88462052c0f4fbfecd8b854440cf9d;
SET @BorderBinary += 0x60ff752552c016f549eeb07f4440ee93a300512d52c032aeb8382a7d444091459a78073752c06e8786c5a87b44405912a0a6;
SET @BorderBinary += 0x964252c05987a3ab747b444098a1f144104752c0addee176687c44404fe78a52424952c05512d907597a44403753211e8949;
SET @BorderBinary += 0x52c0efa83121e6764440a71dfe9aac4e52c01ff64201db734440f15173c6174f52c0a08274660e744440f7cc9200355552c0;
SET @BorderBinary += 0xd8bad408fd764440d575a8a6245952c0c47b0e2c477a4440cbd58f4df25b52c0731074b4aa774440e0675c38105f52c02904;
SET @BorderBinary += 0x72892379444005627399d45f52c0ef0534d62a7644407d3b8908ff5f52c04a26a7768675444050fd8348866752c068925852;
SET @BorderBinary += 0xee724440c2da183be16952c0a03028d3687044405a80b6d5ac6d52c022a46e675f6f444021bc91c66f6f52c0de24d8001c70;
SET @BorderBinary += 0x44406bed7daa0a7152c0e7c41edac770444074999a046f7052c060ae450bd074444055dd239bab6c52c089b14cbf44784440;
SET @BorderBinary += 0xf19e03cb116a52c0dbfb54151a7e444028c16f6a126a52c0e4c8ecad257e4440698eacfc326a52c03909a52f848044407f68;
SET @BorderBinary += 0xe6c9356a52c099805f23498244402bf697dd936e52c0446b459be38c4440c59b51368a6c52c0580bd9b0c08e4440081f4ab4;
SET @BorderBinary += 0xe45e52c0cff23cb83b9b4440c617edf1426352c06b425a63d0a54440e46a7f5fd36252c076e07e8fe3ae444070f1f688c562;
SET @BorderBinary += 0x52c068a7c5b203b0444026858083c36252c0e83079c92db04440a54716edc26252c0f73671053ab04440d07d39b35d6252c0;
SET @BorderBinary += 0x1d3ba8c475b8444005165b3de66152c06bbc28037ac344404c1762f5476152c08ba548be12d2444098f1da94256152c0517c;
SET @BorderBinary += 0x2d1957d54440fa0d130d526052c0f529c76471e9444082380f27305f52c0c651b9895a0645409835f6b7565f52c0aa890c26;
SET @BorderBinary += 0xe206454056ee0566856052c0890629780a0b45401c2b0a0c485a52c07ef66cc1052d4540ada1eb2f8c5852c00ecbfb0b7736;
SET @BorderBinary += 0x45403ffd67cd8f5652c08272dbbe47414540ccbb6cf4a55352c0c8c1cdc9fa5045402976340ef55052c09d6340f67a5f4540;
SET @BorderBinary += 0xea3d95d39e5252c010018750a5664540ce5147c7d55152c06614cb2dad6a454089ae097a865152c0fc8bd3ecc8784540da7e;
SET @BorderBinary += 0xb3d2475152c0694e2972ee8345405a475513445152c04c16f71f99844540345303c0575052c0fdd0f17e48a8454077d84466;
SET @BorderBinary += 0x2e5052c097a949f086ae45408a90ba9d7d4f52c00a68226c78c44540226fb9fab15252c0dc9bdf30d1ca45405d35cf11f954;
SET @BorderBinary += 0x52c01492ccea1dd0454081751c3f545952c031242713b7c845405723bbd2325b52c0c954c1a8a4cc4540022cf2eb875a52c0;
SET @BorderBinary += 0x6877483140d44540b62bf4c1325952c07eaeb6627fd945407db52b611c5752c0c8a434f469e045409cdec5fb715652c097e3;
SET @BorderBinary += 0x15889ee24540e088f54e7b5852c0efe4f4c071e745400e643db5fa5852c073d9e89c9fe845404f029b73f05752c0384bc972;
SET @BorderBinary += 0x12f0454029cde671185a52c0dffc868906f74540e8a221e3515a52c0e00d6954e0fc4540677bf486fb5952c081b229577801;
SET @BorderBinary += 0x4640b21188d7f55b52c0b9c3263273054640056d72f8a45a52c05f402fdcb90c46409b075772975952c0fdf852a684134640;
SET @BorderBinary += 0xc0779b374e5952c0594dd7135d154640ba0ed594645652c0fc372f4e7c1d4640cbd42478435452c018761893fe204640cf46;
SET @BorderBinary += 0xdd32515452c044a55918bb2146408cdafd2ac05452c000016bd5ae27464005c24eb16a5552c0e8d84125ae2d46404e61a582;
SET @BorderBinary += 0x8a5452c0b5183c4cfb3046408c2b2e8eca5252c0af7ac03c643846407a371614065452c06e83da6fed40464001b5765b4556;
SET @BorderBinary += 0x52c09d3e15aae845464094e3f831365752c0ed4d5f88fe474640db68006f815752c010018750a54846405323f433f55852c0;
SET @BorderBinary += 0x48f949b54f4f4640732ec555655752c0533e0455a359464091eee714e45652c0895a9a5b216046404833164d675552c0309f;
SET @BorderBinary += 0xac18ae664640e5585488e35552c0909fed046f67464078b7b244675752c08d5f7825c96946404813ef004f5852c0213b6f63;
SET @BorderBinary += 0xb36d4640f8c1f9d4b15552c08d942d9276754640e0675c38105652c042e8a04b387c4640419e5dbef55552c08bbe82346381;
SET @BorderBinary += 0x4640672ac423f16852c04f5b238271804640800bb265f97752c062804413288046403fd3af6fc18152c0840c08aba97f4640;
SET @BorderBinary += 0x3db48f15fc8e52c05a65a6b4fe7e4640ab2006baf69b52c081035aba827f4640511212691ba752c0558847e2e57f46403046;
SET @BorderBinary += 0xb56843a952c0a6995e999e7f464046f32dba73ae52c0ddab8f0ff37e4640c7d2872ea8af52c0bb95253acb7e46400a7f8637;
SET @BorderBinary += 0x6bb552c05167ee21e18146403f8d7bf31bba52c0179d2cb5de7d4640193a765089bf52c00341800c1d7d46404c1aa37554c0;
SET @BorderBinary += 0x52c0e335afeaac7a46408121ab5b3dc452c075cb0ef10f774640e6ac4f3926c952c017d34cf73a7346409ca4f9635ad052c0;
SET @BorderBinary += 0xdb300a82c76d46401e4fcb0f5cd552c0601bf164376746408f17d2e121db52c019028063cf604640d1949d7e50e452c0594a;
SET @BorderBinary += 0x969350544640b3cd8de909f152c0f04dd36707424640691b7fa2b2f352c064ada1d45e3c464092af045262f552c026e0d748;
SET @BorderBinary += 0x12364640918d35111ff752c0504cf754dd3346409b8f6b43c5fc52c0e78a5242b02c46402157ea59100053c0c01f7efe7b2c;
SET @BorderBinary += 0x4640e84eb0ff3a0653c0b54e5c8e57264640789acc785b0a53c0083c3080f023464028b85851830a53c00183a44fab1e4640;
SET @BorderBinary += 0x292499d53b0d53c0f94a2025761b464015713ac9561253c06667d13b151a4640f37002d3691553c0c151f2ea1c154640ef37;
SET @BorderBinary += 0xda71c31653c016f71f990e114640959ba8a5b91753c0ee23b726dd0c4640fda02e52281753c0c05df6eb4e094640e36bcf2c;
SET @BorderBinary += 0x091853c0c552245f0904464016f549eeb01353c0a52bd8463c03464028d4d347e01153c0274d83a279fc454016dc0f78601a;
SET @BorderBinary += 0x53c09658198d7cf645406473d53c471c53c06a6803b001f1454057e9ee3a1b1753c076fd82ddb0ef4540e3344415fe1253c0;
SET @BorderBinary += 0x508bc1c3b4ed45403c81b053ac0e53c0d3484be5ede64540ff959526a50d53c0300e2e1d73e0454020ef0d17e50c53c05c8b;
SET @BorderBinary += 0x3f9c13d7454090a16307950c53c0ae9b525e2bd345409e279eb3050d53c0b2f50ce198c945403b527de7170f53c01b9b1da9;
SET @BorderBinary += 0xbec34540e7df2efb751453c079c7293a92c14540630ad6389b1753c037c2a2224ec34540531e0787bd1753c026955fbf47c3;
SET @BorderBinary += 0x4540959ba8a5b91a53c09b728577b9c2454015a6ef35042153c0f0fb372f4ebc45400604076e802753c014810450c8b54540;
SET @BorderBinary += 0xb24ae9995e2853c07dcd72d9e8b445400a9e42aed42b53c0f94b8bfa24ad454055d73f4a352e53c039c2eed335ab45409c33;
SET @BorderBinary += 0xa2b4373153c043acfe08c3a8454017b7d100de3553c0959d7e5017a745407f86376bf03c53c0f8a41309a6a24540c1c6f5ef;
SET @BorderBinary += 0xfa3f53c0c826f911bfa24540cc5ce0f2584853c0e6cb0bb08fa44540bed6a546e85053c06b0f7ba180a34540583b8a73d455;
SET @BorderBinary += 0x53c09e211cb3eca34540c80d643c115853c09616d28913a34540637ac2120f6053c0719010e50ba045401958c7f1436353c0;
SET @BorderBinary += 0xad4d637b2d9e4540a2276552436a53c0ad6a494739a44540f199ec9fa77053c0d8d5e429abab45403fb47396ba7353c09a1b;
SET @BorderBinary += 0x543aeeab4540b4c6a013427453c05c1b2ac6f9ab45405bb4006dab7f53c0eac891cec0ae4540795f42beb77f53c0ac83887c;
SET @BorderBinary += 0xc2ae4540bc22f8df4a8953c015a930b610b04540c689af76149553c07ec4af58c3af4540b5553597cb9d53c06c384e8079af;
SET @BorderBinary += 0x45409cbf098508a353c0fcc3961e4daf45409e77634161b553c034d769a4a5a845407098689082c453c0295ab91798a14540;
SET @BorderBinary += 0x50c0763062c353c016f9f5436c9c4540c6de8b2fdac253c068791edc9d93454006b7884189c353c03a76a6c2209145407841;
SET @BorderBinary += 0x446adac353c068c9e369f98f454066683c11c4c453c0406a1327f789454023d699c340c153c0fdb614677c884540195245f1;
SET @BorderBinary += 0x2ac153c0a181583673884540d8f0f44a59c053c0a0a86c58538745403bc6151747c153c0f8bf232a547f45405e64027e8dbd;
SET @BorderBinary += 0x53c01dc6a4bf977a454008c6c1a563bb53c0c8d11c59f97945404df73aa92fba53c0ace122f7747745404f3e3db665ba53c0;
SET @BorderBinary += 0x1a8524b37a714540c6f65ad07bb853c0e198654f026f454084656ce866b753c06adac534d3694540dda42634d7b653c00a9a;
SET @BorderBinary += 0xe9ce136745404f92ae997cb653c0562c7e5358654540ee409df2e8b953c0eded96e4805f45406456ef703bbe53c07b9dd497;
SET @BorderBinary += 0xa55b45404885b18520c353c06de34f5436584540c0b2d2a414c453c0ccea1d6e875245403143e38920c753c0b75ed383824e;
SET @BorderBinary += 0x454035562850b3c853c0427514d9da48454052cf8250dec853c0d9ea724a404845409a22c0e95dcc53c0ff40b96ddf454540;
SET @BorderBinary += 0x4737c2a222d253c055664aeb6f414540e97b0dc171d853c06d7022fab53b454008aa46af06dd53c0bf42e6caa0344540d9b0;
SET @BorderBinary += 0xa6b228e853c00abc934f8f294540e38920cec3f053c0d13fc1c58a224540;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'NY';
SET @BorderBinary = 0x010300000001000000e10000009ade43a7571255c0ec0273f8559a414028266f80991455c0698d4127847e4140d5a3abba;
SET @BorderBinary += 0x480855c0f3ed8f0b757e41407df7f6445a0055c0421fad506b7e4140787b1002f2fb54c0312592e8657e41402992c630eefb;
SET @BorderBinary += 0x54c052120fe3657e4140adc090d5ade754c0643f8ba5487e414020153fc625e354c0ecdc721a917e4140a16090a2e4de54c0;
SET @BorderBinary += 0xc5ec5c21d57e4140800c1d3ba8d454c0e6779acc787f41409c2f1e88f3c654c047119896158041408f899466f3c654c05ab9;
SET @BorderBinary += 0x179815804140429521328ac054c08b20ba6472834140554ca59f70b954c0d27135b22b874140d120054f21b254c0d044d8f0;
SET @BorderBinary += 0xf48a4140ab7b6d95c5b054c00e828cdc7a8a41401e6e8786c5af54c0c58cf0f6208a4140dcef5014e8ab54c0aef02e17f18f;
SET @BorderBinary += 0x41401dfd9e4af9a454c0b7f399b3bf92414018ca897615a254c0cfd90242eb934140d9b0a6b2289d54c0143fc6dcb5964140;
SET @BorderBinary += 0xf9f36dc1529a54c07c7f83f6ea9941404d1d96e7979654c023644f236f9941408aaf7614e79254c0ac6ef59cf49841400439;
SET @BorderBinary += 0xde04d78d54c0a71135b2bc9841400f3087d7188354c01e72030b469841403c1059a4898254c044a165dd3f984140e63f3999;
SET @BorderBinary += 0x097e54c04d0d4833ed97414011d5e975f17754c0fe17cc407d9741404caa5c57287154c01a674e9b00974140ada3aa09a25f;
SET @BorderBinary += 0x54c0ec1681b1be95414027702ce6865754c09afe39fa00954140b8475971ff5454c0d1f5edc8c5944140b0fecf61be4254c0;
SET @BorderBinary += 0x287ff78e1a934140b4d0a97bb44254c09a950612c49241405ab56b425a4254c09a07b0c8af8f41400d4e44bfb64354c07632;
SET @BorderBinary += 0x384a5e89414033897ac1a74254c03c84f1d3b88541404b598638d63b54c0e525ff93bf8d41403947ddd5ff3954c090e85da3;
SET @BorderBinary += 0x9f8941403877fbd4cb3554c010ebba2e308041404c86e3f90c3254c0bd175fb4c7774140a580b4ff013354c0290307b47469;
SET @BorderBinary += 0x4140790717c50c2854c0f2c99f4bdc68414089b8f374f22354c0ea42643ba368414072a43330f22354c0fa0ca837a3684140;
SET @BorderBinary += 0xae666cb3811454c0567b298224684140efdfbc38f10454c023861dc6a46741403874e9d35dfb53c0100abc1f686741402fce;
SET @BorderBinary += 0x0fd627fb53c030a8c4c96667414087f9004459ec53c07c6773010967414060014c1938eb53c07cd3f4d9016741406945eed7;
SET @BorderBinary += 0x90dd53c014825186a9504140d8c38a58d1dc53c02e4dc11e704f414074266daaeed653c0554e7b4ace4541404cdf6b088ec4;
SET @BorderBinary += 0x53c0d8d30e7f4d26414083f57f0ef3b353c0cf6394675e0a414003ccf123a8a953c0a11fd008f8f84040d5230d6e6ba753c0;
SET @BorderBinary += 0x2fde8fdb2ff540409b525e2ba1a253c0d89dee3cf1ec4040d8b5bddd929853c006616ef772f34040dd787764ac9153c01c06;
SET @BorderBinary += 0xf357c8f44040cb4752d2c38853c0ba10ab3fc2f44040e0f25833328153c0c2323674b3f140407a7077d66e8053c0e1783e03;
SET @BorderBinary += 0xeaed40403ca24275737d53c0d617096d39ed4040d0263135d47b53c0fa638f88d4f54040e2934e24987a53c0b0e2546b61fc;
SET @BorderBinary += 0x4040ff0366ea697953c09e3cad0b9a0141402023a0c2117553c0d7dea7aad01441402bdb87bce57053c043c70e2a711f4140;
SET @BorderBinary += 0xb1182533aa6d53c0b449dfd1262541404676a565a46853c0800ef3e5052e41406356d04ef96053c080b90d3bfc37414054a6;
SET @BorderBinary += 0x9883a05d53c05d6bef53553c4140350bb43ba45453c0404b57b08d44414057e883656c4f53c0e595eb6d334b4140f06b2409;
SET @BorderBinary += 0xc24853c0e0641bb80351414042057acd3a4753c097de4c07ad51414059315c1d003a53c0018750a5665741402c0dfca8862e;
SET @BorderBinary += 0x53c0a1b94e232d5941407c9a9317992753c060764f1e165641400795b88e712353c0c3d2c08f6a504140029b73f04c2253c0;
SET @BorderBinary += 0xc216bb7d564b41408d96033dd41c53c04850fc18735b4140917d9065c11853c06f10ad156d64414019390b7bda1353c0118b;
SET @BorderBinary += 0x1876186d4140c345eee9ea0e53c0dd239babe67341404c70ea03c90853c0c58b8521727e4140c746205ed70053c00b0c59dd;
SET @BorderBinary += 0xea874140442fa3586efa52c0014d840d4f8f41405e471cb281f052c0cdcaf6216f974140b2907ad0f8ef52c0e79be646c297;
SET @BorderBinary += 0x414090f5d4eaabe852c0f84ecc7a319c4140ce50dcf126e252c042cf66d5e79c414009698d4127df52c0ddb419a721b24140;
SET @BorderBinary += 0x074147ab5add52c023f25d4a5dcc414038807edfbfdf52c09ed2c1fa3fdd41400113b87537e152c0ae635c7171e2414040dd;
SET @BorderBinary += 0x408177e452c053cdaca580ee41402e8d5f7825ea52c0bbed42739d024240f29881caf8ed52c0e733a0de8c0e4240be13835a;
SET @BorderBinary += 0x52f152c0166ab8ceb41d4240450da661f8f252c032aeb8382a25424068b0a9f3a8f552c0731074b4aa3742405a0c1ea67df7;
SET @BorderBinary += 0x52c01212691b7f464240c0caa145b60153c07bdb4c8578464240abfcffa5d40753c08c77b37f784642404febc6680b1453c0;
SET @BorderBinary += 0x602b8674784642407767edb60b1453c0dae38574784642404fb3b872741f53c0c15b326b7e464240143e878da92253c010d1;
SET @BorderBinary += 0x6318804642400e2c47c8402f53c014cb2dad8646424037d8a7579b3a53c0edeb1c45e64542407bf586c8a03a53c0ff573ef8;
SET @BorderBinary += 0xe54542400e828e56b53a53c0490ed8d5e445424012e9abc7844a53c0a0510756e84542401361c3d32b4c53c05320b3b3e845;
SET @BorderBinary += 0x4240d97dff0c1f5353c0eafa369be44542405ce7df2efb6f53c02ea86f99d345424079499538187153c0d40f950ed1454240;
SET @BorderBinary += 0x21c19ddc957953c02fd34dabbd454240ff6eb7ecf48253c05b554c45a8454240d591239d818853c03f1a4e999b454240c417;
SET @BorderBinary += 0x6e75b69453c0d6ec70156e454240bcae2d99469d53c098666e274e454240b2463d44a3a053c04f01309e414542400d5948de;
SET @BorderBinary += 0xfbae53c025c95d6f534542403d31cd93f6b253c093b28c605845424069e21de049bc53c044de72f563454240c941d906d4c8;
SET @BorderBinary += 0x53c0bc3c226f5445424068df4228fecd53c0f07c460a4e454240adab028feed553c0f6a7113644454240fd2e72f516de53c0;
SET @BorderBinary += 0xd095881c3a4542403b33c170aee053c02bda1ce73645424025d5ed95b3e053c0396c12f03645424016876536c0ed53c0a7a0;
SET @BorderBinary += 0x0aa94d454240b408e0890ff953c0b20e9e5a6145424074cc79c6be0154c02b9fe57970454240e8a198cd6b0354c0f5736f35;
SET @BorderBinary += 0x75454240de57e542e51254c0197442e8a045424090f2936a9f1b54c0a45181936d4642402d89c8a12a1c54c0da451ee87946;
SET @BorderBinary += 0x4240bb1fec332e2754c0ae00d4a3734742403f8d7bf31b2d54c0af75a911fa4742405c1c120dc63554c0b03c8145ed474240;
SET @BorderBinary += 0xfcfcf7e0b53954c066bfee74e7474240385a91aeb73954c093df4e93e7474240ffaecf9cf54354c0c616821c94484240e333;
SET @BorderBinary += 0xd93f4f4b54c0b5dd04df34494240457aceb2995654c062b1251ac2494240baa1293bfd5f54c08ac8b08a374a42404db9c2bb;
SET @BorderBinary += 0x5c6b54c05e9cf86a474b4240569c6a2dcc6c54c0ae450bd0b64442402363b5f97f6c54c0f6b3588ae43b4240dd43c2f7fe6e;
SET @BorderBinary += 0x54c018080264e834424003be084f6a6e54c05ca5c656d7314240a085048c2e6d54c0d5e940d6532b424013984eeb367154c0;
SET @BorderBinary += 0xfe47a643a72b42408e3d7b2e537554c00bd0b69a752c424067d2a6ea1e7a54c0c1fbaa5ca8264240e44c7fe8c77a54c0289c;
SET @BorderBinary += 0xf9d1c7244240f8dea8b4cc7b54c029447838e2214240d7f6764b727d54c0151a8865331d424092054ce0d68154c02f1686c8;
SET @BorderBinary += 0xe90f424036001b10218554c03d44a33b880d424039592033278554c0830489e4870d42404df4f928238854c0be1248895d0d;
SET @BorderBinary += 0x424057af22a3038954c09198a0866f114240d30fea22858d54c0f5d555815a144240a9db42d3188e54c01c2afb24b0134240;
SET @BorderBinary += 0xf337a110019154c08141d2a7551042406a9f8ec70c9354c030d80ddb16114240e0d8b3e7329654c0399a232bbf0e42407ac5;
SET @BorderBinary += 0x538f349a54c095986725ad0a4240fd08ab4daf9a54c0a67c71875609424017467a51bb9d54c0c8940f41d50042406be014f3;
SET @BorderBinary += 0x80a054c0f001af24b5fd41407a522635b4a354c0944f8f6d19fa41407c2766bd18a754c0a6ecf483bafc4140d3bce3141da6;
SET @BorderBinary += 0x54c0dba6785c540342405d4d1d5bc4a654c09127850cc4044240de3cd52137a854c083f57f0ef30742405a9e077767ae54c0;
SET @BorderBinary += 0x04543882540242406f66f4a3e1b154c0cbf5b6990aff4140a86f99d365b254c00abb287ae0f9414035d252793bb454c01efb;
SET @BorderBinary += 0x592c45f6414077b81d1a16b754c0e89fe06245f941402299361b35b954c0bd155a1687f7414076dec66647ba54c034d769a4;
SET @BorderBinary += 0xa5f64140d767cefa94b954c0128255f5f2ef4140dd43c2f7febb54c0d2a92b9fe5e94140d9ed1ff6dbbd54c0e549f5b9d4e5;
SET @BorderBinary += 0x4140b5fcc0559ebe54c0e3c281902ce44140feb7921d1bc354c0766eda8cd3e441409b19fd6838c654c09e40d82956e34140;
SET @BorderBinary += 0x0306499f56ca54c0fcfcf7e0b5e1414011381268b0cc54c0dcb8c5fcdcdc41400e80b8ab57d054c00035b56caddb4140e1ca;
SET @BorderBinary += 0x5d6165d054c00e2a1f1187db4140da8102c4efd054c074ab6fe103da414009f8359204d354c0d578e92631d441403049658a;
SET @BorderBinary += 0x39d654c0dded7a698ad44140d331e719fbda54c0f3e2c4573bce4140942c27a1f4dc54c0b915c26a2ccd4140f0dc7bb8e4df;
SET @BorderBinary += 0x54c07ba2ebc20fc841402b2d23f59ee554c062855b3e92c84140a305685bcde954c0e0826c59bec84140bb9d6dbe6cea54c0;
SET @BorderBinary += 0x5702b5b4adc841405549641f64f154c0183f8d7bf3c74140cc2555db4df654c0ab93331477c241402afc19deacfa54c01f7f;
SET @BorderBinary += 0x69519fbc41408f21abc4fffc54c0c3081b70e3ba4140037285555efd54c052d2dfe09cba4140999a046f48fe54c00f61fc34;
SET @BorderBinary += 0xeeb941400e6954e0640155c09fe6e44526b44140137afd497c0055c06d19709692af414055664aeb6f0255c07711a62897ac;
SET @BorderBinary += 0x414041481630810155c03cdba337dca54140247f30f0dc0155c0b696323164a541404bc631923d0655c03ecf9f36aa9f4140;
SET @BorderBinary += 0x04745fce6c0b55c0c0eac891ce9e4140b2614d65510e55c05b09dd2571a24140ae64c746201255c04d83a279009d41409ade;
SET @BorderBinary += 0x43a7571255c0ec0273f8559a4140;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'NC';
SET @BorderBinary = 0x01030000000100000081000000d388997d1e035ac0e48233f8fb7f48409031772d21035ac01c075e2d776c484091dee1dd;
SET @BorderBinary += 0x13035ac0cf80445127514840b97020240b035ac09dd2c1fa3f3f4840dc2f937efe025ac080fa81cfd8314840166c239eec02;
SET @BorderBinary += 0x5ac0c5e1ccafe61e48405a2f976cd2025ac0e7389c7080ff47404b79596cd2025ac0ea5fa22680ff4740c58d5bcccf025ac0;
SET @BorderBinary += 0x6649809a5afc4740ea77616bb6025ac06b28b517d1e64740baf94674cf025ac0d87f9d9b36cd4740b08b8bdde0025ac0ee4f;
SET @BorderBinary += 0x70fcdfb247405a457f68e6025ac0315f5e807daa4740f747d354e6025ac0ff8832a141aa474035d07ccedd025ac0bf4351a0;
SET @BorderBinary += 0x4f9047400b26fe28ea025ac06c94f59b897747404067d2a6ea025ac02e1ede73605b474071c84b96e7025ac0311c1ed01a52;
SET @BorderBinary += 0x47402be9b055e3025ac008aff5283d4547404b766c04e2025ac056f2b1bb40414740d6fecef6e8025ac0488ac8b08a294740;
SET @BorderBinary += 0x9bab0deae8025ac091bdbd33dd23474042b5c189e8025ac0774a07ebfff846408db800344aea59c04eeb36a8fdf8464081e8;
SET @BorderBinary += 0x4999d4db59c0001aa54bfff84640f1643733facd59c073f56393fcf84640bcf75a06b9bf59c088745c93f9f846400077cedf;
SET @BorderBinary += 0x4abc59c07a328adaf8f84640450f7c0c56b859c051bb5f05f8f846408639419b1cad59c0c22e8a1ef8f8464013b534b742a3;
SET @BorderBinary += 0x59c05e9d6340f6f846403be466b8019559c044882b67eff846407b6649809a8559c0faee5696e8f8464051a2cb230b8059c0;
SET @BorderBinary += 0x5f4a51a2e6f846407f0f9b57e97f59c027ce7196e6f8464025cd1fd3da7259c062b83a00e2f8464020b6f468aa6359c0a913;
SET @BorderBinary += 0xd044d8f846403ab2f2cb605759c02635b401d8f846403317b83cd64659c040f9bb77d4f84640187d0569c63059c0a305685b;
SET @BorderBinary += 0xcdf846406922d9c5c32059c071a015a8c9f8464097546d37c12059c0aa5e7ea7c9f846406b0c626bf51f59c0ea2eefeec8f8;
SET @BorderBinary += 0x4640d0b9dbf5d21259c0522ae109bdf84640ac8f87bebb0959c00b789961a3f846408cbb41b456f858c08ac745b588f84640;
SET @BorderBinary += 0x30e9f6ef52f858c07e7b2dac88f84640ffc874e8f4ed58c0eac9fca36ff846408e583fe0f4ed58c0154c04a46ff84640e527;
SET @BorderBinary += 0xd53e1de758c05e2a36e675f84640ec2e505260df58c0593332c85df84640679b1bd313d658c012bbb6b75bf8464013b69f8c;
SET @BorderBinary += 0xf1c558c0791c06f357f84640be6d7e475ec058c047e2591850f84640fa5e43705cc058c02409c21550f84640596d80265cae;
SET @BorderBinary += 0x58c04778607e26f84640bb26a43506a858c08218e8da17f846409d668176879a58c05e49f25cdff7464028b85851838458c0;
SET @BorderBinary += 0xab9509bfd4f7464015a967bd848058c072340743cff746408398ae4ba47e58c0aaa35fafccf74640c4ebfa05bb7158c023f4;
SET @BorderBinary += 0x33f5baf746400038f6ecb96258c043a9bd88b6f7464027beda519c4e58c0184b6798c3f74640c18eff02414558c0931cb0ab;
SET @BorderBinary += 0xc9f74640f06ab933132458c0ae5fb01bb6f746404ad1cabdc02458c0c7f484251e0247401f046413a72458c09e44a658cd02;
SET @BorderBinary += 0x4740cc99ed0a7d2358c0afca85cabf0a4740554d10751f2658c04703780b241c47409fe57970772658c02aa73d25e7284740;
SET @BorderBinary += 0x39b5334c6d2958c00853944be32d474074b0fecf612d58c09012bbb6b7374740c37de4d6a42f58c00d6c95607148474031fa;
SET @BorderBinary += 0x20524a3258c0ddb7d56e96504740ba17bbdc8b3258c0f5ed9f256051474017efc7ed973258c0fdbca948855147405a8121ab;
SET @BorderBinary += 0x5b3258c0adc090d5ad58474026ff93bf7b3258c0f697dd9387634740ba8102efe43058c07f2f8507cd744740734529215835;
SET @BorderBinary += 0x58c068aed3484b814740e0b721c66b3458c0a3005130638a47400b553282e63458c0e2e2a8dc44934740c7ec622e813558c0;
SET @BorderBinary += 0x0121aa30769e47407d5c1b2ac63558c0834e081d74a34740573ecbf3e03658c0aa251de560b84740e4b8b809c83658c0d2ee;
SET @BorderBinary += 0x8be8e4bf474062d9cc21a93658c0137ea99f37c947409eb12fd9783858c0a8a44e4013d34740cb1c87fe2e3958c00ac99641;
SET @BorderBinary += 0x08d64740f2086ea46c3b58c026a8e15b58df47405aba826dc43f58c06667d13b15ec4740fc170802644258c09485afaf75f7;
SET @BorderBinary += 0x4740583673486a4458c065fb90b75c034840cc7b9c69c24658c06f0c01c0b10b48407ff62345644958c0b4c5353e93154840;
SET @BorderBinary += 0xcbce1886554958c0f52be52f2c164840aefe4d0f154958c08c5531cac81848402db0c7444a4858c089b5f81400214840347f;
SET @BorderBinary += 0x4c6bd34858c098d87c5c1b2c48401edfde35e84858c09201a08a1b3748404d4700378b4958c0a73ffb9122444840f4ddf586;
SET @BorderBinary += 0x7a4958c075f0d41937454840daac8d4d744958c03fec203e9e454840e7c6f484254958c0484c50c3b74a48409013268c6646;
SET @BorderBinary += 0x58c0f41263997e554840ae62f19bc24758c0c7d3f203575b4840c5707500c44958c07f69519fe4624840d7a02fbdfd4b58c0;
SET @BorderBinary += 0x9a0986730d6f4840d190f128954e58c05c3b5112127948408ca03193a84e58c02444f98216804840cff753e3a57158c02c9d;
SET @BorderBinary += 0x0fcf128048401b3dae28d07c58c03b7f21e110804840e4805d4d9eb758c0d925aab7068048405b0e49c7fcbf58c03b230a8d;
SET @BorderBinary += 0xff7f48409d44847f11d858c0ab0320eeea7f4840f74ddc11a5e158c01bac251fe87f484049ef1b5f7bfa58c0fe0c6fd6e07f;
SET @BorderBinary += 0x48406176a078b10b59c02a01a8c6e67f4840f59d5f94a01b59c00ad80e46ec7f48409df3531c074859c09813b4c9e17f4840;
SET @BorderBinary += 0xa46dfc89ca5f59c0930259fae37f48403eeb1a2d076859c0d89aadbce47f484056cf1d835a8159c0af73a641d77f4840809d;
SET @BorderBinary += 0x9b36e38d59c04e29af95d07f48400feeceda6db659c0e6cde15aed7f4840802b35ec14bc59c0a91c81b5ea7f48408b6ebda6;
SET @BorderBinary += 0x07d859c03ba759a0dd7f4840d388997d1e035ac0e48233f8fb7f4840;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'ND';
SET @BorderBinary = 0x01060000000200000001030000000100000006000000d9d0cdfe40b754c0683ba6eecad84440a23f34f3e4b554c08c2958;
SET @BorderBinary += 0xe36cd044405b26c3f17cb254c03c65355d4fd244404dbd6e1118b254c0b6291e17d5d84440cce9b298d8b454c0629cbf0985;
SET @BorderBinary += 0xdc4440d9d0cdfe40b754c0683ba6eecad84440010300000001000000e600000048a12c7c7d3455c0b3ea73b5159d43407825;
SET @BorderBinary += 0xc9737d3455c0e8305f5e808d43404da088450c3055c0e8667fa0dc9243408cf161f6b22d55c0914259f8fa9043401a14cd03;
SET @BorderBinary += 0x582b55c0a2409fc8938c43406947f47fd32755c02e26fdaa098a4340a794d74ae82655c08769dfdc5f894340a94c31074123;
SET @BorderBinary += 0x55c0e94317d4b78c4340930691cd6a2055c0da7f81ae068d43402b988eb1f21f55c031441cb9138d434040683d7c991f55c0;
SET @BorderBinary += 0xf792c6681d8d43405e0f26c5c71e55c090bddefdf18e434038d89b18921d55c000fbe8d4958f43408f334dd87e1c55c06fd5;
SET @BorderBinary += 0x75a8a68e43403e062b4eb51b55c0d991ea3bbf8a434020ea3e00a91955c079e3a430ef8543409677d503e61455c0ce6c57e8;
SET @BorderBinary += 0x83834340afa5c1a88e1455c0bfc5d792a2824340a3e4d539061355c01286014bae7e43409cf86a47711255c03270404b577a;
SET @BorderBinary += 0x4340b9162d40db0e55c08cd7bcaab37043400b2dfb15de0e55c02b81a76df66f43404b9352d0ed0e55c0d024b1a4dc6b4340;
SET @BorderBinary += 0xd41cd772790e55c0284d2a23366a4340014c1938a00d55c042942f682167434040852348a50855c05ed72fd80d654340370f;
SET @BorderBinary += 0x0e8e5e0355c01017f944c462434067463f1a4e0355c0c39d0b23bd6243407cb779e3a4fe54c08046e9d2bf644340c97553ca;
SET @BorderBinary += 0x6bfb54c0cf84268925634340ca880a48e1f954c0fd82a75b36624340611a868f88f654c04d11e0f42e604340e657738060f5;
SET @BorderBinary += 0x54c051d66f26a65b4340751f80d426f254c0dc60a8c30a594340e1d1c6116bf154c063ee5a423e544340d61548d62ced54c0;
SET @BorderBinary += 0xb9088a39ab514340f08975aa7ceb54c0bda60705a55043408d0817ff66e954c0d0df4534285243408d614ed026e954c02db3;
SET @BorderBinary += 0x08c55652434025c9737d1fe854c0ed293927f65643409babe63922e254c0d5ad9e93de594340c44142942fdc54c0e21b0a9f;
SET @BorderBinary += 0xad554340d7dafb5415d854c0f017b325ab544340ab96749483d454c0a3e5400fb54f434027f6d03e56d254c00fb6d8edb34c;
SET @BorderBinary += 0x43400112f145ead054c04b7365787a4e4340b1f9b83654cf54c03b5453927550434029b000a60ccb54c0a9a3e36a644f4340;
SET @BorderBinary += 0x4a44f81741c854c05471e316f35143401c3f541a31c754c05c1b2ac6f9554340325871aab5c254c055116e32aa5a43401864;
SET @BorderBinary += 0xec01f1c154c01366ed51c25b43407364e597c1c054c0a19bfd81725d434083143c855cbc54c0ace28dcc235f434041b5c189;
SET @BorderBinary += 0xe8b854c02fa52e19c7604340f608737077b854c09103f360ed5e43405b22179cc1b754c06b990cc7f35b43403f373465a7b7;
SET @BorderBinary += 0x54c01ff30181ce5643402028b7ed7bb654c031ee06d15a4d43400c59784ff0b354c057321e6843494340c748f60835b354c0;
SET @BorderBinary += 0xe2546b6116484340bb287ae063ae54c0f31fd26f5f474340d447e00f3fab54c0857afa08fc41434009a033e480aa54c05de9;
SET @BorderBinary += 0x0fd3fc40434048dbf81395a754c003249a40113d43402ae109bdfea554c048145ad6fd354340da0242ebe1a354c0d843fb58;
SET @BorderBinary += 0xc1334340d0f51cea92a054c08a293e0d13354340e5b4a7e49c9c54c086fd9e58a7364340bb5f05f86e9854c0aaed26f8a637;
SET @BorderBinary += 0x4340f33b4d66bc9454c0d591239d8139434039ecbe63789354c0205f4205873f43405f77baf3c49254c09cc0745ab7474340;
SET @BorderBinary += 0x8e6d03790e9254c08c64eae0384a43408811c2a38d9154c07898f6cdfd4b4340cef9298e038e54c0b14cbf44bc4b4340a915;
SET @BorderBinary += 0xa6ef358b54c0d311c0cde24d4340e00d6954e08b54c0b0ff3a376d544340c6fb71fbe58c54c0a565a4de536143404f58e201;
SET @BorderBinary += 0x658d54c01cb5c2f4bd664340f180b229578a54c0179e978a8d69434037a79201a08854c0e1783e03ea734340eeb2c9d45386;
SET @BorderBinary += 0x54c0bb26a717fe7a4340f78daf3db38554c0c8cedbd8ec7c4340506edbf7a88254c0b0a888d349824340d6c22cb4738054c0;
SET @BorderBinary += 0x2e573f36c9834340295b24ed467c54c0e123624a247f4340fa9b5088807954c0baa1293bfd764340bf0d315ef37454c008ad;
SET @BorderBinary += 0x872f137943404c1938a0a57154c0137d3eca887d43404df2237ec57254c0d2a57f492a8543403e3a75e5b37354c0afca85ca;
SET @BorderBinary += 0xbf8a434081f2385f047054c05210e6e4508d4340c45dbd8a8c6f54c08e3c1059a48d43404b6b78a2257054c023c687252c97;
SET @BorderBinary += 0x4340b9fb1c1f2d7054c0942d9276a397434085b6b3882c6e54c0402288c3009b4340beba2a508b6d54c00a2fc1a90f9c4340;
SET @BorderBinary += 0x3b376dc6696b54c0e90e62670aa343404bc972124a6754c01b28f04e3ea3434060cac0012d6454c0847cd0b359a343407d93;
SET @BorderBinary += 0xa641d16354c0fd2e6ccd56aa43403eada23f346054c02fbfd364c6af434028d36872315d54c0328d261763b443403b376dc6;
SET @BorderBinary += 0x695a54c0db34b6d782b243401bd7bfeb335954c04be7c3b304ad434090eb7477b45754c06d084039a2ac4340ce8aa8893e56;
SET @BorderBinary += 0x54c00ef8fc3042ac4340de74cb0ef14f54c0cfd90242ebb143409c340d8ae64b54c0cb2f833122b743403bdd79e2394854c0;
SET @BorderBinary += 0xeb51b81e85b94340f1756bf3c24754c0250f30d495ba43406588635ddc4454c0280af4893cc1434049565830644254c0763f;
SET @BorderBinary += 0x7402dfc443406c239eec663c54c0ca8b4cc0afcd43400d4faf94653754c016325706d5d443407bd976da1a3554c03882548a;
SET @BorderBinary += 0x1ddb434035a4fa2f793554c0ed046c7110dc4340842d76fbac3754c040d9942bbce14340afcdc64acc3454c02a8bc22e8ae6;
SET @BorderBinary += 0x43402cb81ff0c03454c08bc1c3b46fec43407b95bc35b33454c086f5f7d9cdec43405ef3aace6a3354c05e6743fe99f54340;
SET @BorderBinary += 0xa4de5339ed3054c01283c0caa1f94340d53a71395e2f54c0c617edf142fc434028428ef83e2f54c02981f9244b044440f7e3;
SET @BorderBinary += 0xf6cb272f54c0a4a99ecc3f0a4440054b75012f2d54c018af7955671344401b781082f82c54c0717dd44a1814444092326f7e;
SET @BorderBinary += 0xc92b54c019a77734f01744404a44f817412954c0a33b889d292044409a780778d22654c055a2ec2de52644403412a1116c28;
SET @BorderBinary += 0x54c0c7d3f20357314440f09396b5262854c0c0d10cf694324440e4a08499b62654c0e9995e622c394440052ffa0ad22754c0;
SET @BorderBinary += 0x43554ca59f4244409888b7cebf2a54c081069b3a8f4a4440f97fd591232854c078ce16105a4f444072f7393e5a2554c05704;
SET @BorderBinary += 0xff5bc94e4440c6fa0626372154c078d32d3bc45144405d8b3bd9422154c0fa2a839af86c44405f2c988b452154c0dab38ed0;
SET @BorderBinary += 0x3d734440a6ac89a9452154c0819f2d7083734440069fe6e4452154c082c7b7770d744440492af4d7412154c0fea1eae1627e;
SET @BorderBinary += 0x444004c545ef3a2154c0fa29e51003904440ca48c1843a2154c0721615cf12914440e447fc8a352154c0893e1f65c49d4440;
SET @BorderBinary += 0x14b5534c372154c08b3ac132b0aa4440217b8c003a2154c0980792f397be444021e71e313a2154c0f134e582fdbf4440b77c;
SET @BorderBinary += 0x24253d2154c05378d0ecbad5444040b2c4cb3d2154c00d2ce67abeec444063ee5a423e2154c03d0b42791ffd44406308008e;
SET @BorderBinary += 0x3d2554c04929e8f692fa444050357a35403354c0032670eb6ef44440c64d0d349f3954c00c8d278238ef444089b1942e2540;
SET @BorderBinary += 0x54c0ae01f2aeb1ec4440888043a8524354c05e10919a76eb4440739b70afcc4b54c016dba4a2b1e44440e8d9acfa5c5254c0;
SET @BorderBinary += 0xa70183a44fe14440768bc058df5854c004c8d0b183da44405e2c0c91d35d54c0c4211b4817d344402487f193465f54c0c13d;
SET @BorderBinary += 0x2e1d36d14440e1421ec18d6854c0486e4dba2dc544406a300dc3476f54c0fb3a70ce88be44402272ca55307154c01bf8fa21;
SET @BorderBinary += 0xe9be44401abe8575e37354c0f529c76471bf4440b8e90de6a37454c0247120a964bf4440508a56ee057c54c08f6cae9ae7be;
SET @BorderBinary += 0x4440bbecdcf6757d54c06bce5a2112c04440d40a7c96fb7d54c07b557b847ec04440c22ff5f3a67f54c08be07f2bd9c14440;
SET @BorderBinary += 0x040ca1ba8d8454c0861ddecf9abf444037c1374d9f8b54c041d7be805ebc44406b2a8bc22e9154c022dfa5d425b7444090fe;
SET @BorderBinary += 0x59f2459654c0d0e56890b0b64440d40d1478279754c06e8445459cb6444080643a747a9d54c0f5f57ccd72b14440cc7d7214;
SET @BorderBinary += 0x20a254c0fd4cbd6e11b24440eacc3d247ca754c0f7e461a1d6b64440d34ecde506ac54c098840b7904bf4440d4af9a4032ac;
SET @BorderBinary += 0x54c00392350e94bf4440252191b6f1ad54c0535c55f65dc54440e52329e961b554c00247020d36cb44407bb94f8e02b754c0;
SET @BorderBinary += 0x70ae6186c6c944405b59a2b3ccbb54c0bcccb051d6c14440bb7b80eecbc154c0c0e95dbc1fc744401f49490f43c454c01500;
SET @BorderBinary += 0xe31934cc444044a9d30c7cca54c031558980e3cf4440a5f27684d3ce54c04cbf44bc75d24440f9a067b3ead454c0e40e9bc8;
SET @BorderBinary += 0xccd94440afec82c135da54c0a33a1dc87ad8444035785f950bdd54c09a417c60c7dd444000937d8479e554c0dd59de6648dd;
SET @BorderBinary += 0x4440bce6559dd5f054c0a98251499ddc44405c761073d7f054c009c2742e9ddc444052c6535058f854c015db50552fdc4440;
SET @BorderBinary += 0xb1c1c2499a0855c0fca6b05241db44400dea061b111755c017d0c5877dda44402ab11135921955c06fcd8ba15bda44403c9d;
SET @BorderBinary += 0x2b4a091c55c018edf1423ada44403bf9f4d8963355c07c0dc17119d94440a4ec366f843355c008704d8edbc3444025c9a7e2;
SET @BorderBinary += 0x783355c0ddc904cc88b64440992842ea763355c0f59b89e942b4444059041ce16f3355c0bd48cd97b8a2444070185deb6e33;
SET @BorderBinary += 0x55c0f787f5f053a044404142942f683355c066a3737e8a8f4440d3e3520d623355c0a87116cfa37e4440c139dbf25e3355c0;
SET @BorderBinary += 0x3f4d4bbb167644400320eeea553355c02094f771345d44409ec410eb553355c0a3cad4e2335d4440b996bdbf5a3355c0205d;
SET @BorderBinary += 0x8c453e4944402fa017ee5c3355c02367614f3b404440ce163e3a633355c02724f0c9913b4440e7c589af763355c07f4b00fe;
SET @BorderBinary += 0x292d44409064f1b5763355c0ed311150272d4440c3a3dcc3833355c0ead81239b12744400e85cfd6c13355c0d1cdfe40b90d;
SET @BorderBinary += 0x444007ef85aed93355c0ae8ca30da600444066d40342ee3355c0a526026d5df543402fcbe7ac1a3455c0ba1115c501dd4340;
SET @BorderBinary += 0x696e85b01a3455c0355b79c9ffdc4340da5bb386343455c03b1d7e1aabc84340165cf8f73b3455c0f9d6dad9cfc243401841;
SET @BorderBinary += 0x6326513455c0118e59f624b2434080a27c7b683455c06ef65daf0fa74340f07d0b7d683455c066fce7f10ea7434048a12c7c;
SET @BorderBinary += 0x7d3455c0b3ea73b5159d4340;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'OH';
SET @BorderBinary = 0x010300000001000000ec000000afe9414129c059c0c85bae7e6c564240651c23d923c059c0526342cc254d42408099efe0;
SET @BorderBinary += 0x27c059c01d0247020d404240d8f335cb658a59c054abafae0a4042402c35add7118259c01eb7e726024042402bc1e270e674;
SET @BorderBinary += 0x59c065a88aa9f43f4240f71e2e39ee6759c0d8b79388f03f4240b9c32632734559c0b35c363ae73f4240c22c36d4103d59c0;
SET @BorderBinary += 0xccb22195f03f42404e7e8b4e963859c02f336c94f53f4240b6494563ed2559c0d32ea699ee3f424037ddaf0af42259c033bf;
SET @BorderBinary += 0xcec8ef3f4240e99d0ab8e71359c0111ac1c6f53f4240f09ef1a23d0059c0140aed3af63f4240382ee3a6060059c076df313c;
SET @BorderBinary += 0xf63f4240dffc8689060059c0d711876c200742406ab7c67d060059c03fbb70e7c2f0414086cb2a6c060059c045bb0a293fcf;
SET @BorderBinary += 0x41402838ee5e060059c00466ee0510b641402c9ace4e060059c0f77475c7629741404f2ab34a060059c0eea4daa7e3834140;
SET @BorderBinary += 0x128f0a43060059c066231abe885f41408ca2073e060059c08c0e48c2be474140657fae28d9ff58c067892d53d3474140e543;
SET @BorderBinary += 0x50357afb58c09a92acc3d14941404ce3ea5fe4f558c0e4ce472ce3404140e202d0285df458c01fd7868a713e414024d3a1d3;
SET @BorderBinary += 0xf3f058c0c687d9cbb6374140083a5ad592ec58c0a14ca3c9c5304140fbaf73d366e658c0111ac1c6f52f4140a14acd1e68e5;
SET @BorderBinary += 0x58c0293bfda02e3441402edd3fc366de58c0d0f028abcc324140821b295b24de58c0fd67cd8fbf324140478c9e5be8da58c0;
SET @BorderBinary += 0x15a75a0bb3304140f9d687f546d958c0124c35b39638414086527b116dd658c09c51f355f2374140f6d1a92b9fd158c049d5;
SET @BorderBinary += 0x76137c314140aaaae7d22ece58c0db745ed7a52941405af5b9da8acd58c06af6402b30284140ddcebef220cc58c0f7915b93;
SET @BorderBinary += 0x6e1b4140342c465d6bc858c014addc0bcc1a41404f401361c3c358c0d80fb1c1c2194140a62897c62fc058c02aff5a5eb91a;
SET @BorderBinary += 0x41406ec615e4f2bc58c0247d8c9f321a4140e3c281902cbc58c097530262121a4140db679599d2b758c01363997e89144140;
SET @BorderBinary += 0x7d0569c6a2b358c0f4346090f4134140236420cf2eaf58c0d1048a58c4104140a9f8bf232aac58c0412619390b114140eb1a;
SET @BorderBinary += 0x2d077aa958c08e8f16670c154140094eeb0010a758c067b9f2affe1341400856d5cbefa458c0622cd32f11134140d26f5f07;
SET @BorderBinary += 0xcea158c09eb29aae270c4140425c397b679e58c0c49272f739084140b6f1272a1b9b58c052af07527d0a41402c27a1f4859a;
SET @BorderBinary += 0x58c0b5de6fb4e30a4140ac18ae0e809958c0cc7c073f7110414079ff1f274c9758c02174d0251c14414066666666669458c0;
SET @BorderBinary += 0x4b395fecbd124140289831056b8e58c02dca6c90491041405e46b1dcd28a58c06893c3279d0e41402ae27df4dc8858c02954;
SET @BorderBinary += 0xf209131241400705a568e58758c040f67af7c7134140efe4d3635b8658c07311df89590d414085cabf96578658c0b32781cd;
SET @BorderBinary += 0x3906414055f5f23b4d8558c0198f52094f004140a7ea1ed95c8058c026ff93bf7bff4040bda60705a57c58c025cd1fd3dafe;
SET @BorderBinary += 0x4040f5d6c056097d58c01727beda51f640409df2ef06ec7c58c0df1400b013f24040bc1de1b4e07c58c0c002983270f04040;
SET @BorderBinary += 0x5f419ab1687758c0c539eae8b8ec4040048e041a6c7358c01422e010aaf04040e318c91ea17058c051f701486df640409597;
SET @BorderBinary += 0xfc4ffe6a58c0251e5036e5fe40406d52d158fb6658c0463eaf78eafb404033164d67276658c002b9c49107f640406ed36368;
SET @BorderBinary += 0xeb6358c05f418c7214f34040a01518b2ba6358c01c23d923d4f24040ca15dee5225f58c06950340f60f54040a1d3c234fc5e;
SET @BorderBinary += 0x58c0b26d7d51faf44040198a3bdee45c58c07a8d5da27aef40402d077aa86d5c58c0f529c76471e940409a95ed43de5758c0;
SET @BorderBinary += 0xc74961dee3e84040944be3175e5458c0990af148bcee4040793bc269c14f58c02d93e1783ef340405857056a314d58c085b1;
SET @BorderBinary += 0x852007f540402c64ae0caa4a58c04145d5af74ec4040d9960167294d58c009c21550a8e74040fe0ddaab8f4958c047e5266a;
SET @BorderBinary += 0x69dc40403465a71fd44558c047e6913f18de4040d8b8fe5d9f4558c0e36e10ad15e34040baf2599e074558c05bd07b6308e8;
SET @BorderBinary += 0x4040f0f78bd9924358c0556ccceb88ed404013419c87133f58c09e978a8d79f1404058c51b99473f58c01536035c90f54040;
SET @BorderBinary += 0x8fa339b2f23c58c0f4311f10e8f840403cb3649a743c58c0497eb631f6f84040588cda47cc3b58c0db4cdb0e09f94040c766;
SET @BorderBinary += 0x47aaef3958c02d93e1783ef94040b70a62a06b3958c06de525ff93f34040374d9f1d703658c0dee7f86871ec4040daff006b;
SET @BorderBinary += 0xd53258c0e3f90ca837ef404043a9bd88b63158c029029cdec5eb4040dbbc7152982d58c01ea33cf372ea404039605793a72b;
SET @BorderBinary += 0x58c0d89942e735f04040b7b06ebc3b2a58c075adbd4f55f54040317dd3240f2658c04ba45fc106f14040893e1f65c42558c0;
SET @BorderBinary += 0xaddd76a1b9f04040adbce47ff22558c090dc9a745bea4040c66af3ffaa2458c0081c0934d8e840406725adf8862158c02b33;
SET @BorderBinary += 0xa5f5b7e8404046cf2d74252058c0d061bebc00e340403ecbf3e0ee1b58c0559fabadd8e34040402d060fd31958c0a92ee065;
SET @BorderBinary += 0x86df404058c2eb5c4c1858c0b9c84d8496db40401c42959a3d1758c042b28009dcd840409c89e942ac1358c0c0b2d2a414de;
SET @BorderBinary += 0x404074cc79c6be1158c014cb2dad86e2404009c21550a80e58c051dcf126bfdf4040fc1873d7120b58c02d3e05c078e64040;
SET @BorderBinary += 0xebc5504eb40958c0dd04df347dea40407d5bb054170458c078ea9106b7eb40406588635ddcfb57c093e1783e03f04040a31f;
SET @BorderBinary += 0x0da7ccf857c0083a5ad592ee4040443b6a7d12f657c0dbc3124e22ee40409ece15a584f457c05ce15d2ee2ed404070585973;
SET @BorderBinary += 0x89f257c0d67c3907acef40407422c15433ef57c0caa5f10baff2404087c267ebe0ea57c090a339b2f2f340401840f850a2e6;
SET @BorderBinary += 0x57c0e2016553aef64040b7e9cf7ea4e357c0745e6397a8f64040a3772ae09ee157c03e0455a357f1404089cdc7b5a1dc57c0;
SET @BorderBinary += 0x97900f7a36ef4040d5c8aeb48cd657c00e6abfb513ef40403da0d168ded357c0086cb316daef4040be4d7ff623d257c0f018;
SET @BorderBinary += 0x1efb59f04040dba0f65b3bd057c0d061bebc00f74040c6c210397dce57c0d120054f21fb4040232bf163fac957c0bf63df30;
SET @BorderBinary += 0x20f84040aa7f10c990c957c0a208a9dbd9f740407ec3448314c657c0e272bc02d1f34040914259f8fac257c04dd6a88768ee;
SET @BorderBinary += 0x40409487855ad3be57c0b87361a417ed40404e2844c021bc57c0aa27f38fbee74040cefdd5e3beb957c04d9f1d705de34040;
SET @BorderBinary += 0xe84cda54ddb557c00453cdaca5de4040847d3b8908b157c074b2d47abfdf4040153c19fdd7ae57c0fcb0a22c44dc40408503;
SET @BorderBinary += 0x2159c0ad57c03d5e488787da404030d461855ba857c0fe0b040132d64040d23252efa9a457c02d060fd3bed54040137cd3f4;
SET @BorderBinary += 0xd9a157c01dacff7398cf40406abc7493189f57c04c1938a0a5d14040b6f5d37fd69e57c02424d236fee44040b295cd898b9e;
SET @BorderBinary += 0x57c0e8f6efc46ff840402b82ffad649e57c0f819170e84024140503542fb169e57c00eae1e794d184140696ff085c99d57c0;
SET @BorderBinary += 0xcdab3aab052e4140a63eaac9839d57c01e52ed56f4404140e27a14ae479d57c01ee1b4e04551414092c5e8ce149d57c075b8;
SET @BorderBinary += 0x8e844e5d41407500c45dbd9c57c0d7a02fbdfd714140de3509ffa39c57c0833a53888c774140b8a0b6e5589c57c0b1f41634;
SET @BorderBinary += 0x008841403cdba337dc9b57c000193a7650a34140f02e17f19d9b57c0aef204c24eaf414083a3e43cc59b57c0de116f4d74b1;
SET @BorderBinary += 0x4140f3e6e039d59b57c0081ca5e453b241401649bbd1c79c57c0a226fa7c94bf4140967b8d96479e57c0aa88c0e9bbd14140;
SET @BorderBinary += 0x41acf2f78d9f57c04abaf55d2ce141403f51d9b0a69f57c09735b1c057e241409a0986730da257c0e3a430ef71fe414095e8;
SET @BorderBinary += 0xd86e52a357c0d789e6bb150d4240b892ee32fca357c04ae95888bb144240933a014d84a557c02b685a6265264240ee2422fc;
SET @BorderBinary += 0x8ba757c0109546ccec3f42409bfeec478aa757c00bb3d0ce694e4240eb5f632d8da757c0b282ba717e554240d3f8855792a7;
SET @BorderBinary += 0x57c0fc3559a31e624240be86e0b88ca757c0cb67791edc7f424079e40f069ead57c073b8567bd87f4240033c69e1b2bf57c0;
SET @BorderBinary += 0xa833f790f07f424031809dd87cc057c09f87ef5af07f42406b33fb49b4c457c0e897293aef7f42406475abe7a4d457c07c7f;
SET @BorderBinary += 0x83f6ea7f4240ff9b387216da57c04732166eea7f42407160723d6fe157c0373df5b5e97f424043c362d4b5e457c06b48dc63;
SET @BorderBinary += 0xe97f4240db2e764e5af257c06673031ce87f4240ae2cd15966fb57c083d89942e77f42409096af9eb6fd57c0b30c438be67f;
SET @BorderBinary += 0x4240574840460d0058c0203af2d1e57f4240b663eaaeec0d58c015359886e17f424033a5f5b7042058c08eb0a888d37f4240;
SET @BorderBinary += 0xd5e3de22a32158c05174ffadd47f424013d38558fd2f58c0588cbad6de7f4240ba111615714658c07c629d2adf7f42407477;
SET @BorderBinary += 0xa442744958c0318d5353de7f42406b9a779ca25858c0556b6116da7f4240e96ccd13975d58c0da0a0079d97f42407b134372;
SET @BorderBinary += 0x327158c0a4703d0ad77f4240ea338018597358c037f4245bd57f4240a7c821e2e68258c05ddbdb2dc97f4240c874e7c32a87;
SET @BorderBinary += 0x58c0cb201d97c67f424062f683af379658c053c87c74bd7f424062d9cc21a99658c07bd7a02fbd7f424022bae4bddba258c0;
SET @BorderBinary += 0x46646ea4cf7f42409a215514afb258c0a7ae7c96e77f42409025b6ee04c058c0f04256f7ea7f4240fe5f75e448c858c09273;
SET @BorderBinary += 0x620fed7f4240d07ea4880cda58c05a626534f27f42404d52b26b32dd58c0f3edc22df67f4240f3fd70a0a1e258c0912e0b0a;
SET @BorderBinary += 0xfd7f4240fa7c941117ea58c056478e740680424093fc885fb1ff58c073d4d17135804240827ab6212a0059c0b48c720e3580;
SET @BorderBinary += 0x4240c1e9a211ba0559c0077bb07a30804240888384285f2359c0357ba0151880424073d28565882859c02c9a56b005804240;
SET @BorderBinary += 0x1fd61bb5c23659c0b8770dfad27f424057ee2687823c59c0eb5c558dc67f424099c467b8404459c0cf21a9d1b57f4240f563;
SET @BorderBinary += 0x93fc884d59c042075dc2a17f42408179c8940f5f59c0d844662e707f424051fc685c896359c0e81989b1657f42408ba6b393;
SET @BorderBinary += 0xc17959c022fc8ba0317f42407f89f318ce8159c0718153611f7f424051a5660fb48259c0569bff571d7f4240522ae109bd96;
SET @BorderBinary += 0x59c080d6fcf84b7f4240b37dc85baeac59c0d4d2dc0a617f4240dfa5d425e3b559c0d192c7d3f27f42405f45460724c059c0;
SET @BorderBinary += 0xa54c6a68038042403df19c2d20c059c08d2958e36c744240afe9414129c059c0c85bae7e6c564240;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'OK';
SET @BorderBinary = 0x010300000001000000fc0000000dfe7e315b235fc0350873bb976b4540dcd9571ea4205fc0f46e2c280c5e4540043c69e1;
SET @BorderBinary += 0xb21c5fc0a81b28f04e584540f0bf95ecd81c5fc0e259828c80564540cc96ac8a701a5fc096766a2e375445402c98f8a3a819;
SET @BorderBinary += 0x5fc0bb6246787b4c45409cfeec478a195fc0eb18575c1c454540de54a4c2d81b5fc062f4dc4257384540a62bd8463c1b5fc0;
SET @BorderBinary += 0x06280d350a2d45404d4bac8c461a5fc0676325e659274540a94f72874d1a5fc0328e91ec11204540a62a6d718d185fc0cc7a;
SET @BorderBinary += 0x3194131d4540f2237ec51a175fc0e257ace1221745408f19a88c7f165fc06893c3279d104540861f9c4f1d145fc0b2497ec4;
SET @BorderBinary += 0xaf084540b4af3c484f115fc00a9e42aed4054540e2aab2ef8a0d5fc09d2e8b89cdff44407349d57613005fc046054eb681ff;
SET @BorderBinary += 0x44406cf9b18592f45ec092d2207270ff444065e256410cea5ec0100533a660ff444073400c2539e15ec0b30194e2e4ff4440;
SET @BorderBinary += 0x0bd28c45d3db5ec097aab4c53500454045d5af743ed65ec003965cc5e2ff4440f17aac49c4ce5ec0d19f264ea3004540a4e3;
SET @BorderBinary += 0x6a6457c95ec0054b75012f014540d8800871e5c25ec08ba4dde863004540c18bbe8234b35ec056ee05668500454062f88898;
SET @BorderBinary += 0x12a05ec07ea99f3715014540b81d7db587925ec0de895169fe004540c613419c87925ec0060b2769fe0045408c2fdae38586;
SET @BorderBinary += 0x5ec0e1b6b6f0bc0045405e48878730765ec0a3cc069964004540d15ad1e6386b5ec0acc266800b0045403b6f0a80a45c5ec0;
SET @BorderBinary += 0x1b3053eca3ff4440a73ffb91225c5ec072bf4351a0ff4440bb438a0112505ec040bcae5fb0ff4440e57e87a240425ec0abae;
SET @BorderBinary += 0x433525ff444094a6636949385ec070c379792aff4440deaaeb504d2c5ec0c9e4d4ce30ff44408602b68311205ec0af20cd58;
SET @BorderBinary += 0x34ff444079ca6aba9e0b5ec03d7fdaa84eff44406ccd565ef2ff5dc02c4833164dff444078ee3d5c72ee5dc05c9198a086ff;
SET @BorderBinary += 0x44401e7151340dd75dc0007f2a6d3eff4440ac626e69bfd45dc05d68fa5037ff44404c1aa37554cd5dc0d711876c20ff4440;
SET @BorderBinary += 0xe62494be10c05dc032ffe89b34ff4440bc3e73d6a7b15dc01b800d8810ff4440c24eb16a10a05dc08e7747c66aff44406188;
SET @BorderBinary += 0x9cbe9e8c5dc044a33b889dff4440a8c821e2e6775dc0e0b9f770c9ff444016a06d35eb675dc04f9143c4cdff444064cf9ecb;
SET @BorderBinary += 0xd4595dc0239c16bce8ff4440b64df1b8a84c5dc047c9ab730c00454036902e36ad415dc079cc4065fcff4440452bf702b341;
SET @BorderBinary += 0x5dc00056478e74304540001b1021ae415dc06c205d6c5a674540df1797aab4415dc0601bf16437834540d1e7a38cb8415dc0;
SET @BorderBinary += 0x1b2b31cf4acc45405c59e272a4415dc0ac99069717d7454005fc1a4982415dc0e38a8ba372e945402d437f2b133f5dc06d48;
SET @BorderBinary += 0x4eaacaf045401c075e2d773e5dc0c5ff1d51a1f245403e58c6866e3d5dc0dcb5847cd0fd4540b4ca4c69fd3b5dc0c6a4bf97;
SET @BorderBinary += 0xc2034640a06d35eb8c3e5dc0bc202235ed0a464078814a5777395dc0aaa2c810891346403f1efaee56395dc0d97745f0bf13;
SET @BorderBinary += 0x4640821953b0c6395dc009db4fc6f81646409e961fb8ca3d5dc0d2a6ea1ed91846407ac5538f343e5dc0aeb5f7a92a1e4640;
SET @BorderBinary += 0xf1bc546ccc435dc00b96ea025e1e4640c826f911bf475dc0196ec0e787234640a8c821e2e64a5dc077a1b94e232146404485;
SET @BorderBinary += 0xeae6e24d5dc04d49d6e1e824464012ebf496914d5dc01f508747f12546405ccccf0d4d4c5dc0033e3f8c102a464021c9acde;
SET @BorderBinary += 0xe14d5dc0581d39d2192e4640e1421ec18d4f5dc00ccb9f6f0b324640429259bdc34d5dc0060c923ead364640acc77dab754e;
SET @BorderBinary += 0x5dc0f487669e5c3d46403f541a31b34a5dc0355b79c9ff42464082e7dec325495dc0b1135e8253474640a88aa9f413465dc0;
SET @BorderBinary += 0xedd0b01875534640209be447fc435dc0f6419605135d4640a4a7c821e2405dc0cfa2772ae06046406c9a779ca23b5dc02b84;
SET @BorderBinary += 0xd558c2644640b2160c53ea385dc0ea16cf32966b46401b7fa2b261375dc01477bcc96f6f46408a39083a5a355dc06b6281af;
SET @BorderBinary += 0xe8764640d32ea699ee365dc0d5cc5a0a487d4640afeaac16d8355dc0d61bb5c2f483464015e3fc4d28325dc0965aef37da89;
SET @BorderBinary += 0x4640fa895d3019325dc08d3d62b3008a4640f14927124c305dc071546ea2968e4640a65eb7088c2c5dc02efd4b5299a04640;
SET @BorderBinary += 0xb87bdd93362c5dc02106e9d875a24640f413ce6e2d2b5dc02ee1d05b3ca84640ed2aa4fca4255dc0465f419ab1b846408a77;
SET @BorderBinary += 0x80272d205dc073d3669c86c846402c64ae0caa1d5dc0052ffa0ad2ce46401fd95c35cf215dc0b20ddc813ad7464016a243e0;
SET @BorderBinary += 0x48225dc0cd5a0a48fbdd46406c990cc7f3255dc02dcc423ba7e34640c02500ff942a5dc0c9c4ad8218e44640d845d1031f2f;
SET @BorderBinary += 0x5dc02cd2c43bc0e946408a3c49ba66325dc0f4fbfecd8beb4640087ac42a26335dc092678c0eefec4640ea909be106375dc0;
SET @BorderBinary += 0x486b0c3a21f44640f06b2409c2385dc0df313cf6b3fa4640ba9f53909f3a5dc0b28174b169ff4640e048a0c1a6565dc07e33;
SET @BorderBinary += 0x315d88ff4640f18c37abba5e5dc0e0cf4455b0ff4640d7113a3e9a665dc08af25f4ad7ff464090d78349f16d5dc0f030ed9b;
SET @BorderBinary += 0xfbff4640a1c8b79c937e5dc0b937fb8305004740ae63b466cd7f5dc0d7eadb3e06004740ef7211df89975dc03dd4b6611400;
SET @BorderBinary += 0x4740cb332da2d5a65dc08ccf76491c004740213cda3862ab5dc0fc3559a31e004740b9fb1c1f2dbf5dc0fcdea63ffbff4640;
SET @BorderBinary += 0x98fc4ffeeec35dc09faa4203b1fa4640c7d79e5912c85dc0bf6378ec67f74640a60a462575d05dc07e54c37e4ff84640c4b2;
SET @BorderBinary += 0x994352d75dc0406a1327f7f546400781da20a7db5dc03385e14ae4f446409642209738df5dc0649126de01f44640aeba0ed5;
SET @BorderBinary += 0x94e45dc088f19a5775f6464050a912656fe65dc0f18288d4b4f54640edd5c743dfea5dc0c5025fd1aded464023be13b35ef3;
SET @BorderBinary += 0x5dc07f30f0dc7bec46409f160a038ff75dc0e6b51f3e4beb4640ba13ecbfcefd5dc0c87bd5ca84e94640336cf204f8ff5dc0;
SET @BorderBinary += 0x79153d32e5e746401ff46c567d045ec0ca3159dc7fe44640594e42e90b095ec0226b0da5f6e24640136058fe7c0d5ec0cebf;
SET @BorderBinary += 0x5df6ebdc4640b1170ad80e125ec0b81e85eb51dc464019390b7bda195ec05e61c1fd80d946409b5229003d1f5ec0fc65cd9b;
SET @BorderBinary += 0x96d946406a50340f60205ec0aad0402c9bd946407520eba9d5255ec0a5f622da8edf46406b80d250a3285ec0ec681cea77df;
SET @BorderBinary += 0x46400248a8d5c2295ec0e3c64acf3ade4640fc3559a31e2c5ec048f8dedfa0db46406682e15cc3365ec06a65c22ff5d54640;
SET @BorderBinary += 0x5f07ce1951395ec0381092054cd246405ec3d8eb7e3a5ec0f82dbf62f4d2464047cb811e6a3c5ec0b54fc76306d446407a56;
SET @BorderBinary += 0xd28a6f455ec056276728eed246408fe4f21fd2475ec08a929048dbce46407eaa0a0dc44b5ec00dfad2db9fcd4640780ab952;
SET @BorderBinary += 0xcf4d5ec08dea7420ebd546407ae40f069e555ec0882cd2c43bda464039b69e211c5b5ec022e010aad4d8464019f6e37b315c;
SET @BorderBinary += 0x5ec09169468a79d94640ebfb80c774615ec0360606759adc46404ad3a0681e625ec0001aa54bffdc4640e8f86871c66a5ec0;
SET @BorderBinary += 0xc77f812040da46402acaa5f10b6f5ec003931b45d6d846404cc79c67ec735ec04c8bfa2477da4640e84a04aa7f775ec0d408;
SET @BorderBinary += 0xfd4cbdd84640c21550a8a7795ec02e54feb5bcd446406c54302b227b5ec0bc7bea68bfd34640c345eee9ea7c5ec0e1421ec1;
SET @BorderBinary += 0x8dd24640a054fb743c805ec0095053cbd6ce464088f4dbd781865ec0ab58fca6b0ca4640145caca8c18b5ec0d78349f1f1c9;
SET @BorderBinary += 0x46403933c2dbed8f5ec0cad2c0946ac646402b8716d9ce905ec054c37e4facc54640c0232a5437955ec0c5a9d6c22cc64640;
SET @BorderBinary += 0x9e2633de56985ec078b6476fb8c94640c0e61c3c139c5ec011c2a38d23c84640598ae42b819f5ec068b0a9f3a8ca464097aa;
SET @BorderBinary += 0xb4c535a95ec0410c74ed0bce464087f8872d3daf5ec0300e2e1d73d246401934b19369b05ec08e774f36cad446401bd99596;
SET @BorderBinary += 0x91b15ec082fe428f18d74640188713770eb15ec0c7c0cb6245dd46406aa0f99cbbb05ec0a8aad0402ce146402ee23b31ebb2;
SET @BorderBinary += 0x5ec048e17a14aee746403a71c80170b25ec04a8ef0cfedec46409f20b1dd3db25ec0cde2c5c210ef46402098a3c7efb35ec0;
SET @BorderBinary += 0xec9e3c2cd4f446409a40118b18b45ec058fd118601fb46405c8dec4acbb65ec025e7c41eda0147404d2cf015ddb95ec019c8;
SET @BorderBinary += 0xb3cbb70a4740c2dec4909cbd5ec04c88b9a46a0d474018247d5a45c05ec0ef39b01c21114740705e9cf86ac75ec0677fa0dc;
SET @BorderBinary += 0xb61747402ee6e786a6ca5ec0db696b44301847408b36b87e99cd5ec036a51e7de6154740dfdc5f3deed15ec0fa0626378a12;
SET @BorderBinary += 0x47401d1784d845d75ec0c364de09b8124740eee9ea8ec5d75ec06a865451bc1247401aa54bff92db5ec0d0436d1b46174740;
SET @BorderBinary += 0x8e7406465edb5ec095b377465b1d4740406ebf7cb2de5ec07dab75e2722247400b9755d80ce35ec0b48cd47b2a2147401cf0;
SET @BorderBinary += 0xf96184e55ec0bf0cc688441d474044be4ba94bea5ec0b8205b96af1b4740ed293927f6ed5ec0e126a3ca30184740ccb39256;
SET @BorderBinary += 0x7cf05ec0f581e49d431b474089b663eaaef55ec03a77bb5e9a1847403eedf0d764fa5ec033a2b437f816474046ed7e15e0ff;
SET @BorderBinary += 0x5ec0d26ef4311f1e4740cbbc55d7a1025fc0deaaeb504d1947409e29745e63fd5ec095d4096822124740444c89247afb5ec0;
SET @BorderBinary += 0x6493fc885f054740b37c5d86fffb5ec0a017ee5c18fd4640f9bb77d498ff5ec0d575a8a624f94640392861a6edfd5ec0390a;
SET @BorderBinary += 0x100533f44640906ad8ef89fd5ec07539252026eb4640cf0da34bd7fd5ec036d6a6e840e446406747aaeffcfd5ec0aeb9a3ff;
SET @BorderBinary += 0xe5e04640ba1281ea1ffc5ec0be4868cbb9da4640f3716da818fc5ec02fbc92e4b9d446403ac8ebc1a4fc5ec06d1d1cec4dc8;
SET @BorderBinary += 0x4640b9c667b27ffe5ec0d0622992afbe4640683c11c479fd5ec00bebc6bb23b74640a4198ba6b3fe5ec06404543882ac4640;
SET @BorderBinary += 0x96afcbf09ffd5ec011e0f42edea346400caa0d4e44fe5ec0e525ff93bf9b4640daacfa5c6dfe5ec02b2d23f59e924640d89e;
SET @BorderBinary += 0x5912a0005fc03b1bf2cf0c8646404ac1b5ada5005fc0fb47741ebf8546401aa20a7f86015fc02bf697dd937946400ce544bb;
SET @BorderBinary += 0x0a045fc081221631ec6a4640b7ef517fbd045fc0b5dac35e28664640b1170ad80e045fc0522635b4015a46409e7e50172904;
SET @BorderBinary += 0x5fc06a4b1de4f55046406d3a02b859055fc0ff2268cc24404640fbaf73d366055fc0ce6dc2bd32354640f31fd26f5f075fc0;
SET @BorderBinary += 0x8461c092ab244640e1ff7bf951075fc08feaf5ad5d234640c2853c821b075fc0779e78ce161e464063b5f97fd5075fc0172a;
SET @BorderBinary += 0xff5a5e0d4640c1aa7af99d095fc0e2c798bb96f4454051685097410a5fc046ed5e3d87ee4540da8f1491610c5fc01b9947fe;
SET @BorderBinary += 0x60da45401656d7ba070e5fc025e77b061fce454042209738f20e5fc06ccf2c0950c745409b560a815c125fc014b01d8cd8b7;
SET @BorderBinary += 0x45405628d2fd9c165fc08f352383dcab4540014c1938a0195fc0a837a3e6aba64540cd0182397a185fc0aeba0ed594a24540;
SET @BorderBinary += 0x65c405a051195fc009a87004a99c4540b1f9b836541a5fc07095271076944540282504abea1b5fc0fbe769c02089454047cc;
SET @BorderBinary += 0x866db21e5fc0181e34763c7a4540d5592db0c71e5fc05da79196ca7945400dfe7e315b235fc0350873bb976b4540;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'OR';
SET @BorderBinary = 0x010300000001000000b3000000069fe6e4452154c082c7b7770d744440a6ac89a9452154c0819f2d70837344405f2c988b;
SET @BorderBinary += 0x452154c0dab38ed03d7344405d8b3bd9422154c0fa2a839af86c4440c6fa0626372154c078d32d3bc45144408f4492933721;
SET @BorderBinary += 0x54c0b6b34e3c1a3d44403a554fc8372154c0a48f2970273344404e965aef372154c0e6762ff7c92b444074bea6ad382154c0;
SET @BorderBinary += 0x458fc62170144440c5ac1743392154c0e7a90eb9190244408e3c32ee392154c040e50e5f29fb43401c5c3ae63c2154c03e1e;
SET @BorderBinary += 0xfaee56dc434051bb5f05f81a54c0129ed0eb4fdc4340ad4ece50dc0454c01c7c613255dc4340b44ceb3eab0254c022b52c22;
SET @BorderBinary += 0x53dc43400cb04207a0fa53c06686928f4bdc43403fe257ace1f053c0f0de516342dc4340bd4f55a181de53c0bbeead484cdc;
SET @BorderBinary += 0x434023a7db091ed953c006b4f91f58dc4340e15e99b7eac253c06cae9ae788dc4340602d975f98bb53c02b5dca298bdc4340;
SET @BorderBinary += 0x3446f32dbbb353c0c8f2ce968ddc4340ba86191a4fae53c05182fe428fdc43408d4b79bc599853c03680b89181dc4340fa8f;
SET @BorderBinary += 0xfffbf09553c0b826231180dc4340aab5300bed9553c0ac18ae0e80dc434017d32f89558653c062c4b2c579dc4340ae8218e8;
SET @BorderBinary += 0xda8453c0c287122d79dc434010919a76317153c01e69705b5bdc43403db7d095085e53c0bd50c07630dc4340e7f8c378065e;
SET @BorderBinary += 0x53c0b125c57630dc4340dae26d5b675d53c093eb307830dc434036ab3e575b4f53c0ff3f4e9830dc4340c8cc9ab7e34d53c0;
SET @BorderBinary += 0x4aea2b1430dc4340e15998d3f43f53c0a4d46f2d2bdc4340bc934f8f6d3f53c0d28bdafd2adc4340daeeeecc5f3253c0d931;
SET @BorderBinary += 0x3f4e4bdc4340361b2b31cf2d53c01b48179b56dc4340d013c347722453c066630ac158dc4340656b7d91d01a53c05a9bc6f6;
SET @BorderBinary += 0x5adc4340175e79fa560f53c0c112c5c35edc4340d2c6116bf10e53c005a568e55edc4340acac7f0cee0e53c0f2998de75edc;
SET @BorderBinary += 0x4340c0c44244af0853c0bc950ce162dc4340ce29541ef9f352c08571700f70dc434069705b5b78f252c0191a4f0471dc4340;
SET @BorderBinary += 0x9206b7b585f152c0ea95b20c71dc43409d9b36e334f052c026dd96c805e143405b936e4be4ed52c0cf66d5e76ae543403412;
SET @BorderBinary += 0xa1116cea52c0f38e537424e9434056d8c54909e652c0b26a1102d4ea4340c9e369f981e452c09a25016a6aeb4340cde67118;
SET @BorderBinary += 0xccde52c09b9141ee22ea4340fdf3346090da52c040852348a5e64340073f61eefad852c0e77f1cdc8de84340dbc7826781d6;
SET @BorderBinary += 0x52c02a695c4989eb4340b77a4e7adfd552c0fcdd3b6a4cec43409a5b21acc6d252c07cb779e3a4ec4340e121474690d052c0;
SET @BorderBinary += 0x8f4e52f465ed43404ca60a4625ce52c0899466f338ee4340ed447c3c84cd52c082392015eaee43409cda19a6b6cb52c0ccd2;
SET @BorderBinary += 0x4ecde5f043406e1993470dc952c0e58ccfea6bf2434078280af489c852c001a08a1bb7f24340705af0a2afc852c017d34cf7;
SET @BorderBinary += 0x3af94340dd41ec4ca1c752c03e95d39e92fb4340d570602bd9c352c07b247037fafe43401d3a3defc6c352c09b711aa20aff;
SET @BorderBinary += 0x434090f63fc05abf52c0f9635a9bc604444048ac984043be52c0910848e3f30544402c7e5358a9bb52c0e4d70fb1c1084440;
SET @BorderBinary += 0x643f8ba548b752c0bbb376db850a444066a208a9dbb452c0dcd26a48dc0f444086aa984a3fb152c091b8c7d2871044401cea;
SET @BorderBinary += 0x814f7bae52c0ab3e0b2f611344406b2a8bc22eae52c01de6cb0bb01344404c58480ee5af52c0eb737fb2a5174440240b98c0;
SET @BorderBinary += 0xadb052c0a6f0a0d97519444082fc6ce4bab452c076dcf0bbe91e4440ca30ee06d1b652c03a579412822344409509bfd4cfb9;
SET @BorderBinary += 0x52c0c0b167cf652844407254df2966bb52c0ba89a27f7f2b444077f4bf5c8bbc52c01155f833bc2d44402e5393e00dbe52c0;
SET @BorderBinary += 0x01f6d1a92b33444089b0e1e995c152c02f34d769a43344405fcfd72c97c352c0207d93a6413544403909a52f84c452c055a4;
SET @BorderBinary += 0xc2d8423a4440677bf486fbc352c05bcb64389e3d4440d368723106c552c0894336902e464440c7f2ae7ac0c852c08d25ac8d;
SET @BorderBinary += 0xb149444000fdbe7ff3cb52c0b612ba4be24844407434706e0bcc52c032ffa9a1d94b444053c2fe721ccc52c0d4b51894f54d;
SET @BorderBinary += 0x4440d026874f3acc52c0f165a208a9514440644a212347cc52c0471fb6deaf5644404c3448c153cc52c042075dc2a15b4440;
SET @BorderBinary += 0xb3b27dc85bcb52c08ee4f21fd261444099905aca15c752c0af8f227c26654440f59cf4bef1c652c0ea0775914265444070cb;
SET @BorderBinary += 0x4752d2c552c01c98dc28b26c44409a7add2230c452c0f3531c075e714440910a630b41c652c0eb71df6a9d7644409fde8264;
SET @BorderBinary += 0xe3c752c0e76bba218f7b44408c63247b84c852c0ed9c6681767d44409354a69883c452c09886e12362824440f1643733fac0;
SET @BorderBinary += 0x52c02783a3e4d5874440dcf77c4183bf52c09ddfe256e88b444098e8e766e9be52c003dd3818948d4440f04e3e3db6be52c0;
SET @BorderBinary += 0xf4dc4257228e44407fa0dcb6efb952c05184d4edec934440c2d8429083b752c045813e91279d4440f10f5b7a34b452c0bed6;
SET @BorderBinary += 0xa546e8a544403255302aa9b052c06f8104c58fab444015e2917879ac52c04aeb6f09c0ad4440cc43a67c08af52c029064834;
SET @BorderBinary += 0x81b64440f641fbc166b052c0b63bde7ebcb644407269fcc22bb352c0c18bbe8234b74440d8ee1ea0fbb852c0bd8a8c0e48ba;
SET @BorderBinary += 0x4440eca17dace0be52c088450c3b8cbf4440cb7edde9cec252c01b1021ae9cc94440bc60ffeaf4c252c0e6fdaf2348cd4440;
SET @BorderBinary += 0x1bd47e6b27c352c0c745b58828d24440ed65db696bc352c0a67f492a53e04440849b8c2ac3c452c0a112d731aee6444055d8;
SET @BorderBinary += 0x0c7041c752c003e8f7fd9beb4440dc792cf562c952c0dfba2dedd0ec4440782634492ccc52c0f62686e464ee4440ce6bec12;
SET @BorderBinary += 0xd5d052c0983270404bf14440cb0d863aacd252c0d026874f3af9444045b6f3fdd4d552c03731242713ff4440e8b5f0f107d7;
SET @BorderBinary += 0x52c0c5ab651931ff4440e3defc8689de52c05d328e91ecff4440b476ebeaebde52c05a277047ecff4440f19a223266e352c0;
SET @BorderBinary += 0xd8abf2e7e8ff44404818062cb9f752c01f2a8d98d9ff4440f4a62215c60653c08aac3594daff44404ce2e62e500953c0527d;
SET @BorderBinary += 0x34dbdaff4440b4ab90f2931d53c0656ebe11ddff4440c5225623461e53c08761919ae1ff4440cb052d1db02353c078e985df;
SET @BorderBinary += 0x04004540c5538f34b82353c027f73b140500454089536873513b53c093f2c0b417004540d6a2ff7fce3d53c09a0d98ab1900;
SET @BorderBinary += 0x454084d382177d4053c02d228ac91b004540e764ce910a6753c09b897524e4ff4440916b47defe6f53c02375e037d7ff4440;
SET @BorderBinary += 0x9ed2c1fa3f7553c0b3226aa2cfff4440cbd8d0cdfe8153c0e010aad4ecff4440bcb6f2fb388d53c0c1852720e2ff4440d7a2;
SET @BorderBinary += 0x05685b9153c011e0f42edeff444064048862b89353c0c40b1d90e1ff4440234a7b832fa653c0e48233f8fbff4440a19a1d8f;
SET @BorderBinary += 0xceba53c098d9159de2ff4440e7357689eabe53c09aaf928fddff4440c4fe87c1ebc353c07a085cedd9ff4440a51133fb3cde;
SET @BorderBinary += 0x53c0c408e1d1c6ff4440dc32efee17e753c07a460e80cfff44404241295ab9f053c0d87dc7f0d8ff4440f9635a9bc6f053c0;
SET @BorderBinary += 0x8bdd3eabcc104540e38920cec3f053c0d13fc1c58a2245403acd02ed0ef653c03b55be67241e454054ff209221fb53c03335;
SET @BorderBinary += 0x09de901a4540d216d7f84c0154c027ba2efce014454089e021c45a0154c06c4ef60ee51445406d533c2eaa0554c06118b0e4;
SET @BorderBinary += 0x2a1645409012bbb6b70854c0edbab722311345408f352383dc0954c058fe7c5bb00e4540c11da8531e1554c0b3942c27a104;
SET @BorderBinary += 0x454063ee5a423e2154c03d0b42791ffd444040b2c4cb3d2154c00d2ce67abeec4440b77c24253d2154c05378d0ecbad54440;
SET @BorderBinary += 0x21e71e313a2154c0f134e582fdbf4440217b8c003a2154c0980792f397be444014b5534c372154c08b3ac132b0aa4440e447;
SET @BorderBinary += 0xfc8a352154c0893e1f65c49d4440ca48c1843a2154c0721615cf1291444004c545ef3a2154c0fa29e51003904440492af4d7;
SET @BorderBinary += 0x412154c0fea1eae1627e4440069fe6e4452154c082c7b7770d744440;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'PA';
SET @BorderBinary = 0x0106000000040000000103000000010000000700000085402e71e45550c0c6a2e9ec64583240294014cc985550c05d18e9;
SET @BorderBinary += 0x45ed4e32401ebe4c14215250c0a0e1cd1abc473240963b33c1704f50c08b8ba372134d3240c4758c2b2e4e50c05b5b785e2a;
SET @BorderBinary += 0x523240e63dce34615050c0d767cefa9457324085402e71e45550c0c6a2e9ec6458324001030000000100000009000000b797;
SET @BorderBinary += 0x3446eb6450c08d2958e36c1a32408d25ac8db16250c0f92f1004c81432406284f068e35c50c0005130630a16324011001c7b;
SET @BorderBinary += 0xf65750c08ca03193a81b3240d61c2098a35250c05b26c3f17c1a3240681f2bf86d5250c0bea25bafe925324044183f8d7b59;
SET @BorderBinary += 0x50c0d102b4ad662932401c9947fe606050c0c1340c1f11273240b7973446eb6450c08d2958e36c1a32400103000000010000;
SET @BorderBinary += 0x007000000055a606e14dcf50c090f17829b35f324041f163cc5dd150c07364e597c15c324017450f7c0ccf50c0feec478ac8;
SET @BorderBinary += 0x4c3240a53d13566ace50c0d42e0eb9484c3240af97a60870cd50c0992b836a834b3240f8862bf83ccc50c03f13a5a7494432;
SET @BorderBinary += 0x400fef39b01cca50c0fc6b79e57a373240aa853d7c91cb50c0af8a170e0f2b32406d19709692cb50c0e5ed08a7052b3240a3;
SET @BorderBinary += 0xe8818fc1cc50c05d85949f54173240c136e2c96ecd50c0c100c28712093240a4a833f790cd50c02c280cca34fe314039ce6d;
SET @BorderBinary += 0xc2bdcb50c0342905dd5eee31405759db148fc850c0e770adf6b0f33140b09a8a59e6c650c083a1db939df331400fd3beb9bf;
SET @BorderBinary += 0xc550c063d34a2190f33140a206d3307cc350c0a19c685721f93140fb73d190f1c050c0f738d384edf73140d6fb8d76dcbe50;
SET @BorderBinary += 0xc0452dcdad10f6314054f60408a3be50c097fee80411f53140d3f36e2c28bd50c0205c01857aee3140cd76853e58bb50c0e1;
SET @BorderBinary += 0x7a14ae47ed31409bfeec478ab850c0f69672bed8f331408517a0baeeb650c0864f038279f33140dddcde0fe8b650c028c10e;
SET @BorderBinary += 0xf777f33140babc395cabb550c0e27492ad2ef331406af981ab3cb250c095d39e9273fa314052c8f17a9fb150c08f6fcdb203;
SET @BorderBinary += 0xfc314018062cb98ab050c0bf99982ec4fe314025adf886c2af50c055a0168387fd3140d9e89c9fe2ad50c032ca332f87fd31;
SET @BorderBinary += 0x40d2775e369cac50c0a4a705a262fb31406e30d46185aa50c0c30e63d2dff731404d68925852a950c0b393c151f2fa3140ab;
SET @BorderBinary += 0x3c81b053a550c07ff78e1a13f6314022e0d32998a250c07441acc9b8f931402252d32ea6a050c05359147651fc3140e6e462;
SET @BorderBinary += 0xd0029d50c08821f400eafa3140527fbdc2829c50c0a1630795b8fa3140f30181cea49850c02dd0ee9062f03140c8d2872ea8;
SET @BorderBinary += 0x9550c0e6eac726f9f93140aab48b13a49550c0ff754c2bf2f931402f6d382c0d9350c018062cb98af53140868f8829918f50;
SET @BorderBinary += 0xc03f19e3c3ece93140219ac52c1d8e50c05416029ff5ea31404ece50dcf18950c0c8b4368deded3140129ed0eb4f8650c09a;
SET @BorderBinary += 0xb1683a3bf5314042935ece5b8450c061437a2813f2314031074147ab8250c085b01a4b58ef3140a8c64b37898150c0164cfc;
SET @BorderBinary += 0x51d4f93140c45b082c268150c0caffda3193f93140b7d100de027f50c0f661bd512bf831408b296a405a7a50c0eace127fbe;
SET @BorderBinary += 0xfb31404d81cccea27850c0c26856b60ffd31400c2a1a73757650c0490b7f3b1003324023bbd232527550c07af99d26330632;
SET @BorderBinary += 0x4081b1be81c97350c0fad2db9f8b0e32403deeb9d2627350c0ddeee53e391232402479aeefc37150c0245e9ece15213240ce;
SET @BorderBinary += 0xa3e2ff8e7050c05985cd0017283240dba39952ef6e50c014cf04ef6f2a32406cae9ae7886c50c04d637b2de82d3240690d31;
SET @BorderBinary += 0x393c6a50c0a1b211f10a3132404ab1a371a86850c08104c58f3133324068cbb914576650c0ce52b29c8436324093ab58fca6;
SET @BorderBinary += 0x6550c071c79bfc164132408e3d8bf34a6750c080d4757b374b3240014eefe2fd6750c02bd9b111884f3240c85f5ad4276450;
SET @BorderBinary += 0xc091d3d7f3355332400d8d2782386450c0db1324b6bb5b324098f738d3846550c068cd8fbfb4643240027ff8f9ef6750c008;
SET @BorderBinary += 0xfeb7921d633240a3530e96536a50c09b132f0e9863324048145ad6fd6d50c02e1b9df35364324035ade197796f50c00a3b25;
SET @BorderBinary += 0x3def65324026df6c73637150c0f31dfcc40168324087f29ca6f97450c08fd8cea9f16c32402bda1ce7367550c08f54dff945;
SET @BorderBinary += 0x6d324070d1c952eb7950c085eae6e26f7332400ccd751a697f50c0ff740305de7532401166c2188a7f50c0b4f890cdcd7532;
SET @BorderBinary += 0x409d1d4354328250c054181f767f743240df89592f868250c027f6d03e567432400d152fcd458850c03e70156fe078324016;
SET @BorderBinary += 0x4cfc51d48850c006d671fc5079324066dcd440f38b50c07ae2395b4078324045088b55898c50c0504ddec37c78324028b858;
SET @BorderBinary += 0x51839050c02444f982167a3240843c925b299450c01cdf82a388793240f96871c6309450c055a01683877932405c332f435e;
SET @BorderBinary += 0x9650c0bb8dfec9ad7a3240c64ca25ef09a50c0d68c0c72177d3240dc96c5c1179c50c0088a8a1e437b324082e49d43199e50;
SET @BorderBinary += 0xc0e388b5f8147832408514f24131a250c06f65a38dbf7a3240f629c03285a550c0c9000071ea7c32408c9fc6bdf9a750c045;
SET @BorderBinary += 0xb75ed3837e3240336e6aa0f9ae50c0f10f5b7a347932402265931cffb050c03e50e884987b32407ac2120f28b350c051499d;
SET @BorderBinary += 0x80267e324029d684b58ab550c0659720acba7d3240fbc80f45b3b950c0339694b0fe7c3240f965304624bb50c0876bb587bd;
SET @BorderBinary += 0x7c32406f78d24734bd50c0737a2d42707e3240f75965a6b4c250c06fd40ad3f7823240eaf525383ac650c05c2727abfc8232;
SET @BorderBinary += 0x400ce544bb0ac850c0bf2a172aff823240836a8313d1ca50c0986c3cd862773240840b790437ca50c074eaca67796a3240ac;
SET @BorderBinary += 0xd1283940ca50c0d334babe646a32401c2444f982ce50c063cf9ecbd460324055a606e14dcf50c090f17829b35f3240010300;
SET @BorderBinary += 0x00000100000008000000a51133fb3cfc50c0b9fab1497e2032400d8ae6012cfd50c011514cde001332408a0453cdacf850c0;
SET @BorderBinary += 0x3f389f3a560932407ff964c570f650c0f0d93a38d80b3240ef7211df89f450c0889cbe9eaf1532403e90bc7328f650c026c1;
SET @BorderBinary += 0x1bd2a82032408fa850dd5cf950c00307b47405233240a51133fb3cfc50c0b9fab1497e203240;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'PR';
SET @BorderBinary = 0x01060000000200000001030000000100000007000000be1589096ae851c0397b67b455954440a7e8482effe551c08e9081;
SET @BorderBinary += 0x3cbb924440657094bc3ae151c02d5915e1269344404754a86e2ee251c04c31074147974440533a58ffe7e251c009e1d1c611;
SET @BorderBinary += 0x9f4440f755b950f9e551c0cd936b0a649e4440be1589096ae851c0397b67b455954440010300000001000000340000001a32;
SET @BorderBinary += 0x1ea512f751c0014eefe2fda84440e3f90ca837f751c02dcc423ba7a74440fcc3961e4df251c01004c8d0b1a9444064f78bcb;
SET @BorderBinary += 0xacee51c0c6f7d90ca9aa444006b7b585e7ec51c036e675c421ab444010ccd1e3f7e751c0c30df8fc30ae444077f4bf5c8be3;
SET @BorderBinary += 0x51c0698995d1c8af444080d4264eeede51c0139a249694af4440ff2268cc24dd51c060014c1938b444405c57cc086fdb51c0;
SET @BorderBinary += 0xbf9b6ed921ba44404db9479db3da51c0b328eb3b5fba4440ca367007ead851c0e2afc91af5ba444069705b5b78d651c0567c;
SET @BorderBinary += 0x43e1b3b94440f2e9b12d03d451c0acac6d8ac7b9444094ddcce847d251c0a3e9ec6470be4440f8c43a55becf51c0ecbfce4d;
SET @BorderBinary += 0x9bbd4440406fa7f458cf51c0a6147fd941bd44407247346e9ccd51c0498ecd9ab9bb444054de8e705acc51c08b69a67b9dba;
SET @BorderBinary += 0x44405187156ef9c851c08ecc237f30be44403db83b6bb7c751c0f5ba4560acbf44408bdd3eabccc851c02b6c06b820cd4440;
SET @BorderBinary += 0xf981ab3c81c851c01803eb387ed444408672a25d85cc51c0a6ed5f5969d64440c48d6d8be2cc51c0238a402f44d744409bad;
SET @BorderBinary += 0x0cb659cd51c036b3a40d5cd84440e8db82a5bad051c0c1df2f664be04440009ef5614ed451c0f6fe1e687be34440badbf5d2;
SET @BorderBinary += 0x14d551c0c0ec9e3c2ce4444076340ef5bbd551c0d122dbf97eea44404966f50eb7d551c0b9a3ffe55af244408738d6c56dd8;
SET @BorderBinary += 0x51c0f2e8465854f24440c4ec65db69d851c022179cc1dff94440df43595f69d851c0c76c166b14fe4440596abddf68d851c0;
SET @BorderBinary += 0x779d0df96702454068a2f23251dd51c01af6d8152902454087f98aeae2df51c09d11842908024540d8463cd9cde351c0c87a;
SET @BorderBinary += 0x6af5d50145409a70498fd4e551c086f6aecdba0145400cc9660acce651c07de4f5d8ad014540bce5eac726f351c0019f1f46;
SET @BorderBinary += 0x080145404696ccb1bcf251c06e6b0bcf4be74440b91798158af251c04e266e15c4dc44409516d7138af251c08b7feca4bedc;
SET @BorderBinary += 0x44403ac07d9686f251c0627b5315ecd14440b03907cf84f251c0e353008c67cc44407f0f3dda84f251c0039ccea665cc4440;
SET @BorderBinary += 0xbd746d86abf251c07ad866dbdbc54440cf64ff3c0df351c0747973b856b544409fc728cfbcf551c0b587bd50c0b44440be83;
SET @BorderBinary += 0x9f3880f551c073f4f8bd4dad44401a321ea512f751c0014eefe2fda84440;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'RI';
SET @BorderBinary = 0x010300000001000000c2000000156d8e739bd654c0dd257156445d4140a73160fc5fd654c095a2b500c75b41400ec06233;
SET @BorderBinary += 0xc3d554c07e471f96d9574140dd5ed218add554c03ee76ed74b5741402766bd18cad154c01edd088b8a52414037514b732bce;
SET @BorderBinary += 0x54c08ba548be124e4140afeded96e4c954c04bc972124a4b4140049c197c95c654c0a5a63a89ca444140c896e5eb32c654c0;
SET @BorderBinary += 0x01857afa084441406cb862963cc354c073ea06eb5d3f41406bf0be2a17c354c0834f73f2223f4140e7a4f78dafbf54c03e75;
SET @BorderBinary += 0xac527a3c4140d4e34be772bf54c046cf12a18a3c4140eb6f09c03fbb54c0de921cb0ab3d4140c8cedbd8ecb754c0b4e6c75f;
SET @BorderBinary += 0x5a3c414020956247e3b554c0c00644882b334140d4b7cce9b2b454c09db98784ef2d4140a833f790f0b154c062d8614cfa25;
SET @BorderBinary += 0x41404a8f628493b154c0e7d33234e9244140f486fbc8adaf54c06e88f19a571f414014e260020caf54c03d9d50f6361b4140;
SET @BorderBinary += 0x40dcd5abc8ad54c0b7b41a12f7124140e23d079623a954c0dc627e6e680a414096e10fe714a654c0023c9af3ba014140573e;
SET @BorderBinary += 0xcbf3e0a554c0a489778027014140176ab92308a454c047c52c6470fa40402991442fa3a354c07616bd5301f94040ec9e3c2c;
SET @BorderBinary += 0xd4a054c0d32ea699eef74040e86a2bf6979b54c0677bf486fbee4040300dc347c49454c0045262d7f6e840407fa2b2614d8f;
SET @BorderBinary += 0x54c0f3c7b4368ddd4040549b075f518e54c0f8dfb6dce2d94040b4a225efd18d54c0da53e35a08d84040581ea4a7c88c54c0;
SET @BorderBinary += 0xb33ee5982cd440407d3d5fb35c8a54c00244c18c29ce40406dc5c2011e8954c0207dedbb7dcd404048c50d7d568754c0e2be;
SET @BorderBinary += 0x1f2788cc4040bb61dba2cc8654c0cea44dd53dcc404049a0c1a6ce8154c03e3db665c0c5404087875a400f8154c0673c3f16;
SET @BorderBinary += 0xb8c34040469737876b7f54c0efc4ac1743bf4040e046ca16497b54c0de8d058541bb404038d73043e37a54c0f0dde68d93b4;
SET @BorderBinary += 0x40403ab187f6b17b54c0e6eac726f9ab4040f8fd9b17277654c02c0fd253e4a6404085a191102d7654c00565d2f4a59f4040;
SET @BorderBinary += 0xbfb854a52d7654c02bf86d88f19e40407c96e7c1dd7054c0aaf23d23119a40402fc7e4e5cc7054c0396d3502409940402844;
SET @BorderBinary += 0xc021547054c0bada8afd65934040dc662ac4236a54c02d42b115348d4040e96780d16b6754c09f6bfc716f8b4040641ef983;
SET @BorderBinary += 0x816654c08c2e6f0ed78a4040a2e3b557d06254c03e7fcfe5ae85404018e76f42216054c04a5f0839ef814040630cace3f85f;
SET @BorderBinary += 0x54c00342ebe1cb7840409885764eb35d54c00af2b391eb724040c9022670eb5a54c06d57e883656a4040bc2c6d81705a54c0;
SET @BorderBinary += 0xd7a287f4435f404094826e2f695a54c0c90391459a5e4040dfa46950345954c07b9dd497a5534040e7c2482f6a5954c0fef0;
SET @BorderBinary += 0xf3df834d40403bb53200c35854c0fd795de1aa4c40408fdd054a0a5554c0bcccb051d6474040e17c2ef6305254c0f2c942bb;
SET @BorderBinary += 0x0746404064726a67985154c0aaed26f8a6454040fed30d14784c54c0eae923f0873b4040807edfbf794c54c0f5d4eaabab34;
SET @BorderBinary += 0x4040f981d4311a4b54c01f068c7e443140409354a698834854c0d172a087da2a4040abb184b5314854c0d07d39b35d234040;
SET @BorderBinary += 0x05fbaf73d34954c099d711876c1e4040d2890333724954c079e46fe3131d4040beda519ca34754c0bf5fcc96ac16404097e1;
SET @BorderBinary += 0x3fdd404754c0315f5e807d0e404036e50aef724254c04e4354e1cf0a4040569a94826e4054c066f6798cf20c404029af95d0;
SET @BorderBinary += 0x5d3c54c04276dec66607404054c37e4fac3854c08738d6c56d044040a65765ef833754c01188d7f50b0a40408e3ba583f536;
SET @BorderBinary += 0x54c0c826f911bf0c4040b839950c003454c0f46e2c280c0e40408a9125732c2e54c09c3237df881440401666a19dd32a54c0;
SET @BorderBinary += 0x15aa9b8bbf1b40405c9198a0862e54c0ed2c7aa702224040915f3fc4063154c02446cf2d74254040172cd505bc2d54c082df;
SET @BorderBinary += 0x8618af2940400caa0d4e442954c0e9f010c64f254040f561bd512b2654c03f6d54a703234040e5603601862254c06395d233;
SET @BorderBinary += 0xbd244040a759a0dd211d54c03fc23060c92940408063cf9ecb1b54c01458005306304040b1f677b6471d54c0f25cdf878334;
SET @BorderBinary += 0x40407b8505f7031f54c0d51ef642013b40403b2cf10c3a1e54c0dd569260de3d4040406ececb2a1e54c02f2e6fc3153e4040;
SET @BorderBinary += 0xdddf31e9051e54c0f475e6af9b3e4040e4da5031ce1d54c0bada8afd653f40405c5577369e1a54c0241fe1d6103e40406d8d;
SET @BorderBinary += 0x08c6c11854c0b67f65a5493d4040211e8997a71554c09ace4e06473d404088b85dddf60f54c0de5be70bc2434040a180ed60;
SET @BorderBinary += 0xc40f54c04f39268bfb4340404fadbeba2a0c54c0548ec9e2fe454040ee21e17b7f0954c01e3691990b4a40400f61fc34ee04;
SET @BorderBinary += 0x54c01807978e394d40407633a31f0d0054c03a747ade8d4d40403ece3461fbfd53c0321af9bce2514040114f7633a3f853c0;
SET @BorderBinary += 0x93a8177c9a574040a35a441493f753c0c83f33880f5e404023d8b8fe5df453c0b29c84d21762404025cb49287dee53c0795a;
SET @BorderBinary += 0x7ee02a674040f546ad307dec53c0ba4a77d7d96c40409772bed87be653c082734694f67240403a2009fb76e453c07fbbecd7;
SET @BorderBinary += 0x9d764040d590b8c7d2e653c0fbcc599f727c40400ebe30992ae553c023145b41d3804040fc34eecd6fe153c0f1f44a598684;
SET @BorderBinary += 0x40408429caa5f1de53c091d0967329804040b72572c119db53c080d4264eee81404078b5dc9909d753c043e6caa0da804040;
SET @BorderBinary += 0xe386df4db7d553c0dee7f86871864040fd69a33a1dd553c0868c47a9848b4040b5334c6da9d253c0ed7daa0a0d8e404013fe;
SET @BorderBinary += 0xbb5191d153c0fcc4f7005e8f4040ce3461fbc9cd53c0bea25bafe9934040b401d88008cb53c08a8d791d719a404087f71c58;
SET @BorderBinary += 0x8ecb53c0b875374f759e404008c6c1a563ca53c097df6932e3a940406762ba10abc853c08177f2e9b1b340409468c9e369c5;
SET @BorderBinary += 0x53c0658ba4dde8bd40406adac534d3c153c05feae74d45c440403f8fff6db8bf53c0360c8dbd39c94040664aeb6f09bc53c0;
SET @BorderBinary += 0xb49080d1e5d1404018edf1423ab753c05225cade52da40402fdae38574b153c0e1ce85915ee240402c9ace4e06ab53c03f51;
SET @BorderBinary += 0xd9b0a6e840409b525e2ba1a253c0d89dee3cf1ec4040d5230d6e6ba753c02fde8fdb2ff5404003ccf123a8a953c0a11fd008;
SET @BorderBinary += 0xf8f8404083f57f0ef3b353c0cf6394675e0a41404cdf6b088ec453c0d8d30e7f4d26414074266daaeed653c0554e7b4ace45;
SET @BorderBinary += 0x4140d8c38a58d1dc53c02e4dc11e704f41406945eed790dd53c014825186a950414060014c1938eb53c07cd3f4d901674140;
SET @BorderBinary += 0x87f9004459ec53c07c677301096741402fce0fd627fb53c030a8c4c9666741403874e9d35dfb53c0100abc1f68674140efdf;
SET @BorderBinary += 0xbc38f10454c023861dc6a4674140ae666cb3811454c0567b29822468414072a43330f22354c0fa0ca837a368414089b8f374;
SET @BorderBinary += 0xf22354c0ea42643ba3684140790717c50c2854c0f2c99f4bdc684140a580b4ff013354c0290307b4746941404c86e3f90c32;
SET @BorderBinary += 0x54c0bd175fb4c77741403877fbd4cb3554c010ebba2e308041403947ddd5ff3954c090e85da39f8941404b598638d63b54c0;
SET @BorderBinary += 0xe525ff93bf8d414033897ac1a74254c03c84f1d3b88541400d4e44bfb64354c07632384a5e8941405ab56b425a4254c09a07;
SET @BorderBinary += 0xb0c8af8f4140b4d0a97bb44254c09a950612c4924140b0fecf61be4254c0287ff78e1a934140b8475971ff5454c0d1f5edc8;
SET @BorderBinary += 0xc594414027702ce6865754c09afe39fa00954140ada3aa09a25f54c0ec1681b1be9541404caa5c57287154c01a674e9b0097;
SET @BorderBinary += 0x414011d5e975f17754c0fe17cc407d974140e63f3999097e54c04d0d4833ed9741403c1059a4898254c044a165dd3f984140;
SET @BorderBinary += 0x0f3087d7188354c01e72030b469841400439de04d78d54c0a71135b2bc9841408aaf7614e79254c0ac6ef59cf49841404d1d;
SET @BorderBinary += 0x96e7979654c023644f236f994140f9f36dc1529a54c07c7f83f6ea994140d9b0a6b2289d54c0143fc6dcb596414018ca8976;
SET @BorderBinary += 0x15a254c0cfd90242eb9341401dfd9e4af9a454c0b7f399b3bf924140dcef5014e8ab54c0aef02e17f18f41401e6e8786c5af;
SET @BorderBinary += 0x54c0c58cf0f6208a4140ab7b6d95c5b054c00e828cdc7a8a4140d120054f21b254c0d044d8f0f48a4140554ca59f70b954c0;
SET @BorderBinary += 0xd27135b22b874140429521328ac054c08b20ba64728341408f899466f3c654c05ab9179815804140e19524cff5c754c05fea;
SET @BorderBinary += 0xe74d457a41405f0839efffc854c0384a5e9d63764140b760a92ee0cc54c076a73b4f3c714140ba63b14d2ad054c0925852ee;
SET @BorderBinary += 0x3e6d414089601c5c3ad254c0d21918795969414053927538bad454c01fa16648156541404fac53e57bd454c059c2da183b61;
SET @BorderBinary += 0x4140156d8e739bd654c0dd257156445d4140;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'SC';
SET @BorderBinary = 0x010300000001000000bc000000dbc2f352b1035ac01f82aad1ab7f46408b321b6492035ac0c5a86bed7d584640b1d79882;
SET @BorderBinary += 0x90035ac00614723616494640b9e34d7e8b035ac02ac76471ff1f4640293031c78b035ac0ef7f38c916174640cdaf59f08b03;
SET @BorderBinary += 0x5ac0829bf0f20e12464082548a1d8d035ac0b071fdbb3eed4540b9aa881d8d035ac00da596b33eed4540f10ef0a485035ac0;
SET @BorderBinary += 0x4739984d80c74540cdd1e2bf81035ac0972259096dc045405a3fb4f37f035ac0ab95460f29bd4540848252b472035ac08eac;
SET @BorderBinary += 0xfc3218a5454037e2c96e66035ac020ef552b138045405e7cda8b53e059c08e9362dd18804540f8e28bf678de59c01171732a;
SET @BorderBinary += 0x1980454083ce42b00ec059c0376ea18108804540645a15f2b1b259c073b9f72f0180454099f56228279a59c09b1da9bef37f;
SET @BorderBinary += 0x4540f5559677488559c02e4a2bd7e37f454003d3b274478559c0c9ff65d6e37f4540fed52358994e59c0cc13e42aba7f4540;
SET @BorderBinary += 0x143e5b07074059c0b2632310af7f4540f646cbcfb20c59c00268dfb4bd7f45408f72cfcab20c59c000d4e0b4bd7f4540f5d8;
SET @BorderBinary += 0x960167f658c066683c11c47f4540a6b715f52de258c046a36fefc47f4540ff0cadfd48d058c0a75d0db4c57f454041d13c80;
SET @BorderBinary += 0x45b658c0c408e1d1c67f4540792c3e3ee89f58c0afa058d0d07f4540b69be09ba69e58c0d4b5f63e557b4540e3c0abe5ce9b;
SET @BorderBinary += 0x58c0b4c70be9f0764540f92ccf83bb9858c06fb54e5c8e754540de6d3255b99358c03013757a78714540abe97aa2eb9158c0;
SET @BorderBinary += 0xbe1072deff6f4540444e5fcfd78e58c083a3e4d5396e45408315d1fac38958c0514bfbe9aa6b45402176a6d0798958c0809b;
SET @BorderBinary += 0xc58b856b45400af9a067b38658c01a51da1b7c674540e00f3fff3d8258c047382d78d16145401fd95c35cf7c58c0abb019e0;
SET @BorderBinary += 0x826245403a765089eb7958c055d80c704166454067d2a6ea1e7858c02fc1a90f246d4540f4177ac4e87658c0cf7f0f5ebb6e;
SET @BorderBinary += 0x454022365838497358c0586fd40ad36d4540f3e0eeacdd6c58c040bb438a016c4540ae3c4d15ab6858c0c92d6c14086d4540;
SET @BorderBinary += 0x43739d465a6658c0827170e9986d4540f19bc24a056158c08272dbbe476d4540b74acbe0085f58c01fadc4e7cc6c454037c0;
SET @BorderBinary += 0xcc77f05c58c0506c054d4b6c454081919735b15a58c04582a966d66e45400f41d5e8d55558c0179e978a8d6d45401c7c6132;
SET @BorderBinary += 0x555358c049ba66f2cd6e4540f430b43a394f58c098f8a3a8336d45400470b378b14d58c08b852172fa68454023326883904a;
SET @BorderBinary += 0x58c05c09b1b153654540dc7c23ba674858c0c0eac891ce6245408f537424974158c0a0be654e976145402883a319004158c0;
SET @BorderBinary += 0x32fd8bd3d5604540c6db4aafcd3d58c0e673ee76bd5c454019c748f6083a58c004e78c28ed5d45401dcbbcf5ab3358c0f495;
SET @BorderBinary += 0x57d9af59454078b130444e3358c0c6a52a6d715945407f15e0bbcd3158c00c3d62f4dc544540815a0c1ea62c58c094313ecc;
SET @BorderBinary += 0x5e54454061c3d32b652d58c052ee3ec7474d4540fd868906292a58c053cdaca58048454022442442302858c01fbbe3e27743;
SET @BorderBinary += 0x45404737c2a2222758c0f372d87dc740454063f030ed9b2158c054a703594f41454012f3aca4152058c09e961fb8ca3d4540;
SET @BorderBinary += 0xce86fc33831c58c0de37bef6cc3e45400ad6389b8e1e58c05fb35c363a4145402ffa0ad28c1f58c09d67ec4b36424540c170;
SET @BorderBinary += 0xae61861e58c0067fbf982d474540677a9fb1b81e58c0375f5c82d947454043a9bd88b62158c0f65b3b5112524540e28fa2ce;
SET @BorderBinary += 0xdc2558c0deffc709135845408b6b7c26fb2758c04d2cf015dd5c4540cccccccccc2758c04b1fbaa0be6345407e8978ebfc24;
SET @BorderBinary += 0x58c055d97745f0694540bcc799266c2258c042ad69de71704540cd914019972258c0f00024dd4c74454096e65608ab2258c0;
SET @BorderBinary += 0x89096af816764540567bd80b052058c0d2890453cd7a4540fdf7e0b54b2158c0e814e467237d4540f67d3848881f58c0e048;
SET @BorderBinary += 0xa0c1a680454015dee522be2058c01b9df3531c854540a67f492a531d58c0645b069ca58845406c836b2aef1c58c023f32018;
SET @BorderBinary += 0x918a45403e3f8c101e1c58c0dd3eabcc948e4540e2e82add5d1d58c0bad7497d5992454044fb58c16f1e58c032535a7f4b9c;
SET @BorderBinary += 0x4540f37002d3692158c0b1dcd26a489c45407939ecbe632358c00af65fe7a69f454082a09e1ac72358c0d9d69995f7a04540;
SET @BorderBinary += 0x0ccb9f6f0b2558c0ba83d89942a54540d78349f1f12158c012d89c8367a64540c32973f38d2158c04f5b238271ac454098a0;
SET @BorderBinary += 0x866f612158c0c403caa65cb1454019e1ed41082658c0ea3a545392b745402f89b3226a2558c0f1ef332e1cbc4540282a1bd6;
SET @BorderBinary += 0x542658c0f20698f90ec0454070253b36021d58c06a9f8ec70cc0454051f2ea1c031d58c0874ecfbbb1c64540bb7c7078fc1c;
SET @BorderBinary += 0x58c0cc9e51a4bcec4540ee9d6d78fc1c58c0a0dec1b4bcec4540ffd583b5f41c58c07d9d6c12301946404b8b63b5f41c58c0;
SET @BorderBinary += 0x78435dcb30194640de74cb0ef11c58c0f357c85c192e4640e8dd91b9021d58c0ed5a06e495454640a871412b0b1d58c03b81;
SET @BorderBinary += 0xcf9ccf504640b06173f11b1d58c0d7d4e2441c674640b810037c2c1d58c0be212ba6197d4640770a788e481d58c061e7503f;
SET @BorderBinary += 0x6ba24640bbeead484c1d58c016f6b4c35fa7464071eb5ec0151e58c0fa3d2792d4a94640459f8f32e21e58c0703e75ac52ac;
SET @BorderBinary += 0x4640961e4df5642158c0f5f3a62215b04640506d7022fa2358c004a8a9656bb14640e3f8a1d2882758c02ee1d05b3cb44640;
SET @BorderBinary += 0x9acb0d863a2b58c0e12538f581b44640191d90847d2d58c015527e52edb7464015ff7744852f58c0e76b96cb46bd4640ea3f;
SET @BorderBinary += 0x6b7efc3158c02ec901bb9ac446407bc9ee81773558c0cb95d74306cb4640bc8e3864033658c0ea5c514a08cc46408ee55df5;
SET @BorderBinary += 0x803658c0fe5f75e448cf4640db5031cedf3458c03a1c5da5bbd3464047ad307daf2f58c049d40b3ecdd946407c0a80f10c2b;
SET @BorderBinary += 0x58c07bd7a02fbddd464013ef004f5a2858c04f05dcf3fce3464079ad84ee922558c0c9fd0e4581e84640f9a1d288992458c0;
SET @BorderBinary += 0xff9254a698ef4640f06ab933132458c0ae5fb01bb6f74640c18eff02414558c0931cb0abc9f7464027beda519c4e58c0184b;
SET @BorderBinary += 0x6798c3f746400038f6ecb96258c043a9bd88b6f74640c4ebfa05bb7158c023f433f5baf746408398ae4ba47e58c0aaa35faf;
SET @BorderBinary += 0xccf7464015a967bd848058c072340743cff7464028b85851838458c0ab9509bfd4f746409d668176879a58c05e49f25cdff7;
SET @BorderBinary += 0x4640bb26a43506a858c08218e8da17f84640596d80265cae58c04778607e26f84640fa5e43705cc058c02409c21550f84640;
SET @BorderBinary += 0xbe6d7e475ec058c047e2591850f8464013b69f8cf1c558c0791c06f357f84640679b1bd313d658c012bbb6b75bf84640ec2e;
SET @BorderBinary += 0x505260df58c0593332c85df84640e527d53e1de758c05e2a36e675f846408e583fe0f4ed58c0154c04a46ff84640ffc874e8;
SET @BorderBinary += 0xf4ed58c0eac9fca36ff8464030e9f6ef52f858c07e7b2dac88f846408cbb41b456f858c08ac745b588f84640ac8f87bebb09;
SET @BorderBinary += 0x59c00b789961a3f84640d0b9dbf5d21259c0522ae109bdf846406b0c626bf51f59c0ea2eefeec8f8464097546d37c12059c0;
SET @BorderBinary += 0xaa5e7ea7c9f846406922d9c5c32059c071a015a8c9f84640187d0569c63059c0a305685bcdf846403317b83cd64659c040f9;
SET @BorderBinary += 0xbb77d4f846403ab2f2cb605759c02635b401d8f8464020b6f468aa6359c0a913d044d8f8464025cd1fd3da7259c062b83a00;
SET @BorderBinary += 0xe2f846407f0f9b57e97f59c027ce7196e6f8464051a2cb230b8059c05f4a51a2e6f846407b6649809a8559c0faee5696e8f8;
SET @BorderBinary += 0x46403be466b8019559c044882b67eff8464013b534b742a359c05e9d6340f6f846408639419b1cad59c0c22e8a1ef8f84640;
SET @BorderBinary += 0x450f7c0c56b859c051bb5f05f8f846400077cedf4abc59c07a328adaf8f84640bcf75a06b9bf59c088745c93f9f84640f164;
SET @BorderBinary += 0x3733facd59c073f56393fcf8464081e84999d4db59c0001aa54bfff846408db800344aea59c04eeb36a8fdf8464042b5c189;
SET @BorderBinary += 0xe8025ac0774a07ebfff84640d497c313d3025ac0de718a8ee4f046406116da39cd025ac0a6cf0eb8aeee4640187ac4e8b902;
SET @BorderBinary += 0x5ac05f0839efffdf464083df8618af025ac053793bc269c746409c89e942ac025ac0471e882cd2be46407288b83995025ac0;
SET @BorderBinary += 0x6b9c4d4700ab46402e39909591025ac0dbe27300409b4640e6e5b0fb8e025ac03b32569bff8f4640f981ab3c81025ac07233;
SET @BorderBinary += 0xdc80cf7f4640dbc2f352b1035ac01f82aad1ab7f4640;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'SD';
SET @BorderBinary = 0x010300000001000000fa0000005740a19e3e9356c047ad307daf8341400ff0a485cb9356c06669a7e6727f414014cd0358;
SET @BorderBinary += 0xe47256c024d236fe447f41409701587e9d7056c012fcb33f437f41403203d1305b6e56c05efaac84417f4140183143f23b69;
SET @BorderBinary += 0x56c029b227983d7f4140eb504d49d65b56c07422c154337f4140927d954c925656c00c93fc433b7f41404307bdbfb04c56c0;
SET @BorderBinary += 0xb92aac274a7f41404b02d4d4b24156c0c07adcb75a7f4140bb9fe49b184156c005db46195b7f4140d1dd02dcac3456c02101;
SET @BorderBinary += 0xc9f1627f414008a9dbd9573256c0a9a3e36a647f41402009fb76121e56c04e5e64027e7f41400f5743fd591856c0a2752920;
SET @BorderBinary += 0x767f4140d89e7514441756c08c082ba1747f414039efffe3841056c064b0e2546b7f4140d8463cd9cd0c56c0906456ef707f;
SET @BorderBinary += 0x414072dbbe47fd0c56c0e4b9be0f0781414005bd3786000056c0ae62f19bc2804140853f4ddd08ff55c0e958b7a9c1804140;
SET @BorderBinary += 0xe57adb4c85f655c05a83f755b9804140ac8bdb6800e855c06ef9484a7a804140c2efb54ecae655c0f2f8ec5373804140f919;
SET @BorderBinary += 0x16e556ce55c0c8f6fecae67f414058a65f22decd55c091eee714e47f414006188e117dcd55c0a1bef3d7e07f41401c460ab7;
SET @BorderBinary += 0x85b555c0c53d392b147f4140dae4f04927b255c0db8afd65f77e414066571af626b255c030f95565f77e414097c80567f09d;
SET @BorderBinary += 0x55c05434d6fece7e4140eaba8d93669455c04c62b5a9db7e41401686c8e9eb9355c0c5909c4cdc7e4140e3eda1e44a7755c0;
SET @BorderBinary += 0xa23bf506577e4140c4ebfa05bb6655c09b8bbfed097e4140ff9e4e915b5e55c0f541f001e97d414083c2a04ca35855c053b2;
SET @BorderBinary += 0x9c84d27d4140ace909734a5755c0b12b8148df7d4140bfb33d7ac35155c055302aa9137e41403c7a56a9f65055c0d8173606;
SET @BorderBinary += 0x177e414073d53c47e44255c03bfda02e527e41404a4ea8edb53e55c0f539e9c05c7e4140341725bd863e55c06bb339385d7e;
SET @BorderBinary += 0x41409065c1c41f3755c03e247cef6f7e4140029be1dcde3355c00a13ebc8727e4140824e0c53a73155c0d874f3b9747e4140;
SET @BorderBinary += 0xe7ff55478e2e55c09fe57970777e41404701a260c62755c01d588e90817e4140a8fdd64e942055c0342f87dd777e41402826;
SET @BorderBinary += 0x6f80991455c0698d4127847e41409ade43a7571255c0ec0273f8559a4140ae64c746201255c04d83a279009d4140b2614d65;
SET @BorderBinary += 0x510e55c05b09dd2571a2414004745fce6c0b55c0c0eac891ce9e41404bc631923d0655c03ecf9f36aa9f4140247f30f0dc01;
SET @BorderBinary += 0x55c0b696323164a5414041481630810155c03cdba337dca5414055664aeb6f0255c07711a62897ac4140137afd497c0055c0;
SET @BorderBinary += 0x6d19709692af41400e6954e0640155c09fe6e44526b44140999a046f48fe54c00f61fc34eeb94140037285555efd54c052d2;
SET @BorderBinary += 0xdfe09cba41408f21abc4fffc54c0c3081b70e3ba41402afc19deacfa54c01f7f69519fbc4140cc2555db4df654c0ab933314;
SET @BorderBinary += 0x77c241405549641f64f154c0183f8d7bf3c74140bb9d6dbe6cea54c05702b5b4adc84140a305685bcde954c0e0826c59bec8;
SET @BorderBinary += 0x41402b2d23f59ee554c062855b3e92c84140f0dc7bb8e4df54c07ba2ebc20fc84140942c27a1f4dc54c0b915c26a2ccd4140;
SET @BorderBinary += 0xd331e719fbda54c0f3e2c4573bce41403049658a39d654c0dded7a698ad4414009f8359204d354c0d578e92631d44140da81;
SET @BorderBinary += 0x02c4efd054c074ab6fe103da4140e1ca5d6165d054c00e2a1f1187db41400e80b8ab57d054c00035b56caddb414011381268;
SET @BorderBinary += 0xb0cc54c0dcb8c5fcdcdc41400306499f56ca54c0fcfcf7e0b5e141409b19fd6838c654c09e40d82956e34140feb7921d1bc3;
SET @BorderBinary += 0x54c0766eda8cd3e44140b5fcc0559ebe54c0e3c281902ce44140d9ed1ff6dbbd54c0e549f5b9d4e54140dd43c2f7febb54c0;
SET @BorderBinary += 0xd2a92b9fe5e94140d767cefa94b954c0128255f5f2ef414076dec66647ba54c034d769a4a5f641402299361b35b954c0bd15;
SET @BorderBinary += 0x5a1687f7414077b81d1a16b754c0e89fe06245f9414035d252793bb454c01efb592c45f64140a86f99d365b254c00abb287a;
SET @BorderBinary += 0xe0f941406f66f4a3e1b154c0cbf5b6990aff41405a9e077767ae54c00454388254024240de3cd52137a854c083f57f0ef307;
SET @BorderBinary += 0x42405d4d1d5bc4a654c09127850cc4044240d3bce3141da654c0dba6785c540342407c2766bd18a754c0a6ecf483bafc4140;
SET @BorderBinary += 0x7a522635b4a354c0944f8f6d19fa41406be014f380a054c0f001af24b5fd414017467a51bb9d54c0c8940f41d5004240fd08;
SET @BorderBinary += 0xab4daf9a54c0a67c7187560942407ac5538f349a54c095986725ad0a4240e0d8b3e7329654c0399a232bbf0e42406a9f8ec7;
SET @BorderBinary += 0x0c9354c030d80ddb16114240f337a110019154c08141d2a755104240a9db42d3188e54c01c2afb24b0134240d30fea22858d;
SET @BorderBinary += 0x54c0f5d555815a14424057af22a3038954c09198a0866f1142404df4f928238854c0be1248895d0d424039592033278554c0;
SET @BorderBinary += 0x830489e4870d424036001b10218554c03d44a33b880d424092054ce0d68154c02f1686c8e90f4240d7f6764b727d54c0151a;
SET @BorderBinary += 0x8865331d4240f8dea8b4cc7b54c029447838e2214240e44c7fe8c77a54c0289cf9d1c724424067d2a6ea1e7a54c0c1fbaa5c;
SET @BorderBinary += 0xa82642408e3d7b2e537554c00bd0b69a752c424013984eeb367154c0fe47a643a72b4240a085048c2e6d54c0d5e940d6532b;
SET @BorderBinary += 0x424003be084f6a6e54c05ca5c656d7314240dd43c2f7fe6e54c018080264e83442402363b5f97f6c54c0f6b3588ae43b4240;
SET @BorderBinary += 0x569c6a2dcc6c54c0ae450bd0b64442404db9c2bb5c6b54c05e9cf86a474b424013f241cf666954c0b7ea3a54534e4240d517;
SET @BorderBinary += 0x5836e97454c0c14c981daf4e424070766b990c7b54c05d2f4d11e04e42404b70ea03c97b54c0d4edec2b0f4c4240817d1b37;
SET @BorderBinary += 0x598954c0d48965941a4c4240ee056685228b54c0807c09151c4c4240fc6ab39e938f54c0959825e7244c424016419021d392;
SET @BorderBinary += 0x54c0e7a4675a2b4c424094d74ae82e9f54c0601e32e5434c4240dd7e49d6fca654c0f2ec19e62b4c42403a2174d025b554c0;
SET @BorderBinary += 0xf451465c004c4240a502fa3501bf54c097e36575324c4240a1f831e6aed154c038f24064914c42407f0af7c736de54c05df8;
SET @BorderBinary += 0xeb9ebb4c4240c49272f739eb54c04e7d2079e74c4240eb387ea834ec54c0af22a303924a4240c2f693313ef954c0d95c35cf;
SET @BorderBinary += 0x114b42400edcad9591fb54c0e351c190394b4240a9968f0435ff54c0df5391c2774b424060e7a6cd38ff54c05edc4603784b;
SET @BorderBinary += 0x424068288b588a0e55c09476cb89cc4b42406455849b8c0e55c002284696cc4b4240b48d8f7cb91055c0605ebef5de4b4240;
SET @BorderBinary += 0xc501f4fbfe1f55c0101fd8f15f4c4240f2b08b38d23155c00c498700364d42404fcde506433255c03ba92f4b3b4d4240c589;
SET @BorderBinary += 0x45fe433255c0b6eadf673b4d4240f947dfa4693c55c08fc536a9684e4240c274943e643e55c07277e2aaaa4e4240b60e0ef6;
SET @BorderBinary += 0x264655c071a8df85ad4f42407db2a4b3ae5155c07bf227ee255042406a15fda1995255c0234a7b832f504240adfc7d97ee52;
SET @BorderBinary += 0x55c0b1f133ab255042404bf82f0cee5b55c0bc98ffbf1a4f4240d2f9f02c415f55c03c9e961fb84e4240d9cbb6d3d66e55c0;
SET @BorderBinary += 0xb83eac376a4f42409577ddb5777255c0710b1341944f42405d18e945ed7755c0bd344580d34f4240644eab15727e55c08d62;
SET @BorderBinary += 0x6533775042409e060c923e8555c0485167ee2151424065ce3bfb278d55c0f71069d7d25142404c3f27f4559a55c0040acc8a;
SET @BorderBinary += 0xf9524240dcb6ef517fa055c028b8585183534240f8a23d5e48a355c0562b137ea9514240401f2c42f8a355c00ba657a60352;
SET @BorderBinary += 0x4240669fc728cfa655c0103fff3d78534240690b58c2d9b055c0b59c704709534240075c57cc08b455c01f2dce18e6524240;
SET @BorderBinary += 0xc6f92d94e4c355c0e1ec33da87524240a0b9e0375cc755c0b3e01b3f735242403e0f46ae80d555c0d6164d331f5242407f6b;
SET @BorderBinary += 0x274a42d655c0512cb7b41a524240abe5cc8808e955c0c6134b2aab5142402575029a08e955c0d8d5e429ab514240c2e7ba8a;
SET @BorderBinary += 0x6dec55c0464a63ea835142403f34f3e49af655c022a5d93c0e514240b130444e5ff655c047a98427f4544240af963b33c100;
SET @BorderBinary += 0x56c086c954c1a85642409354a698830456c01a6a1492cc5642403ec91d36910356c009f9a067b35042408522ddcf290256c0;
SET @BorderBinary += 0xde8fdb2f9f464240d6e3bed53a0356c023a298bc0140424010237a196a0356c069668ce0ff3f4240b60e0ef6260856c0b9df;
SET @BorderBinary += 0xa128d03f42407b8085084d1f56c044b99d102a404240c58a1a4cc32056c0d5ac33be2f404240cd28ad020c2156c0f59c95fa;
SET @BorderBinary += 0x2f404240b9162cdd453456c0b6e8cbf13f4042405283257cf03456c056dc7b7f4040424020b613e8693556c0899e50e44040;
SET @BorderBinary += 0x42402fbc92e4b93d56c03aac70cb474042401f459db9874d56c030f0dc7bb8404240c84beaa9175656c06695a6032c404240;
SET @BorderBinary += 0x62f6b2edb45a56c0f84f3750e03f42403a3defc6826256c082c8224dbc3f4240dee17668586156c08a743fa7203b4240499a;
SET @BorderBinary += 0x3fa6b56256c0caf962efc53542401422e010aa6056c0681f2bf86d30424018b2bad5736156c0a182c30b222c424052ac1acb;
SET @BorderBinary += 0xe16256c0571acf15112c4240c7f319506f6656c06002b7eee62b42409204e10a286756c003cb11329027424015e291787963;
SET @BorderBinary += 0x56c034b742588d2342407c7dad4b8d6656c09d7de5417a1e4240c0cb0c1b656b56c05e0f26c5c71f42409f8ec70c546c56c0;
SET @BorderBinary += 0x6ef8dd74cb1c42400c6702472b6856c0a943e529bd1742404bc79c67ec6756c0ae7d01bd701742405b79c9ffe46556c05390;
SET @BorderBinary += 0x9f8d5c11424021ab5b3d276956c0139b8f6b430d424038d55a98856b56c0e00ed4298f0a4240956247e3506c56c0662b2ff9;
SET @BorderBinary += 0x9f0242401c774a07eb6e56c0d80e46ec1300424099b51490f66b56c0aef204c24ef9414086376bf0be6956c0dd408177f2f5;
SET @BorderBinary += 0x41400c76b6a8876956c084dea09fa8f34140a46b26df6c6956c0a64412bd8cf24140923eada23f6e56c098f6cdfdd5ef4140;
SET @BorderBinary += 0x11381268b06e56c0838593347fec4140dec4909c4c6e56c04cfc51d499e741406f0b96ea027356c0d12346cf2de441405777;
SET @BorderBinary += 0x2cb6497756c028603b18b1df414012329067977a56c0e318c91ea1e04140a7ad11c1387d56c0b5696caf05d941407976f9d6;
SET @BorderBinary += 0x877956c0f46a80d250d34140f357c85c197856c05b785e2a36d0414048e17a14ae7b56c007b13385cecd4140f8307bd9767c;
SET @BorderBinary += 0x56c0f5d72b2cb8c7414002d2fe07587d56c092921e8656c54140b3b5be48688256c02b85402e71c64140923f1878ee8256c0;
SET @BorderBinary += 0x4031b2648ebf4140d09a1f7f698156c0068195438bba41400114234be68256c08f4e5df92cb54140fef0f3df838456c077d8;
SET @BorderBinary += 0x44662eb64140d42afa43338756c09badbce47fb44140198ee733a08556c018cfa0a17fae4140d3a3a99ecc8756c062bebc00;
SET @BorderBinary += 0xfba641406d6de179a98a56c0e1ef17b325a34140716f7ec3448656c02ac76471ff9f4140450da661f88556c0c8ee0225059a;
SET @BorderBinary += 0x414026f911bf628656c06a85e97b0d95414032ace28dcc8556c05e454607248f4140a4dde8633e8a56c0315f5e807d904140;
SET @BorderBinary += 0xda3a38d89b8b56c02de92807b38b414061a2410a9e8c56c05af2785a7e8641409df0129cfa9056c0fda02e52288541405740;
SET @BorderBinary += 0xa19e3e9356c047ad307daf834140;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'TN';
SET @BorderBinary = 0x01030000000100000028020000b476db85e6a75ac09b6ed921fee93f408d0b0742b2a85ac09201a08a1bdf3f4074ee76bd;
SET @BorderBinary += 0x34a55ac0a704c4245cd03f40ea9788b7cea15ac084ed27637cc83f402711e15f049f5ac08ba71e6970bf3f401b0fb6d8ed9d;
SET @BorderBinary += 0x5ac0acc77dab75c23f402dec6987bf9a5ac0334c6da983c03f4058fe7c5bb0975ac0aef02e17f1b53f4091b0b82d91965ac0;
SET @BorderBinary += 0xc3fc68b8dbaf3f40274a42226d935ac06403e962d39e3f40da56b3cef8915ac00853944be38f3f40f8e3f6cb278f5ac0218d;
SET @BorderBinary += 0x0a9c6c833f4063ee5a423e8b5ac001da56b3ce743f40834f73f222855ac08cd9925511663f409b3924b550805ac0b60da320;
SET @BorderBinary += 0x78643f400b21ba7fc57f5ac04055a07d49633f40e1cff0660d7d5ac0ab3fc230605d3f406937fa980f7c5ac02f17f19d9851;
SET @BorderBinary += 0x3f407debc37aa3775ac07f83f6eae3493f409e996038d7725ac06bf12900c6333f40cc99ed0a7d715ac0eecc04c3b92a3f40;
SET @BorderBinary += 0x9b73f04c686d5ac0f3fdd478e9223f40698b6b7c26685ac02f2fc03e3a193f40242a543717655ac0c26856b60f093f40cbf3;
SET @BorderBinary += 0xe0eeac635ac0008dd2a57ffd3e40292499d53b5f5ac04a09c1aa7af13e40fc8ba03193595ac0d3122ba391e33e406b2dcc42;
SET @BorderBinary += 0x3b595ac0be2cedd45cda3e401cee23b726545ac0821b295b24d13e40603c8386fe4d5ac0868db27e33cd3e40cd565ef23f4a;
SET @BorderBinary += 0x5ac078245e9ecec13e4045f295404a465ac0f4a276bf0ab83e4072dbbe47fd435ac08d25ac8db1af3e409cdcef5014405ac0;
SET @BorderBinary += 0x77d844662eac3e40992af8abc43e5ac0090710d3f9a03e40f6984869363e5ac0950ed6ff399c3e402fde8fdb2f3b5ac00393;
SET @BorderBinary += 0x1b45d69a3e403a765089eb385ac08fa67a32ff883e4031ed9bfbab375ac052793bc269753e406a4e5e6402375ac0e9ee3a1b;
SET @BorderBinary += 0xf2633e40a3e8818fc1345ac0a9471adcd65e3e406361889cbe305ac07c410b09184d3e40df180280632f5ac0fed0cc936b42;
SET @BorderBinary += 0x3e405c01857afa2c5ac0c7629b5434363e4080f0a1444b2c5ac0e0ba6246781b3e40c39ca04d0e2d5ac0753c66a032063e40;
SET @BorderBinary += 0x11c64fe3de2b5ac075e789e76cfd3d40f04dd367072b5ac03ffed2a23ee93d40b5fcc0559e275ac04e452a8c2dd83d4056ef;
SET @BorderBinary += 0x703b34245ac08dcf64ff3cc53d4000aab8718b225ac008ad872f13ad3d40aebce47ff21c5ac042e73576899a3d40f085c954;
SET @BorderBinary += 0xc1175ac0ebaa402d068b3d4019e59997c3135ac02f151bf33a863d40a3c85a43a90e5ac0a5bdc117267b3d4076a911fa990b;
SET @BorderBinary += 0x5ac0ef6dfab31f6d3d40992cee3f32095ac0ba46cb811e623d40757286e28e035ac05beb8b84b6543d4088ba0f406afe59c0;
SET @BorderBinary += 0x5e0f26c5c74b3d40f7cabc55d7f659c0eb4fe27327483d40dfc8bed0cef259c0c14c85725d423d40a75b76887ff259c093a7;
SET @BorderBinary += 0xaca6eb413d4051c0763062ee59c0452a8c2d04313d40266e15c440ea59c043c6a354c22b3d4059ddea39e9e559c09fe57970;
SET @BorderBinary += 0x77263d409d83674293e159c0a4e194b9f91e3d40d5e8d500a5dd59c03fa7203f1b113d40eacda8f92ad759c0c16f438cd704;
SET @BorderBinary += 0x3d40957d5704ffd159c0aa285e656dfb3c40c03fa54a94ce59c0feef880ad5fd3c4057b5a4a31cc859c0e09d7c7a6cfb3c40;
SET @BorderBinary += 0x2864e76d6cc659c0bc033c69e1063d40b6f81400e3c459c0368c82e0f1153d407c8159a148c259c0228ac91b601a3d404241;
SET @BorderBinary += 0x295ab9bf59c06b7efca545293d40bdc62e51bdba59c00072c284d1303d40ef1d3526c4b759c060e5d022db3d3d400f812381;
SET @BorderBinary += 0x06b959c0a641d13c80493d407a724d81ccb759c0892650c4225a3d405f5d15a8c5b459c0ecdade6e49663d40417dcb9c2eb5;
SET @BorderBinary += 0x59c029b16b7bbb713d405b22179cc1b359c05514afb2b6853d4013286211c3b159c076525f96768e3d40d89c836742af59c0;
SET @BorderBinary += 0x196f2bbd369f3d40d4b837bf61ac59c0db8310902fad3d4039471d1d57ab59c089e942acfebc3d40ef59d76839a759c0b474;
SET @BorderBinary += 0x05db88bf3d409b1c3ee944a359c04be2ac889ac03d40668522ddcfa059c07ff8f9efc1c73d40c3651536039e59c065dd3f16;
SET @BorderBinary += 0xa2c73d40bd19355f259959c0d8d47954fcc33d40c3499a3fa69759c04acd1e6805d23d405649641f649659c0eac891cec0dc;
SET @BorderBinary += 0x3d40caad6251659459c09c06750948df3d40b1a888d3499359c0ac8c463eafe03d40d446753a908e59c066101fd8f1d73d40;
SET @BorderBinary += 0x44a7e7dd588a59c0457f68e6c9d13d4019af7955678759c06cad2f12daca3d40cc5eb69db68459c0415f7afb73c93d404e0a;
SET @BorderBinary += 0xf31e678159c09755d80c70cd3d405dde1caed57d59c08fa7e507aece3d40c7bab88d067859c09545611745cb3d40a9c29fe1;
SET @BorderBinary += 0xcd7359c01c93c5fd47ca3d40673b7f5ebe7059c0cc94136063c73d402c8194d8b56d59c08672a25d85c43d4097ab1f9be469;
SET @BorderBinary += 0x59c0f71bedb8e1c33d40a35c1abff06359c03881e9b46ecb3d4015e63dce346059c03a1c5da5bbc33d403271ab20065d59c0;
SET @BorderBinary += 0x38b874cc79c23d406b662d05a45959c048ddcebef2bc3d40064a0a2c805759c000344a97fea93d40ea40d653ab5359c02006;
SET @BorderBinary += 0xbaf605a43d4052b648da8d5359c0718a8ee4f2933d407e3a1e33505059c038bc202235853d403f524486554c59c06f99d365;
SET @BorderBinary += 0x31853d40850662d9cc4859c04d486b0c3a793d4097749483d94359c05ef3aace6a753d40cc2a6c06b83f59c0ae44a0fa075d;
SET @BorderBinary += 0x3d4008aef204c23859c096236420cf4e3d40b952cf82503659c09772bed87b453d40c67a41cc513359c0127582d99a3b3d40;
SET @BorderBinary += 0x1c430070ec3259c06d5166834c3a3d406092ca14733159c03ba3ad4a222b3d404cc5c6bc8e2e59c0522976340e213d403603;
SET @BorderBinary += 0x5c902d2b59c09be447fc8a193d40ab8a8d30f52a59c0ea8b654e61153d40af230ed9402a59c00fecf82f10083d406bef5355;
SET @BorderBinary += 0x682959c03ab01c2103f53c40b876a224242859c08448861c5be73c4005357c0beb2459c033f6251b0fd63c40ce8de9094b22;
SET @BorderBinary += 0x59c0253d0cad4ece3c4092cd55f31c2259c0ddb06d5166c33c406ff607ca6d2059c04f92ae997cb73c400f9bc8cc052059c0;
SET @BorderBinary += 0x9942e73576a93c409dda19a6b61c59c0ea059fe6e49d3c40a56b26df6c1959c0185e49f25c933c403eae0d15e31859c037fa;
SET @BorderBinary += 0x980f08843c4098e0d407921759c032c85d84297a3c40a374e95f921559c0257497c4596d3c408237a451811459c05c5320b3;
SET @BorderBinary += 0xb35c3c406075e448671259c0f50d4c6e144d3c40d811876c201159c0df3312a111403c4082403701a40c59c0b188d1a36e32;
SET @BorderBinary += 0x3c40d3bf2495290b59c02555db4df02d3c40b16ce690d40459c0ecdb4944f81f3c40f7e461a1d60159c0b9bf7adcb7123c40;
SET @BorderBinary += 0x01857afa08ff58c0e3326e6aa0fd3b40d3669c86a8fb58c01d03b2d7bbf73b40bf9657aeb7fa58c06b9c4d4700eb3b408c7f;
SET @BorderBinary += 0x9f71e1f958c049b6ba9c12e03b40b8c7d2872ef858c0779b374e0ad33b40272ec72b10f658c099d4d00660c73b4090f3fe3f;
SET @BorderBinary += 0x4ef358c0081f4ab4e4bd3b40dcb930d28bf058c0f6e80df791b73b40a6eeca2e18ed58c06762ba10aba73b402237c30df8e7;
SET @BorderBinary += 0x58c04ad235936fa23b404d81cccea2e358c065c1c41f459d3b407a17efc7ede158c007e9297288943b40a774b0fecfe158c0;
SET @BorderBinary += 0xef1af4a5b77f3b40df88ee59d7df58c060c77f8120803b409a07b0c8afdf58c02a8e03af96733b403fc7478b33df58c04f00;
SET @BorderBinary += 0xc5c892693b40840ce4d9e5e158c079e8bb5b594e3b4089601c5c3adf58c0e13fdd40814b3b4051bccadaa6dd58c04e098849;
SET @BorderBinary += 0xb8443b40d51b7e2b7edd58c0d4fe6d2c22433b40ee3b86c77edc58c01edb32e02c393b4068739cdb84db58c0ec3026fdbd28;
SET @BorderBinary += 0x3b40cd7344be4bdc58c0f5effacc591b3b40c2120f289bdc58c07fd8d2a3a9063b402d23f59ecad858c0839f38807efb3a40;
SET @BorderBinary += 0x6249b9fb1cd758c04f9143c4cded3a40e2e995b20cd558c0d74b530438e13a40f39194f430d158c0e28fa2cedcd73a4021c7;
SET @BorderBinary += 0xd63384cf58c0f7add689cbc93a40f33977bb5ecd58c08f6ad8ef89b93a4039083a5ad5cc58c029b000a60ca83a40bc8b71f4;
SET @BorderBinary += 0x50cb58c09b262f46d5913a40d4997b48f8ca58c060c5a9d6c28c3a403c84f1d3b8c658c04e0b5ef415803a40d00a0c59ddc5;
SET @BorderBinary += 0x58c0b6f1272a1b7a3a4047e6913f18c758c01901158e206d3a40380d51853fc558c07689eaad81653a40cdc8207711c258c0;
SET @BorderBinary += 0x3045b9347e693a401c7c613255bd58c0e6caa0dae0643a405c38109205b958c03c1059a4895b3a406c1ff296abb358c0a374;
SET @BorderBinary += 0xe95f925e3a4082700514eab158c03bc5aa4198533a404127840ebaac58c03b32569bff433a40cfd6c1c1dea958c0062ae3df;
SET @BorderBinary += 0x673c3a40660fb40243a758c021ad31e884403a40018e7aa1f8a558c05e939813313e3a404016a243e0a458c019558671373c;
SET @BorderBinary += 0x3a400c73823639a058c0073f7100fd363a405ed38382529c58c038f7578ffb323a40cde33098bf9858c040f4a44c6a283a40;
SET @BorderBinary += 0x79d5fb8cb99358c03d0d86b3ef1c3a40fc170802649358c0bfec9e3c2c1c3a401c430070ec8f58c00d4e44bfb6123a40211d;
SET @BorderBinary += 0x32f71d8d58c02a03dcbc090f3a40b073d3669c8c58c08192020b600e3a40923d42cd908958c010b1c1c2490e3a405e2c0c91;
SET @BorderBinary += 0xd38558c0e0ef17b3250f3a40936e4be4828258c0742497ff900a3a40158db5bfb38058c0a86c585359103a4008c90226707c;
SET @BorderBinary += 0x58c0a2276552430f3a40d26c1e87c17758c01d740987de0e3a400f5f029f2f7758c02f99037fc80e3a4066f3380ce67258c0;
SET @BorderBinary += 0x892650c4220e3a40923d42cd907058c01230babc39083a408c834bc79c6c58c07ced992501063a40e9d0e979376958c01cb2;
SET @BorderBinary += 0x8174b1013a40d5b2b5be486558c01d53776517f039409888b7cebf6258c0e42cec6987eb39401a6a1492cc5f58c04a95287b;
SET @BorderBinary += 0x4be13940ec66463f1a5d58c0aa29c93a1ce139402f87dd770c5b58c023473a0323d73940c476f700dd5758c04ad05fe811d7;
SET @BorderBinary += 0x394035785f950b5758c03e58c6866ede3940bcc799266c5758c0915f3fc406e73940e02efb75a75558c0b81e85eb51ec3940;
SET @BorderBinary += 0x522ae109bd5158c0866f61dd78ef394086c43d963e4d58c054c2137afdf53940af928fdd054a58c03c2f151bf3f239401e18;
SET @BorderBinary += 0x40f8504958c05c19541b9cf83940bf620d17b94958c021ad31e884043a40e42a16bf294a58c0f6afac3429153a40041c4295;
SET @BorderBinary += 0x9a4c58c0b4fd2b2b4d4e3a40c42acb658d4e58c079355dcd57693a404bac8c463e5058c048861c5bcf803a40ee1adb126752;
SET @BorderBinary += 0x58c08f69dddfaf993a402db29defa75458c04c1938a0a5b33a405c74b2d47a5758c07ff5b86fb5e23a40f98557923c5858c0;
SET @BorderBinary += 0x2e52280b5f0f3b404fe8f527f15658c04b3b35971b3c3b40454705ce325658c062f95d4f28473b40d45dd905835558c08314;
SET @BorderBinary += 0x3c855c513b401e300f99f25258c036ab3e575b6d3b405ddc4603785058c00ce6af90b9823b40d6a8c07d454e58c009ea7e89;
SET @BorderBinary += 0x9c933b40f16261889c4d58c029ae2afbae983b40b0e07ec0034958c0866f61dd78b73b4090662c9ace4558c0a051baf42fc9;
SET @BorderBinary += 0x3b40cfd6c1c1de4258c0ba9f53909fd53b4083b253b8cb4258c01135fcfb26d63b4096900f7a364058c055babbce86e83b40;
SET @BorderBinary += 0xac8f87bebb3858c011e0f42ede073c4085a03853883658c0d635846b500f3c40f2d077b7b23258c05d4e0988491c3c406494;
SET @BorderBinary += 0x675e0e2e58c0291e17d5222a3c40ad2f12da722858c0addc0bcc0a393c403e0455a3571c58c0170d198f52513c402b499eeb;
SET @BorderBinary += 0xfb1858c04b1fbaa0be613c40a7e524e3391858c0b1ccd331ce633c409b5775560b1558c0f3a78dea746c3c40cc7c073f710c;
SET @BorderBinary += 0x58c02c4487c091803c4089ec832c0b0058c0b243fcc396963c40a0f7c61000f457c0a1bc8fa339aa3c406aa33a1dc8eb57c0;
SET @BorderBinary += 0x52ec681ceabb3c4088b663eaaee557c0b33d7ac37dc83c40e166fb4c73e057c002b7d4dd21d33c402461df4e22dc57c0658b;
SET @BorderBinary += 0xa4dde8db3c405114e81379d857c07bf486fbc8dd3c40b0c6d97404d357c09c137b681fef3c40eb6f09c03fcc57c059ddea39;
SET @BorderBinary += 0xe9053d408867093202c857c08255f5f23b113d40b5bbcbfc5cc757c053b1996057133d402ae27492adc157c006b7b585e725;
SET @BorderBinary += 0x3d405b3d27bd6fb357c049d576137c473d403f1878ee3dae57c0d86322a5d9543d40b0355b79c9ae57c0dc9c4a06805e3d40;
SET @BorderBinary += 0x48a643a7e7aa57c058c51b99476e3d405c3b511212a657c046b3b27dc8773d40e7a6cd380da057c0467a51bb5f813d405835;
SET @BorderBinary += 0x0873bb9757c071e1c3d03e8e3d408f4b9bf1a99657c0e0a36df8e58f3d40e5ec9dd1568a57c0ab06616ef7a23d40c78157cb;
SET @BorderBinary += 0x9d8357c006499f56d1ab3d4081069b3a8f7d57c0f2e7db82a5ae3d40b45549641f7757c04cc11a67d3ad3d40c5ff1d51a175;
SET @BorderBinary += 0x57c008ff2268ccb03d40b071fdbb3e7757c0dc5f3dee5bb93d40c3651536037957c0073f7100fdc23d409fcbd424787b57c0;
SET @BorderBinary += 0xfe4124438ecd3d40aa61bf27d67757c06ea301bc05da3d40d56ab33e8c7657c0beff265b41df3d40b75cfdd8247557c01de2;
SET @BorderBinary += 0x1fb6f4e43d40f78daf3db37357c0f46dc1525df43d403f726bd26d6f57c0c18a53ad85053e4080f3e99a346d57c062df2eaf;
SET @BorderBinary += 0x5b0d3e4028965b5a0d6d57c09677d503e60d3e401de21fb6f46c57c089929048db1c3e40890629780a6d57c0d898d711872c;
SET @BorderBinary += 0x3e40aad381aca76d57c0731074b4aa393e4046cae80a826d57c057db64dd743e3e40ba83d899426d57c0739f1c0588463e40;
SET @BorderBinary += 0xeb8ec536a97057c05e2a36e675543e404be82e89b36f57c0e2cad93ba3653e407d7d463e446f57c084ac85c0fa663e40cec2;
SET @BorderBinary += 0x9e76f86c57c06803b001116e3e405ad5928e726d57c0c5b12e6ea3813e40075a8121ab6e57c0bb7cebc37a8b3e4014addc0b;
SET @BorderBinary += 0xcc6b57c0441152b7b3973e406133c005d96b57c02e6d382c0da03e40a7e7dd58506857c0033e3f8c10ae3e406dc83f338867;
SET @BorderBinary += 0x57c064c8b1f50cbd3e40f0a0d9756f6457c0aab35a608fcd3e40567f8461c06357c0855b3e9292de3e402c64b92b7e6357c0;
SET @BorderBinary += 0x17bb5dd7a1e03e403811fddafa6157c0410a9e42aeec3e40ff3f4e98306357c0785f950b95f73e40de550f98876257c0d714;
SET @BorderBinary += 0xc8ec2c023f40e200fa7dff6157c035ecf7c43a0d3f40e42f2dea936257c03c80457efd203f4003cc7c073f6257c003ae2b66;
SET @BorderBinary += 0x842f3f406eb6aa1d5c6357c09659745d502f3f406b86ee47706657c01d505282c02e3f4010ad156d8e6657c0db2dc901bb2e;
SET @BorderBinary += 0x3f4003e962d34a6757c06666666666423f40419ab1683a6b57c0afc91af5104d3f4001bd70e7c26a57c0a9a10dc006603f40;
SET @BorderBinary += 0xdba50d87a56c57c0e34f5436ac6d3f40c3482f6af76f57c055f65d11fc773f405296218e756e57c0dc2c5e2c0c813f40ff1e;
SET @BorderBinary += 0xbc76697257c0e8bd310400873f409c36c7616f7557c0141e25dc11963f4050a912656f7557c0328e91ec11963f405208e412;
SET @BorderBinary += 0x477457c03577f4bf5c9f3f400a7f86376b7357c0dac35e2860b33f40f02e17f19d7657c0da01d71533ce3f40781570473578;
SET @BorderBinary += 0x57c039262a8222d83f404336902e367a57c05e9ece15a5e43f40630795b88e7e57c09d64abcb29ed3f40cff9ae27e28157c0;
SET @BorderBinary += 0x496bcfc3ccfa3f4030b95164ad8257c0287cb60e0efe3f4047ca1649bb8257c0bb24ce8aa8114040b808af87bb8257c0f65c;
SET @BorderBinary += 0xe6b016194040e1d05b3cbc8257c04e95ef19892e40405b23db0abd8257c0e4f4ee5536324040de0033dfc18257c042b456b4;
SET @BorderBinary += 0x3948404044ca315bc18257c09476ce34b55840402cb81ff0c08257c025ac8db1136640406d50118ec08257c01cac0e86c770;
SET @BorderBinary += 0x4040f1b913ecbf8257c01d3ba8c475824040bdfa78e8bb8257c0ec6b5d6a84944040ad47f09fbf8257c0f456840fb8a24040;
SET @BorderBinary += 0x5b22179cc18257c05bb22ac24daa4040b587bd50c08257c0ec67b114c9b74040c3ee3b86c78257c031992a1895c640401351;
SET @BorderBinary += 0x102cce8257c00d8c418e9ec640409f5912a0a68457c063d4b5f63ec94040c2a2224e278957c0728a8ee4f2c94040fecf61be;
SET @BorderBinary += 0xbc8b57c03d26529acdcb4040c6504eb4ab8d57c0663046240ac94040e603029d498f57c01d71c806d2c94040fc1a49827093;
SET @BorderBinary += 0x57c06186c61341c84040cd8fbfb4a89557c03c139a2496c84040d218ada3aa9657c09be5b2d139c740406f490ed8d59857c0;
SET @BorderBinary += 0x9e4319aa62c840403b8a73d4d19a57c0fdd8243fe2c940406abc7493189f57c04c1938a0a5d14040137cd3f4d9a157c01dac;
SET @BorderBinary += 0xff7398cf4040d23252efa9a457c02d060fd3bed5404030d461855ba857c0fe0b040132d6404085032159c0ad57c03d5e4887;
SET @BorderBinary += 0x87da4040153c19fdd7ae57c0fcb0a22c44dc4040847d3b8908b157c074b2d47abfdf4040e84cda54ddb557c00453cdaca5de;
SET @BorderBinary += 0x4040cefdd5e3beb957c04d9f1d705de340404e2844c021bc57c0aa27f38fbee740409487855ad3be57c0b87361a417ed4040;
SET @BorderBinary += 0x914259f8fac257c04dd6a88768ee40407ec3448314c657c0e272bc02d1f34040aa7f10c990c957c0a208a9dbd9f74040232b;
SET @BorderBinary += 0xf163fac957c0bf63df3020f84040c6c210397dce57c0d120054f21fb4040dba0f65b3bd057c0d061bebc00f74040be4d7ff6;
SET @BorderBinary += 0x23d257c0f0181efb59f040403da0d168ded357c0086cb316daef4040d5c8aeb48cd657c00e6abfb513ef404089cdc7b5a1dc;
SET @BorderBinary += 0x57c097900f7a36ef4040a3772ae09ee157c03e0455a357f14040b7e9cf7ea4e357c0745e6397a8f640401840f850a2e657c0;
SET @BorderBinary += 0xe2016553aef6404087c267ebe0ea57c090a339b2f2f340407422c15433ef57c0caa5f10baff240407058597389f257c0d67c;
SET @BorderBinary += 0x3907acef40409ece15a584f457c05ce15d2ee2ed4040443b6a7d12f657c0dbc3124e22ee4040a31f0da7ccf857c0083a5ad5;
SET @BorderBinary += 0x92ee40406588635ddcfb57c093e1783e03f040407d5bb054170458c078ea9106b7eb4040ebc5504eb40958c0dd04df347dea;
SET @BorderBinary += 0x4040fc1873d7120b58c02d3e05c078e6404009c21550a80e58c051dcf126bfdf404074cc79c6be1158c014cb2dad86e24040;
SET @BorderBinary += 0x9c89e942ac1358c0c0b2d2a414de40401c42959a3d1758c042b28009dcd8404058c2eb5c4c1858c0b9c84d8496db4040402d;
SET @BorderBinary += 0x060fd31958c0a92ee06586df40403ecbf3e0ee1b58c0559fabadd8e3404046cf2d74252058c0d061bebc00e340406725adf8;
SET @BorderBinary += 0x862158c02b33a5f5b7e84040c66af3ffaa2458c0081c0934d8e84040adbce47ff22558c090dc9a745bea4040893e1f65c425;
SET @BorderBinary += 0x58c0addd76a1b9f04040317dd3240f2658c04ba45fc106f14040b7b06ebc3b2a58c075adbd4f55f5404039605793a72b58c0;
SET @BorderBinary += 0xd89942e735f04040dbbc7152982d58c01ea33cf372ea404043a9bd88b63158c029029cdec5eb4040daff006bd53258c0e3f9;
SET @BorderBinary += 0x0ca837ef4040374d9f1d703658c0dee7f86871ec4040b70a62a06b3958c06de525ff93f34040c76647aaef3958c02d93e178;
SET @BorderBinary += 0x3ef94040588cda47cc3b58c0db4cdb0e09f940403cb3649a743c58c0497eb631f6f840408fa339b2f23c58c0f4311f10e8f8;
SET @BorderBinary += 0x404058c51b99473f58c01536035c90f5404013419c87133f58c09e978a8d79f14040f0f78bd9924358c0556ccceb88ed4040;
SET @BorderBinary += 0xbaf2599e074558c05bd07b6308e84040d8b8fe5d9f4558c0e36e10ad15e340403465a71fd44558c047e6913f18de4040fe0d;
SET @BorderBinary += 0xdaab8f4958c047e5266a69dc4040d9960167294d58c009c21550a8e740402c64ae0caa4a58c04145d5af74ec40405857056a;
SET @BorderBinary += 0x314d58c085b1852007f54040793bc269c14f58c02d93e1783ef34040944be3175e5458c0990af148bcee40409a95ed43de57;
SET @BorderBinary += 0x58c0c74961dee3e840402d077aa86d5c58c0f529c76471e94040198a3bdee45c58c07a8d5da27aef4040a1d3c234fc5e58c0;
SET @BorderBinary += 0xb26d7d51faf44040ca15dee5225f58c06950340f60f54040a01518b2ba6358c01c23d923d4f240406ed36368eb6358c05f41;
SET @BorderBinary += 0x8c7214f3404033164d67276658c002b9c49107f640406d52d158fb6658c0463eaf78eafb40409597fc4ffe6a58c0251e5036;
SET @BorderBinary += 0xe5fe4040e318c91ea17058c051f701486df64040048e041a6c7358c01422e010aaf040405f419ab1687758c0c539eae8b8ec;
SET @BorderBinary += 0x4040bc1de1b4e07c58c0c002983270f040409df2ef06ec7c58c0df1400b013f24040f5d6c056097d58c01727beda51f64040;
SET @BorderBinary += 0xbda60705a57c58c025cd1fd3dafe4040a7ea1ed95c8058c026ff93bf7bff404055f5f23b4d8558c0198f52094f00414085ca;
SET @BorderBinary += 0xbf96578658c0b32781cd39064140efe4d3635b8658c07311df89590d41400705a568e58758c040f67af7c71341402ae27df4;
SET @BorderBinary += 0xdc8858c02954f209131241405e46b1dcd28a58c06893c3279d0e4140289831056b8e58c02dca6c9049104140666666666694;
SET @BorderBinary += 0x58c04b395fecbd12414079ff1f274c9758c02174d0251c144140ac18ae0e809958c0cc7c073f711041402c27a1f4859a58c0;
SET @BorderBinary += 0xb5de6fb4e30a4140b6f1272a1b9b58c052af07527d0a4140425c397b679e58c0c49272f739084140d26f5f07cea158c09eb2;
SET @BorderBinary += 0x9aae270c41400856d5cbefa458c0622cd32f11134140094eeb0010a758c067b9f2affe134140eb1a2d077aa958c08e8f1667;
SET @BorderBinary += 0x0c154140a9f8bf232aac58c0412619390b114140236420cf2eaf58c0d1048a58c41041407d0569c6a2b358c0f4346090f413;
SET @BorderBinary += 0x4140db679599d2b758c01363997e89144140e3c281902cbc58c097530262121a41406ec615e4f2bc58c0247d8c9f321a4140;
SET @BorderBinary += 0xa62897c62fc058c02aff5a5eb91a41404f401361c3c358c0d80fb1c1c2194140342c465d6bc858c014addc0bcc1a4140ddce;
SET @BorderBinary += 0xbef220cc58c0f7915b936e1b41405af5b9da8acd58c06af6402b30284140aaaae7d22ece58c0db745ed7a5294140f6d1a92b;
SET @BorderBinary += 0x9fd158c049d576137c31414086527b116dd658c09c51f355f2374140f9d687f546d958c0124c35b396384140478c9e5be8da;
SET @BorderBinary += 0x58c015a75a0bb3304140821b295b24de58c0fd67cd8fbf3241402edd3fc366de58c0d0f028abcc324140a14acd1e68e558c0;
SET @BorderBinary += 0x293bfda02e344140fbaf73d366e658c0111ac1c6f52f4140083a5ad592ec58c0a14ca3c9c530414024d3a1d3f3f058c0c687;
SET @BorderBinary += 0xd9cbb6374140e202d0285df458c01fd7868a713e41404ce3ea5fe4f558c0e4ce472ce3404140e54350357afb58c09a92acc3;
SET @BorderBinary += 0xd1494140657fae28d9ff58c067892d53d34741408ca2073e060059c08c0e48c2be474140128f0a43060059c066231abe885f;
SET @BorderBinary += 0x41404f2ab34a060059c0eea4daa7e38341402c9ace4e060059c0f77475c7629741402838ee5e060059c00466ee0510b64140;
SET @BorderBinary += 0x86cb2a6c060059c045bb0a293fcf41406ab7c67d060059c03fbb70e7c2f04140dffc8689060059c0d711876c20074240382e;
SET @BorderBinary += 0xe3a6060059c076df313cf63f4240f09ef1a23d0059c0140aed3af63f4240e99d0ab8e71359c0111ac1c6f53f424037ddaf0a;
SET @BorderBinary += 0xf42259c033bfcec8ef3f4240b6494563ed2559c0d32ea699ee3f42404e7e8b4e963859c02f336c94f53f4240c22c36d4103d;
SET @BorderBinary += 0x59c0ccb22195f03f4240b9c32632734559c0b35c363ae73f4240f71e2e39ee6759c0d8b79388f03f42402bc1e270e67459c0;
SET @BorderBinary += 0x65a88aa9f43f42402c35add7118259c01eb7e72602404240d8f335cb658a59c054abafae0a4042408099efe027c059c01d02;
SET @BorderBinary += 0x47020d404240b83a00e2aec259c04c5299620e404240153944dc9cc259c0d95c35cf110742404efeca97a5c259c0bdfb0d87;
SET @BorderBinary += 0xa0de414027c11bd2a8c259c0b3976da7adcf41408df9a340bac259c0a9bb72b2719741407c0bebc6bbc259c014cb2dad8692;
SET @BorderBinary += 0x4140257f9f3bbcc259c0ebbf5cfa1f7a4140161230babcc259c026a77686a95f4140e4d70fb1c1c259c022533e04554f4140;
SET @BorderBinary += 0x9032e202d0c259c042041c4295304140065d7e71cec259c0b445173008284140d8689e34cec259c091cd7f31bc264140447a;
SET @BorderBinary += 0x53c0c9c259c069c9dd59710e4140933655f7c8c259c00ef27a30290a41402c6684b707c359c0166a4df38ee94040535c55f6;
SET @BorderBinary += 0x5dc359c0ae10566309c94040e66d799d9dc359c06a8c968eb7b140400ed940bad8c359c099bb96900f9c40409de3f2df0fc4;
SET @BorderBinary += 0x59c0962d73eac37a4040b037312427c459c019c8b3cbb76c40409a43520b25c459c04fcde506434b4040a60bb1fa23c459c0;
SET @BorderBinary += 0x9e996038d742404025c9737d1fc459c0a4dc7d8e8f1240405378227f1fc459c0c30ab77c240b40400e87a5811fc459c09887;
SET @BorderBinary += 0x4cf9100040401f477364e5d459c023f3c81f0c0040405d52243943ee59c0ee24046d05004040cb1c4fd1bbfe59c095c39313;
SET @BorderBinary += 0x010040402c4487c091015ac023d6e253000040400b08ad872f295ac08d4127840e004040e9c799a641365ac0b3da62390f00;
SET @BorderBinary += 0x4040c6b5bd65c53a5ac07dd8fb770f004040ef71a609db495ac0805f234910004040f6f065a208705ac070ed444948004040;
SET @BorderBinary += 0xe5af64c2de7f5ac0d33c11b440004040c1559e40d88c5ac0ca4faa7d3a0040403f7dcb8023985ac09225e2a2280040402bc2;
SET @BorderBinary += 0x4d4695a75ac0e0675c38100040401db0abc953a85ac076fa415da4f83f40b476db85e6a75ac09b6ed921fee93f40;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'TX';
SET @BorderBinary = 0x0103000000010000005b0000002afd84b35b835cc0eeb3ca4c69cd4240dbdd03745f835cc04a969350fabe4240828fc18a;
SET @BorderBinary += 0x53835cc0162d40db6aa4424072a609db4f835cc05fed28ce518b42405e4bc8073d835cc04c86e3f90c8042408ffe976bd17d;
SET @BorderBinary += 0x5cc05917b7d10080424013622ea9da3d5cc03eeb1a2d07804240c987fa578c395cc0c68de3de09804240f5c2528f16355cc0;
SET @BorderBinary += 0x16815ea90c804240bccff1d1e2225cc065ff3c0d18804240bde47ff277225cc02a9b346218804240cd069964e4165cc03cbd;
SET @BorderBinary += 0x529621804240870e880d6bda5bc01f01bd6b30804240745df8c1f9d95bc05e48878730804240d13b1570cfd15bc075e5b33c;
SET @BorderBinary += 0x0f8042402654707841c45bc0616f62484e804240cadb114e0bb05bc0003961c268804240003acc97179e5bc0c8409e5dbe7f;
SET @BorderBinary += 0x424000378b170b805bc02e3a596abd7f4240d49d279eb35f5bc0922232ace27f4240ba8102efe4425bc07afa08fce17f4240;
SET @BorderBinary += 0x0110534fcd425bc0128361270abe4240b45b7c05ba425bc0d2c6bd2fcaf042405449d8cbac425bc0ccfd693496134340cc0d;
SET @BorderBinary += 0x863aac425bc037fdd98f14154340df6e490ed8435bc031b43a39432343402d40db6ad6435bc06bb6f292ff3f43407fd1bd6a;
SET @BorderBinary += 0xd6435bc0e94bfca3ff3f434080d6fcf84b435bc0359886e1239043409cbf514047435bc045d3394aefae4340c1a9e0ad4443;
SET @BorderBinary += 0x5bc0c216c2e7b5bf43403cd2517c41435bc0526ad5568ad44340f86bb2463d435bc0957d5704ffef4340a8fe412443435bc0;
SET @BorderBinary += 0xd4415e0f26174440938ee6313f435bc0d93faef77f1c44402444f98216435bc002d19332a9534440d60a10b016435bc0d9a1;
SET @BorderBinary += 0xe722d0544440f91400e319435bc0696caf05bd6944402194f77134435bc05ab91798158044409a3dd00a0c505bc036001b10;
SET @BorderBinary += 0x21804440e690d442c96d5bc0ad1402b9c47f4440bce435be0b805bc07ed230a3ab7f44408fec563b1a835bc0c08b3470a77f;
SET @BorderBinary += 0x4440c3baf1eec8875bc08ae76c01a17f44409ab0fd648ca25bc00dc00644887f4440253e7782fdc25bc0dbdfd91ebd7f4440;
SET @BorderBinary += 0xdc53af19fcc25bc026f2e54f35a0444098ff907efbc25bc0e4f6cb272bae44400f61fc34eec25bc073486aa164c844402803;
SET @BorderBinary += 0x92b0eec25bc0b8b0f85b38ca44404f05dcf3fcc25bc05de0f258330045400ddfc2baf1d75bc0cde506431d0045402bbd361b;
SET @BorderBinary += 0x2bde5bc093c49272f7ff4440a4cb8ee57fe05bc0586d47b3f5ff44409132618880e05bc06d64cdb2f5ff44409a232bbf0cf0;
SET @BorderBinary += 0x5bc0b2f4a10beaff4440efd6d83e02075cc09c115f4bb1ff44406477819202075cc00a47904ab1ff4440afecc280890a5cc0;
SET @BorderBinary += 0x0b9529b8d8ff44401ee21fb6f4105cc0904b1c7920004540f20baf2479295cc0dd7a4d0f0a00454064495f6d0d405cc05d29;
SET @BorderBinary += 0x84c5c5ff44409a0986730d405cc0b88e71c5c5ff444042209738f24f5cc0ab96749483ff44403b394371c75f5cc005fa449e;
SET @BorderBinary += 0x24ff44408b53ad8559745cc066bd18ca89fe44406d1ff296ab825cc0c8b08a3732ff4440f984ecbc8d825cc04fac53e57be0;
SET @BorderBinary += 0x444044520b2593825cc097e2aab2efbe44401c615111a7825cc0dcd6169e979a4440282cf180b2825cc0c5353e93fd7f4440;
SET @BorderBinary += 0x990d32c9c8825cc058ace122f75c4440c91ccbbbea825cc07c293c68763f4440dcf29194f4825cc02c499eebfb324440c245;
SET @BorderBinary += 0xb5c5f7825cc0a2006996f70e4440813ffcfcf7825cc061342bdb870c4440e62f297206835cc0d45b9e0ef9f3434081936de0;
SET @BorderBinary += 0x0e835cc04be5ed08a7e54340c25f300505835cc04bd8529f78c543400455a35703835cc09b6ed921febf434094861a852483;
SET @BorderBinary += 0x5cc0b56ad784b4804340499c155113835cc0b01c210379704340506b94f829835cc068fc47ceb3564340de701fb935835cc0;
SET @BorderBinary += 0xb69c4b71554943400838842a35835cc0ff06edd5c73343405c92037635835cc072a774b0fe1f43403a3e5a9c31835cc09293;
SET @BorderBinary += 0x895b05134340067fbf982d835cc0d6dea7aad0f042406612f5824f835cc001f566d47cdf42406e5a81b35b835cc0a8ee2e52;
SET @BorderBinary += 0x69cd42402afd84b35b835cc0eeb3ca4c69cd4240;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'UT';
SET @BorderBinary = 0x01030000000100000081000000056d72f8a45a52c05f402fdcb90c4640b21188d7f55b52c0b9c3263273054640677bf486;
SET @BorderBinary += 0xfb5952c081b2295778014640e8a221e3515a52c0e00d6954e0fc454029cde671185a52c0dffc868906f745404f029b73f057;
SET @BorderBinary += 0x52c0384bc97212f045400e643db5fa5852c073d9e89c9fe84540e088f54e7b5852c0efe4f4c071e745409cdec5fb715652c0;
SET @BorderBinary += 0x97e315889ee245407db52b611c5752c0c8a434f469e04540b62bf4c1325952c07eaeb6627fd94540022cf2eb875a52c06877;
SET @BorderBinary += 0x483140d445405723bbd2325b52c0c954c1a8a4cc454081751c3f545952c031242713b7c845405d35cf11f95452c01492ccea;
SET @BorderBinary += 0x1dd04540226fb9fab15252c0dc9bdf30d1ca45408a90ba9d7d4f52c00a68226c78c4454077d844662e5052c097a949f086ae;
SET @BorderBinary += 0x4540345303c0575052c0fdd0f17e48a845405a475513445152c04c16f71f99844540da7eb3d2475152c0694e2972ee834540;
SET @BorderBinary += 0x89ae097a865152c0fc8bd3ecc8784540ce5147c7d55152c06614cb2dad6a4540ea3d95d39e5252c010018750a56645402976;
SET @BorderBinary += 0x340ef55052c09d6340f67a5f4540ae6964871e4952c0b4febf91285f4540cb597b64774152c0ef83691fd85e45402a1df489;
SET @BorderBinary += 0x314152c02a531d41d55e4540345d326c893b52c01fe397ca995e4540a6b0c88e503752c02d4899686d5e45402e71e481c833;
SET @BorderBinary += 0x52c070ed4449485e4540ff319567122152c04f775e763e5d45400e661360581d52c0efffe384095d45400f45813e911e52c0;
SET @BorderBinary += 0x2b9fe57970614540fc3a70ce882252c01b6327bc04674540ad86ea64732352c0416eb7efd56d4540713ac956972352c01b0c;
SET @BorderBinary += 0x7558e16e45409f758d96032252c0bbb88d06f0724540e658de550f2252c0463d44a33b7a4540e54691b5861f52c01805c1e3;
SET @BorderBinary += 0xdb7b4540389ecf807a1c52c021ca17b490804540d0e12cfdec1c52c04e961854a08245400da9a278951d52c03e03eacda885;
SET @BorderBinary += 0x4540de205a2bda1b52c09b8e006e168b45401d91ef52ea1c52c06a32e36da5934540b503f41ad31c52c084e882a4a4944540;
SET @BorderBinary += 0xf834272f321c52c0a52a6d718d9b4540751ef807c11b52c0d2990202cc9d45402c634337fb1a52c04832ab77b8a14540fbe5;
SET @BorderBinary += 0x9315c31952c070253b3602a94540cafacdc4741a52c08cf50d4c6eae4540c0e3d42f671952c0605f7eebe6b64540a8a081db;
SET @BorderBinary += 0x661952c0eec7d691e9b64540874f3a91601852c07405db8827bf4540d5b2b5be481852c0df52ce177bc945406aee0ca45615;
SET @BorderBinary += 0x52c06157092688cd4540005471e3161552c0c30e63d2dfcd45402f2fc03e3a1252c05caca8c134dc4540251de560360e52c0;
SET @BorderBinary += 0x55be672442e14540c1a13240890d52c09982cf4cf2e24540c3d155babb0b52c090300c5872e74540f4e0eeacdd0a52c02041;
SET @BorderBinary += 0xf163ccef4540b29defa7c60652c0d9e6c6f484f94540ce4f711c780752c075914259f8fe454019e660ce1d0552c0a8407e0a;
SET @BorderBinary += 0xd70346403be02368170552c097966e49e403464093533bc3d40452c0ebfd463b6e044640d1b1834a5c0252c0514cde00330d;
SET @BorderBinary += 0x4640543150e6710352c01a9df3e274144640210038f6ec0352c0662e7079ac174640e8137992740352c01b446b459b1f4640;
SET @BorderBinary += 0x52efa99cf60252c075feedb25f254640ab949ee9250052c09b35785f95294640e998f38c7dfc51c0ca3505323b2b4640b131;
SET @BorderBinary += 0xaf230ef851c06553aef02e2b4640f432ea289cf551c0f57d34c0842c464036ae7fd767f451c0d13deb1a2d2d464063cf9ecb;
SET @BorderBinary += 0xd4f151c09bfc169d2c3346408d8b9612c8f051c07abb90fbaf334640bf09850838ec51c04cfbe6feea3546408d0c721761e9;
SET @BorderBinary += 0x51c0da8d3ee6033c4640f0a1444b1ee551c017edf1423a40464000e48409a3e551c08a8ee4f21f464640bd378600e0e251c0;
SET @BorderBinary += 0x69a510c8254a4640f59eca694fe351c07b849a2155504640e20511a969e551c032aeb8382a5546405b24ed461fe851c0a564;
SET @BorderBinary += 0x3909a55f4640ace4637781e451c07920b2481367464032aa0ce36ee151c0817a336abe704640d5027b4ca4df51c031242713;
SET @BorderBinary += 0xb7744640f758fad005e251c068925852ee7c4640c11a67d311e051c061c26856b6814640baf2599e07e751c0b4aed172a081;
SET @BorderBinary += 0x4640bd8a8c0e48ec51c0c9c6832d76814640482bfc1a74f951c00511248308814640eca2e8818ffa51c0001aa54bff804640;
SET @BorderBinary += 0x8a90ba9d7d0152c0edef6c8fde804640423c122f4f1652c01e85eb51b880464066817687142252c02979758e01814640fc31;
SET @BorderBinary += 0xa82f792352c08849ff3c36814640e2c80391452552c0b5bfb33d7a814640a3aa09a2ee3b52c0bd344580d381464064e597c1;
SET @BorderBinary += 0x184352c0672783a3e481464080de2408e04a52c0e9780044af814640f85a7cd04e4c52c04722416fa5814640419e5dbef555;
SET @BorderBinary += 0x52c08bbe823463814640e0675c38105652c042e8a04b387c4640f8c1f9d4b15552c08d942d92767546404813ef004f5852c0;
SET @BorderBinary += 0x213b6f63b36d464078b7b244675752c08d5f7825c9694640e5585488e35552c0909fed046f6746404833164d675552c0309f;
SET @BorderBinary += 0xac18ae66464091eee714e45652c0895a9a5b21604640732ec555655752c0533e0455a35946405323f433f55852c048f949b5;
SET @BorderBinary += 0x4f4f4640db68006f815752c010018750a548464094e3f831365752c0ed4d5f88fe47464001b5765b455652c09d3e15aae845;
SET @BorderBinary += 0x46407a371614065452c06e83da6fed4046408c2b2e8eca5252c0af7ac03c643846404e61a5828a5452c0b5183c4cfb304640;
SET @BorderBinary += 0x05c24eb16a5552c0e8d84125ae2d46408cdafd2ac05452c000016bd5ae274640cf46dd32515452c044a55918bb214640cbd4;
SET @BorderBinary += 0x2478435452c018761893fe204640ba0ed594645652c0fc372f4e7c1d4640c0779b374e5952c0594dd7135d1546409b075772;
SET @BorderBinary += 0x975952c0fdf852a684134640056d72f8a45a52c05f402fdcb90c4640;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'VT';
SET @BorderBinary = 0x010600000002000000010300000001000000240000008251499d800153c029adbf2500a54240e74f1bd5e9ff52c0683d7c;
SET @BorderBinary += 0x992898424099b9c0e5b1fe52c06c79e57adb8c42401e32e54350fc52c0103fff3d788b4240093197546df952c0e65b1fd61b;
SET @BorderBinary += 0x8f42403c4b901150f452c00d6b2a8bc298424038bd8bf7e3f252c0a80018cfa09f424068244223d8f152c0fb93f8dc09a642;
SET @BorderBinary += 0x40b29c84d217ef52c0321d3a3defaa4240e97c789620ee52c03718eab0c2af4240e257ace122ea52c0ce6bec12d5b9424065;
SET @BorderBinary += 0x58013596ea52c02a561f46d0bb4240c24eb16a10eb52c05e9a22c0e9bd4240546ea296e6e652c0e255d636c5c7424093e00d;
SET @BorderBinary += 0x6954e752c0b4ca4c69fdcd424038f1d58ee2e552c09db64604e3d44240942efd4b52e352c084b53176c2df42407d3a1e3350;
SET @BorderBinary += 0xdf52c0c32973f38dea4240527aa69718dc52c05322895e46ef424059677c5f5cd852c009f8359204ed424019abcdffabd552;
SET @BorderBinary += 0xc05d30b8e68ef24240b2bb404981cf52c01494a2957b0343405323f433f5e752c06729594e42ff42405fb1868bdcea52c074;
SET @BorderBinary += 0x95eeaeb3f942400798f90e7ef052c0213b6f63b3f34240a279008bfcec52c043e048a0c1ec4240f3716da818ef52c0331823;
SET @BorderBinary += 0x1285e842408fc2f5285cf452c080272d5c56e542401a12f758faf352c0af2479aeefdf4240842c0b26fef652c09b3a8f8aff;
SET @BorderBinary += 0xd94240d44334ba83f952c0c8073d9b55d142405e656d533cfc52c0cc9a58e02bc84240abef254a84fc52c0ca77dbf646c642;
SET @BorderBinary += 0x40a7751bd47efe52c0dd5a26c3f1b8424060cac0012dff52c0cb80b3942caf42408251499d800153c029adbf2500a5424001;
SET @BorderBinary += 0x030000000100000021010000e17d552e54e754c0289cdd5a26514240c49272f739eb54c04e7d2079e74c42407f0af7c736de;
SET @BorderBinary += 0x54c05df8eb9ebb4c4240a1f831e6aed154c038f24064914c4240a502fa3501bf54c097e36575324c42403a2174d025b554c0;
SET @BorderBinary += 0xf451465c004c4240dd7e49d6fca654c0f2ec19e62b4c424094d74ae82e9f54c0601e32e5434c424016419021d39254c0e7a4;
SET @BorderBinary += 0x675a2b4c4240fc6ab39e938f54c0959825e7244c4240ee056685228b54c0807c09151c4c4240817d1b37598954c0d4896594;
SET @BorderBinary += 0x1a4c42404b70ea03c97b54c0d4edec2b0f4c424070766b990c7b54c05d2f4d11e04e4240d5175836e97454c0c14c981daf4e;
SET @BorderBinary += 0x424013f241cf666954c0b7ea3a54534e42404db9c2bb5c6b54c05e9cf86a474b4240baa1293bfd5f54c08ac8b08a374a4240;
SET @BorderBinary += 0x457aceb2995654c062b1251ac2494240e333d93f4f4b54c0b5dd04df34494240ffaecf9cf54354c0c616821c94484240385a;
SET @BorderBinary += 0x91aeb73954c093df4e93e7474240fcfcf7e0b53954c066bfee74e74742405c1c120dc63554c0b03c8145ed4742403f8d7bf3;
SET @BorderBinary += 0x1b2d54c0af75a911fa474240bb1fec332e2754c0ae00d4a3734742402d89c8a12a1c54c0da451ee87946424090f2936a9f1b;
SET @BorderBinary += 0x54c0a45181936d464240de57e542e51254c0197442e8a0454240e8a198cd6b0354c0f5736f357545424074cc79c6be0154c0;
SET @BorderBinary += 0x2b9fe57970454240b408e0890ff953c0b20e9e5a6145424016876536c0ed53c0a7a00aa94d45424025d5ed95b3e053c0396c;
SET @BorderBinary += 0x12f0364542403b33c170aee053c02bda1ce736454240fd2e72f516de53c0d095881c3a454240adab028feed553c0f6a71136;
SET @BorderBinary += 0x4445424068df4228fecd53c0f07c460a4e454240c941d906d4c853c0bc3c226f5445424069e21de049bc53c044de72f56345;
SET @BorderBinary += 0x42403d31cd93f6b253c093b28c60584542400d5948defbae53c025c95d6f53454240b2463d44a3a053c04f01309e41454240;
SET @BorderBinary += 0xbcae2d99469d53c098666e274e454240c4176e75b69453c0d6ec70156e454240d591239d818853c03f1a4e999b454240ff6e;
SET @BorderBinary += 0xb7ecf48253c05b554c45a845424021c19ddc957953c02fd34dabbd45424079499538187153c0d40f950ed14542405ce7df2e;
SET @BorderBinary += 0xfb6f53c02ea86f99d3454240d97dff0c1f5353c0eafa369be44542401361c3d32b4c53c05320b3b3e845424012e9abc7844a;
SET @BorderBinary += 0x53c0a0510756e84542400e828e56b53a53c0490ed8d5e44542407bf586c8a03a53c0ff573ef8e545424037d8a7579b3a53c0;
SET @BorderBinary += 0xedeb1c45e64542400e2c47c8402f53c014cb2dad86464240143e878da92253c010d16318804642404fb3b872741f53c0c15b;
SET @BorderBinary += 0x326b7e4642407767edb60b1453c0dae38574784642404febc6680b1453c0602b867478464240abfcffa5d40753c08c77b37f;
SET @BorderBinary += 0x78464240c0caa145b60153c07bdb4c85784642405a0c1ea67df752c01212691b7f46424021205f4205f952c04c6da983bc50;
SET @BorderBinary += 0x4240d1c952ebfdfa52c001158e209558424060cc96ac8afd52c054fb743c66664240c6a4bf97c2ff52c0fd2fd7a205764240;
SET @BorderBinary += 0x917d9065c10253c05f402fdcb97642404221020ea10553c0e34d7e8b4e74424037e2f61b530b53c01a2b005bda7642402d25;
SET @BorderBinary += 0xcb49280c53c0897ac1a73977424087a4164a261153c03a3aae46767b42403a563272fb1153c0021adbb4267d4240762117a5;
SET @BorderBinary += 0xfe1253c032fcd98a347f4240aa454431791353c0897780272d804240c1135f3c2b1253c029d93de8bf86424071a94a5b5c11;
SET @BorderBinary += 0x53c059897956d28a424087eb6797c21253c0ead588ea9c8e4240658ba4dde81353c06bd44334ba9142407dd0b359f51553c0;
SET @BorderBinary += 0x9f0436e7e0974240a69a1b5c381653c0d90e514546984240a7936c75391953c0e25817b7d19c42404c9991bb1f1853c063fc;
SET @BorderBinary += 0x9758ef9f4240be6a65c22f1753c0b343fcc396a24240ad174339d11853c0ecfa05bb61a74240ac8bdb68001c53c0f853e3a5;
SET @BorderBinary += 0x9bb04240b92c7fddc91953c0270d84b740b24240d87f9d9b361953c0d0967329aeb242409eb12fd9781753c0fcc1c073efaf;
SET @BorderBinary += 0x42403b16dba4a21153c0fb777de6aca742404e97c5c4e60f53c0e04a766c04b04240c0c93670071053c0f451465c00b64240;
SET @BorderBinary += 0x4df6cfd3801153c0d102b4ad66bf4240ae13cc0c871253c08518731d9ec4424009e1d1c6111353c03f89cf9d60c74240214b;
SET @BorderBinary += 0x77f97c1253c08cfa3d9c2ecb4240c77dab75e21153c0e8482eff21cf4240691d554d101553c05033a48ae2d542409e5586b3;
SET @BorderBinary += 0xd11453c0f286c1945ed74240af928fdd051453c074081c0934dc4240122ee411dc1353c01021ae9cbde54240a165dd3f1610;
SET @BorderBinary += 0x53c04e9b711aa2ea424051499d80260f53c00c3a2174d0f14240b7990af1481453c07e8ae3c0abf74240c51d6ff25b1b53c0;
SET @BorderBinary += 0x8179c8940ffd4240a2ec2de57c1f53c0c7629b5434024340f387b935af2053c00fc222f90d0543408593347f4c2253c04203;
SET @BorderBinary += 0xb16ce6084340357d76c0752653c00ce8853b170e43404bafcdc64a2753c02dce18e604134340b0524145d52b53c00876fc17;
SET @BorderBinary += 0x081443405053cbd6fa2f53c0a31ccc26c0144340174339d1ae3553c027d714c8ec1443409e094d124b3a53c059f624b03919;
SET @BorderBinary += 0x43403065e080963d53c013f241cf661b4340560f98874c3d53c0b9f8db9e201f4340d4ec8156603f53c0691d554d10234340;
SET @BorderBinary += 0x51ce906dcb3f53c0b1d8c01dbb23434041f0f8f6ae4153c0b0fecf61be264340c1fc1532574153c0583a1f9e252a4340902e;
SET @BorderBinary += 0x36ad144353c0b1683a3b192e4340718dcf64ff4553c0807f4a95282d434088d4b48b694a53c05d4e0988492c4340b532e197;
SET @BorderBinary += 0xfa5053c0ff959526a52a43406393f7a11c5253c02d935194d72c434072da53724e5453c0e7c3b3041931434016bebed6a554;
SET @BorderBinary += 0x53c050f9d7f2ca3b4340f3d5a09c065453c048e76b1b1d4043404d14079e265353c04ee57e3531464340fb56ebc4e55253c0;
SET @BorderBinary += 0xcba145b6f3474340b6f292ffc94f53c07e6e68ca4e5143407283db67584e53c01eea8e854d5143401c7c6132554853c0b7b3;
SET @BorderBinary += 0xaf3c48514340fc6b79e57a4853c0c1c2499a3f564340df35627f7d4553c0bef933a8465a43402444f982164553c0be823463;
SET @BorderBinary += 0xd15a4340834bc79c674353c04cf8a57ede5a4340e44c13b69f4253c059a148f7735e4340845520619a4253c03acee699935f;
SET @BorderBinary += 0x434025c801e8824253c0047595e685644340429605137f4253c05d85949f54654340d4902a10804253c07a5c60bbae6b4340;
SET @BorderBinary += 0x9a931799804253c0f0a1444b1e6f43405a8638d6c54553c07bd7a02fbd734340b519a721aa4753c08e1f2a8d98774340e523;
SET @BorderBinary += 0x29e9614953c0f33cb83b6b7b4340f9d7f2caf54c53c055bc9179e47b434055dcb8c5fc4f53c081ea1f44327e4340c644a7d8;
SET @BorderBinary += 0xe54f53c0122add13718343409c4eb2d5e54f53c0e97b0dc171834340096d3997e25353c0b090b932a8864340426178561f55;
SET @BorderBinary += 0x53c000cb5870298743409293895b055753c0501c40bfef874340b66455849b5d53c05531957ec28943401a506f46cd5e53c0;
SET @BorderBinary += 0xc7478b33868d43407ccf4884466153c068226c787a8f43402afd84b35b6153c05ce509849d9443407bf31b261a5f53c08481;
SET @BorderBinary += 0xe7dec3974340203f1bb96e5d53c0a81c93c5fd9b434098f418b7715d53c0116bab0b039c4340d53f8864c85f53c08369183e;
SET @BorderBinary += 0x22a043406c3d4338666353c0df68c70dbfa3434034d769a4a56553c08dee2076a6a643409b38b9dfa16a53c00249d8b793a8;
SET @BorderBinary += 0x434003b10b5e5f6b53c06ebae148b2a8434070766b990c6e53c09cdf30d120a943401a84b9ddcb7153c096e7c1dd599d4340;
SET @BorderBinary += 0x105839b4c87353c0a8177c9a9395434005bd3786007553c0fca71b28f09043406446b1e5027553c07d611038f3904340f23d;
SET @BorderBinary += 0x23111a8253c06efb1ef5d7a14340c0de85ad1f8253c003597930dfa143400427f7b41f8253c08d0f113adfa143401990bdde;
SET @BorderBinary += 0xfd8b53c0478d093197ae43400901ec0eaa8e53c08aa2354601b24340797764ac369653c093c5fd47a6bb4340c0594a969395;
SET @BorderBinary += 0x53c0bdc458a65fb443404b3ca06cca9553c0e5b2d1393fad4340e386df4db79953c0c284d1ac6ca343402ee23b31eb9953c0;
SET @BorderBinary += 0x3a2009fb769e43402cb98ac56f9b53c0ab2006baf69743401fdac70a7e9a53c0111956f1469443404583143c85a053c0e4b8;
SET @BorderBinary += 0x533a588b434088624eb20ea253c06b3eaacac68643406cb3b112f3a353c0b03731242781434020ed7f80b5a753c029029cde;
SET @BorderBinary += 0xc57d434073d9e89c9fab53c011aad4ec81764340f964c57075b153c0e3874a23667243407c6308008eb453c047c8409e5d6a;
SET @BorderBinary += 0x4340a7cccd37a2b753c0381268b0a9614340c18f6ad8efbf53c0261c7a8b876b4340c7444ab379c153c0899466f338664340;
SET @BorderBinary += 0x44a67c08aac353c0e7df2efb75614340f44f70b1a2c553c051bd35b055584340fb3f87f9f2c553c0f913950d6b54434027ba;
SET @BorderBinary += 0x2efce0c953c0b937bf61a24d4340081f4ab4e4cc53c02d9276a38f434340e9698ebe9bce53c046599eef713d43405e46b1dc;
SET @BorderBinary += 0xd2ce53c048fb1f60ad3c4340d50792770ed353c0e46723d74d35434080305546ecd353c0120e9eeb8f3543402de92807b3d7;
SET @BorderBinary += 0x53c0c4b46feeaf364340f981ab3c81de53c062687572863a43409b728577b9e253c0ad4b8dd0cf464340ad69de718ae953c0;
SET @BorderBinary += 0xf60b76c3b64b4340a0353ffed2ea53c08b8a389d644143401daa29c93aec53c0addba0f65b3b43409a779ca223ec53c0069c;
SET @BorderBinary += 0xa5643937434010e9b7af03ef53c0a3c85a43a92d4340527c7c4276f353c059bf99982e2843407e8e8f1667f253c0f607ca6d;
SET @BorderBinary += 0xfb22434083c3104502f353c033c77fd73522434040c05ab56bf653c0ac1a84b9dd1d434083dc4598a2fa53c08debdff59917;
SET @BorderBinary += 0x4340e22021ca17fc53c05d4e0988490e43404013181e91fd53c0fe0e064724084340217711a628fe53c0662e7079ac054340;
SET @BorderBinary += 0x06bcccb0510254c0799274cde4fb42400560cb6a920354c02f8c4025d7f942400795b88e710854c061e5d022dbf14240f38c;
SET @BorderBinary += 0x7dc9c60c54c0041bd7bfebe942407898f6cdfd0d54c0252026e142e442403eac376a851054c0758d96033ddc4240e471f8e9;
SET @BorderBinary += 0x8f1254c0d6efc951d3d74240a3ffe55ab41254c0459db98784d742400bbffefb5a0e54c0251502f3decf42409718cbf44b0e;
SET @BorderBinary += 0x54c0cb2dad86c4cf424043c5387f131254c0f6b6990af1ca4240c684984baa1254c0fb912232acc44240c49448a2971954c0;
SET @BorderBinary += 0xd13deb1a2dbb4240b6a1629cbf1d54c07db1f7e28bb64240bbb1f57f291e54c0aa72e2620cb74240bd6bd097de2254c09049;
SET @BorderBinary += 0x46cec2bc4240757286e28e2a54c09e4143ff04b54240404f0306493154c0c79e3d97a9af4240aeb7cd54883554c07172bf43;
SET @BorderBinary += 0x51b6424045fa7af6de3654c02104b38be7b542405d3714e6eb3654c026e1e78de3b54240c98cb7955e3754c08cdafd2ac0b5;
SET @BorderBinary += 0x424079909e22873854c0766d6fb724b14240aa5fe97c783554c03cf54883dbaa42406f63b323d53a54c0641f645930a74240;
SET @BorderBinary += 0xa5322f2bc63e54c04e39575882a6424003594fadbe3f54c01457957d57a64240446adac5344754c05e8429caa5a34240b98c;
SET @BorderBinary += 0x9b1a684e54c02157ea59109e424036035c902d5754c065a4de5339ab42400e9d9e77635b54c0dbdc989eb0a24240efab72a1;
SET @BorderBinary += 0xf25e54c0961fb8ca13a04240a31ea2d11d6254c0f9bb77d4989c42407b14ae47e16354c08925e5ee739a4240ebfd463b6e6b;
SET @BorderBinary += 0x54c076c24b70ea994240497878ad4c6f54c0694f52d7a79e42400e48c2be9d6f54c0a12e52280b9f424024eb7074957154c0;
SET @BorderBinary += 0xad33be2f2ea3424025917d90657654c0d5777e5182a44240bb0b9414587954c0f52c08e57daa4240d3a0681ec07b54c00b06;
SET @BorderBinary += 0xd7dcd1b142402eff21fdf67b54c0d97745f0bfb54240fbc74274087f54c0878a71fe26ba4240d8ef8975aa7b54c0eae923f0;
SET @BorderBinary += 0x87c1424027f4fa93f87d54c056ed9a90d6c442406b48dc63e98c54c0e63bf88903b0424014799274cd9354c01e520c9068a6;
SET @BorderBinary += 0x4240a0715860259454c0d1bf5526e3a5424033f790f0bd9654c0601f9dbaf2a1424098a25c1abf9c54c0cb9d9960389f4240;
SET @BorderBinary += 0xc27392bc6ea354c00fc2b733c999424030d63730b9a354c0ed0a7db08c994240242f247a2da454c014a8974913994240fc51;
SET @BorderBinary += 0xd4997bae54c000ff942a518e4240ee59d76839ae54c02e6f0ed76a8742407767edb60bb054c0664d2cf015834240c1711937;
SET @BorderBinary += 0x35b454c0bd546ccceb8042404ecfbbb1a0b754c00a2debfeb17c4240b130444e5fb754c02d910bcee0754240d2679b118db8;
SET @BorderBinary += 0x54c0254e0436db72424078978bf84eb954c03baa9a20ea704240b456b439cec054c059a148f7736c4240e5797077d6c454c0;
SET @BorderBinary += 0x2eabb019e06c424021054f2157c754c0785e2a36e6654240a01518b2bac854c06806f1811d5f4240a773452921cf54c09b71;
SET @BorderBinary += 0x1aa20a5d42402c8194d8b5d854c08c65fa25e25742404f1c40bfefdb54c0fa0ad28c45554240f6f2eb4780dd54c07cd223c8;
SET @BorderBinary += 0x435542401155f833bce154c0335019ff3e554240e17d552e54e754c0289cdd5a26514240;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'VA';
SET @BorderBinary = 0x01060000000200000001030000000100000012000000f413ce6e2dcf5ec0c6f65ad07b57484069e388b5f8cc5ec017d2e1;
SET @BorderBinary += 0x218c4b4840a0c6bdf90dc95ec048fb1f60ad4048404cdc2a8881c25ec0ec87d860e13a4840a9a3e36a64bb5ec00cad4ece50;
SET @BorderBinary += 0x3848407e52edd3f1b75ec0b4a84f72873548408d2958e36cb35ec0da1ce736e136484062c092ab58b45ec0a376bf0af03d48;
SET @BorderBinary += 0x40d6e1e82addb15ec08ec9e2fe23414840a81e69705bb15ec0c5353e93fd47484053cbd6fa22b35ec03cb9a640664d4840d5;
SET @BorderBinary += 0x94641d8eaf5ec0889fff1ebc5448409e77634161b45ec09b53c900505f4840744694f606bc5ec0e544bb0a29654840e1b375;
SET @BorderBinary += 0x70b0be5ec0e09ba6cf0e644840e43098bf42c15ec02e1b9df3535c484058703fe081c45ec0ff9254a698594840f413ce6e2d;
SET @BorderBinary += 0xcf5ec0c6f65ad07b574840010300000001000000da00000054ca6b25742e5fc089ee59d768314840e0d6dd3cd52a5fc02689;
SET @BorderBinary += 0x25e5ee254840292158552f2c5fc0d13aaa9a201c484028ed0dbe302e5fc06f9eea909b13484021037976f92b5fc0bf42e6ca;
SET @BorderBinary += 0xa00c484012fa997add2b5fc037dc476e4d064840a27c410b092b5fc0fbe6feea71fb47405bd07b6308285fc06e8786c5a8f1;
SET @BorderBinary += 0x4740d3a8162c3d275fc0d8880799b6f047408ecef9298e225fc0666a12bc21eb4740b2bcab1e301e5fc0670932022ae24740;
SET @BorderBinary += 0x101fd8f15f1a5fc09203763579d8474040f67af7c7165fc00dbf9b6ed9c54740cda933dea1165fc0bff47b524dc44740de01;
SET @BorderBinary += 0x9eb470145fc0346612f582ad47404f5c8e57200f5fc071c806d2c5a44740fb20cb82890c5fc083c0caa145964740da76da1a;
SET @BorderBinary += 0x110c5fc08b3045b934944740051555bfd20a5fc020cec3094c7f474097a949f0860b5fc0d8b5bddd92764740569fabadd808;
SET @BorderBinary += 0x5fc041b5c189e8734740c153c8957a065fc030276893c3674740e2c0a6ea31065fc0409fc893a46547400c2252d32e055fc0;
SET @BorderBinary += 0x1fbb0b94145e4740cadde7f868fe5ec06ea5d766635b4740481adcd616fb5ec0f8e0b54b1b564740804a95287bfd5ec0062d;
SET @BorderBinary += 0x246074514740e256410c74045fc04818062cb950474093c5fd47a6035fc0e1ef17b3253f474059a2b3cc22045fc02c0c91d3;
SET @BorderBinary += 0xd729474014afb2b629055fc09d9b36e33422474000378b170bfe5ec0560f98874c254740baf59a1e14fd5ec0cafacdc47423;
SET @BorderBinary += 0x47409f03cb1132fa5ec02e3bc43f6c1f47402575029a08f85ec0c3802557b11e4740ee4108c897f35ec0dec4909c4c244740;
SET @BorderBinary += 0x62d68ba19cf05ec09d819197352347409ee2f5bb95ee5ec0508ba8bb4a254740b48d3f51d9ec5ec01a18795913274740eae8;
SET @BorderBinary += 0xb81ad9ea5ec05dc30c8d272247400b9755d80ce35ec0b48cd47b2a214740406ebf7cb2de5ec07dab75e2722247408e740646;
SET @BorderBinary += 0x5edb5ec095b377465b1d47401aa54bff92db5ec0d0436d1b46174740eee9ea8ec5d75ec06a865451bc1247401d1784d845d7;
SET @BorderBinary += 0x5ec0c364de09b8124740dfdc5f3deed15ec0fa0626378a1247408b36b87e99cd5ec036a51e7de61547402ee6e786a6ca5ec0;
SET @BorderBinary += 0xdb696b4430184740705e9cf86ac75ec0677fa0dcb617474018247d5a45c05ec0ef39b01c21114740c2dec4909cbd5ec04c88;
SET @BorderBinary += 0xb9a46a0d47404d2cf015ddb95ec019c8b3cbb70a47405c8dec4acbb65ec025e7c41eda0147409a40118b18b45ec058fd1186;
SET @BorderBinary += 0x01fb46402098a3c7efb35ec0ec9e3c2cd4f446409f20b1dd3db25ec0cde2c5c210ef46403a71c80170b25ec04a8ef0cfedec;
SET @BorderBinary += 0x46402ee23b31ebb25ec048e17a14aee746406aa0f99cbbb05ec0a8aad0402ce14640188713770eb15ec0c7c0cb6245dd4640;
SET @BorderBinary += 0x1bd9959691b15ec082fe428f18d746401934b19369b05ec08e774f36cad4464087f8872d3daf5ec0300e2e1d73d2464097aa;
SET @BorderBinary += 0xb4c535a95ec0410c74ed0bce4640598ae42b819f5ec068b0a9f3a8ca4640c0e61c3c139c5ec011c2a38d23c846409e2633de;
SET @BorderBinary += 0x56985ec078b6476fb8c94640c0232a5437955ec0c5a9d6c22cc646402b8716d9ce905ec054c37e4facc546403933c2dbed8f;
SET @BorderBinary += 0x5ec0cad2c0946ac64640145caca8c18b5ec0d78349f1f1c9464088f4dbd781865ec0ab58fca6b0ca4640a054fb743c805ec0;
SET @BorderBinary += 0x095053cbd6ce4640c345eee9ea7c5ec0e1421ec18dd246406c54302b227b5ec0bc7bea68bfd34640c21550a8a7795ec02e54;
SET @BorderBinary += 0xfeb5bcd44640e84a04aa7f775ec0d408fd4cbdd846404cc79c67ec735ec04c8bfa2477da46402acaa5f10b6f5ec003931b45;
SET @BorderBinary += 0xd6d84640e8f86871c66a5ec0c77f812040da46404ad3a0681e625ec0001aa54bffdc4640ebfb80c774615ec0360606759adc;
SET @BorderBinary += 0x464019f6e37b315c5ec09169468a79d9464039b69e211c5b5ec022e010aad4d846407ae40f069e555ec0882cd2c43bda4640;
SET @BorderBinary += 0x780ab952cf4d5ec08dea7420ebd546407eaa0a0dc44b5ec00dfad2db9fcd46408fe4f21fd2475ec08a929048dbce46407a56;
SET @BorderBinary += 0xd28a6f455ec056276728eed2464047cb811e6a3c5ec0b54fc76306d446405ec3d8eb7e3a5ec0f82dbf62f4d246405f07ce19;
SET @BorderBinary += 0x51395ec0381092054cd246406682e15cc3365ec06a65c22ff5d54640fc3559a31e2c5ec048f8dedfa0db46400248a8d5c229;
SET @BorderBinary += 0x5ec0e3c64acf3ade46406b80d250a3285ec0ec681cea77df46407520eba9d5255ec0a5f622da8edf46406a50340f60205ec0;
SET @BorderBinary += 0xaad0402c9bd946409b5229003d1f5ec0fc65cd9b96d9464019390b7bda195ec05e61c1fd80d94640b1170ad80e125ec0b81e;
SET @BorderBinary += 0x85eb51dc4640136058fe7c0d5ec0cebf5df6ebdc4640594e42e90b095ec0226b0da5f6e246401ff46c567d045ec0ca3159dc;
SET @BorderBinary += 0x7fe44640336cf204f8ff5dc079153d32e5e74640ba13ecbfcefd5dc0c87bd5ca84e946409f160a038ff75dc0e6b51f3e4beb;
SET @BorderBinary += 0x464023be13b35ef35dc07f30f0dc7bec4640edd5c743dfea5dc0c5025fd1aded464050a912656fe65dc0f18288d4b4f54640;
SET @BorderBinary += 0xaeba0ed594e45dc088f19a5775f646409642209738df5dc0649126de01f446400781da20a7db5dc03385e14ae4f44640c4b2;
SET @BorderBinary += 0x994352d75dc0406a1327f7f54640a60a462575d05dc07e54c37e4ff84640c7d79e5912c85dc0bf6378ec67f7464098fc4ffe;
SET @BorderBinary += 0xeec35dc09faa4203b1fa4640b9fb1c1f2dbf5dc0fcdea63ffbff4640213cda3862ab5dc0fc3559a31e004740cb332da2d5a6;
SET @BorderBinary += 0x5dc08ccf76491c004740ef7211df89975dc03dd4b66114004740ae63b466cd7f5dc0d7eadb3e06004740a1c8b79c937e5dc0;
SET @BorderBinary += 0xb937fb830500474090d78349f16d5dc0f030ed9bfbff4640d7113a3e9a665dc08af25f4ad7ff4640f18c37abba5e5dc0e0cf;
SET @BorderBinary += 0x4455b0ff4640e048a0c1a6565dc07e33315d88ff4640ba9f53909f3a5dc0b28174b169ff464034d8d479543c5dc02b8716d9;
SET @BorderBinary += 0xce0747408bfa2477d83e5dc04cf8a57ede0a4740a05225cade3b5dc0b7b06ebc3b1247402a38bc20223b5dc0bc1de1b4e015;
SET @BorderBinary += 0x47403c4a253ca13d5dc028d53e1d8f194740c07cb262b83d5dc02e55698b6b204740f9669b1bd33f5dc0f65fe7a6cd264740;
SET @BorderBinary += 0xecf82f1004445dc0548a1d8d432d47405322895e46425dc0d87bf1457b344740d2c95de457425dc0aa82497f7b3647401215;
SET @BorderBinary += 0xaa9b8b425dc044f81741633c474037349cb78b425dc0d321eb3559454740242954a18c425dc051261e384a904740054d4bac;
SET @BorderBinary += 0x8c425dc025cade52ce9347404e5935fa91425dc0fde981d32fa147408ab3de6597425dc039b6aa5edcae4740b519a721aa42;
SET @BorderBinary += 0x5dc0d95f764f1ede474051ef2bc4a4425dc0446ca2171bfd474098836941a3425dc0eeedbde3d4054840bf28417fa1425dc0;
SET @BorderBinary += 0xde91b1dafc0f4840263acb2c42425dc0807c09151c364840b6f468aa27425dc0a7565f5d155448400a90acae1b425dc0a773;
SET @BorderBinary += 0xb21b5c6c48408cbfed0912425dc01f477364e57f4840021077f52a515dc0dff94509fa7f484030d740237d5b5dc07debaa02;
SET @BorderBinary += 0x0a804840f4c64961de665dc01bb7989f1b8048409cc58b8521805dc0ab5ad2510e804840bf07c3c3988c5dc0d948cb540d80;
SET @BorderBinary += 0x48400b2296be8fb55dc0f0224d150a8048401e6ff25b74c85dc03db7d0950880484045d8f0f44add5dc06c3b6d8d08804840;
SET @BorderBinary += 0x6d72f8a413005ec05184d4edec7f4840d80e46ec13185ec0caf8f71917804840b30b06d7dc2d5ec002ed0e290680484076ee;
SET @BorderBinary += 0x4c197a365ec0f3d1ce56138048409cdcef5014485ec035e9b6442e8048405a4a969350595ec0bbef181efb7f48407ec34483;
SET @BorderBinary += 0x14705ec013083bc5aa7f48404a95287b4b865ec09ae8f35146804840158f8b6a11905ec0d63730b951804840b16d516683b0;
SET @BorderBinary += 0x5ec055f5f23b4d8048404e98309a95b45ec0ee3b86c77e784840dc9bdf30d1b25ec0e90e62670a714840ec87d860e1ae5ec0;
SET @BorderBinary += 0x17f032c3466b48407ea99f3715ae5ec057957d5704654840c5573b8a73ad5ec0077b1343725c48407a9d66f6c7aa5ec0cccc;
SET @BorderBinary += 0x8d7bdd5148407ee02a4f20a95ec00dfb3db14e4b4840085740a19ea95ec09be3dc26dc434840287ff78e1aac5ec0ad105663;
SET @BorderBinary += 0x093d48404eb2d5e594aa5ec019a9f7544e3548403c6c7cd7afaa5ec03fc1e8b7cb3448403eb0e3bf40ad5ec07e71a94a5b28;
SET @BorderBinary += 0x48407f4b00fe29b05ec087fbc8ad49214840e9b5d95889ad5ec0be310400c7184840037ae1ce85a85ec072874d64e6144840;
SET @BorderBinary += 0x800a47904aa65ec0093543aa280e48402fdffab0dea65ec00438bd8bf7034840aa0d4e44bfa25ec042cd902a8aff4740bf2a;
SET @BorderBinary += 0x172affa25ec0ae997cb3cdfb4740afdc9240b8a45ec0eb422a81baf94740469a780778a75ec087a06af46af647405c2b2f24;
SET @BorderBinary += 0x95a85ec042b74c0526f64740ae282504aba95ec0a38d23d6e2f5474062b83a00e2ac5ec0ee586c938afc474094c151f2eaac;
SET @BorderBinary += 0x5ec07ba2ebc20f024840a4198ba6b3ac5ec07b134372320d4840c093162eabb05ec051bd35b05512484041bad8b452b55ec0;
SET @BorderBinary += 0x6e313f37341148404f2f1ab148ba5ec078a602eb0d0e4840f3c7b4368dbc5ec04a7a185a9d0c4840dd3f16a243c05ec0e3e1;
SET @BorderBinary += 0x3d07960b4840c32adec83cc45ec0469737876b0f48401381ea1f44c95ec0e57adb4c851648409ca1b8e34dcf5ec0666a12bc;
SET @BorderBinary += 0x210f4840a182c30b22d45ec069de718a8e0e4840da6fed4449dc5ec0e89d0ab8e70f4840f433f5ba45e35ec0fe99417c6013;
SET @BorderBinary += 0x4840f5d6c05609eb5ec0c9c859d8d3144840beda519ca3ee5ec0f8e461a1d61448406490bb0853f85ec081069b3a8f144840;
SET @BorderBinary += 0xe6b2d1393f035fc026fbe769c016484069a7e67283065fc0780778d2c21b4840ec4960730e105fc091eee714e42148406479;
SET @BorderBinary += 0x573d60185fc0191a4f047124484052094fe8f5225fc0ea077591422d4840d255babbce295fc0b7eba5290232484054ca6b25;
SET @BorderBinary += 0x742e5fc089ee59d768314840;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'WA';
SET @BorderBinary = 0x010300000001000000f20000001cb0abc953a654c02fa2ed98ba19434002d6aa5d13a854c096adf54542114340624cfa7b;
SET @BorderBinary += 0x29a354c0384bc972120843402b84d558c29d54c0d1e638b709fd42405f92bdd1ae9e54c02e6a1ad122f84240fdbd141e349f;
SET @BorderBinary += 0x54c0f31fd26f5ff54240624a24d1cb9a54c08b6ce7fba9ef4240129c9272809954c0637fca32e9eb4240cbd93ba3ad9754c0;
SET @BorderBinary += 0xe44c13b69fe642408f899466f39454c04a77d7d990e14240646e41f0859454c0abcb0acf7bdf42407170e998f39254c0c9ae;
SET @BorderBinary += 0xb48cd4d742400491459a788e54c0bea3c68498d3424075e5b33c0f8954c077d844662ecc424084d1ac6c1f8454c00a1346b3;
SET @BorderBinary += 0xb2c5424027f4fa93f87d54c056ed9a90d6c44240d8ef8975aa7b54c0eae923f087c14240fbc74274087f54c0878a71fe26ba;
SET @BorderBinary += 0x42402eff21fdf67b54c0d97745f0bfb54240d3a0681ec07b54c00b06d7dcd1b14240bb0b9414587954c0f52c08e57daa4240;
SET @BorderBinary += 0x25917d90657654c0d5777e5182a4424024eb7074957154c0ad33be2f2ea342400e48c2be9d6f54c0a12e52280b9f42404978;
SET @BorderBinary += 0x78ad4c6f54c0694f52d7a79e4240ebfd463b6e6b54c076c24b70ea9942407b14ae47e16354c08925e5ee739a4240a31ea2d1;
SET @BorderBinary += 0x1d6254c0f9bb77d4989c4240efab72a1f25e54c0961fb8ca13a042400e9d9e77635b54c0dbdc989eb0a2424036035c902d57;
SET @BorderBinary += 0x54c065a4de5339ab4240b98c9b1a684e54c02157ea59109e4240446adac5344754c05e8429caa5a3424003594fadbe3f54c0;
SET @BorderBinary += 0x1457957d57a64240a5322f2bc63e54c04e39575882a642406f63b323d53a54c0641f645930a74240aa5fe97c783554c03cf5;
SET @BorderBinary += 0x4883dbaa424079909e22873854c0766d6fb724b14240c98cb7955e3754c08cdafd2ac0b542405d3714e6eb3654c026e1e78d;
SET @BorderBinary += 0xe3b5424045fa7af6de3654c02104b38be7b54240aeb7cd54883554c07172bf4351b64240404f0306493154c0c79e3d97a9af;
SET @BorderBinary += 0x4240757286e28e2a54c09e4143ff04b54240bd6bd097de2254c0904946cec2bc4240bbb1f57f291e54c0aa72e2620cb74240;
SET @BorderBinary += 0xb6a1629cbf1d54c07db1f7e28bb64240c49448a2971954c0d13deb1a2dbb4240c684984baa1254c0fb912232acc4424043c5;
SET @BorderBinary += 0x387f131254c0f6b6990af1ca42409718cbf44b0e54c0cb2dad86c4cf42400bbffefb5a0e54c0251502f3decf4240a3ffe55a;
SET @BorderBinary += 0xb41254c0459db98784d74240e471f8e98f1254c0d6efc951d3d742403eac376a851054c0758d96033ddc42407898f6cdfd0d;
SET @BorderBinary += 0x54c0252026e142e44240f38c7dc9c60c54c0041bd7bfebe942400795b88e710854c061e5d022dbf142400560cb6a920354c0;
SET @BorderBinary += 0x2f8c4025d7f9424006bcccb0510254c0799274cde4fb4240217711a628fe53c0662e7079ac0543404013181e91fd53c0fe0e;
SET @BorderBinary += 0x064724084340e22021ca17fc53c05d4e0988490e434083dc4598a2fa53c08debdff59917434040c05ab56bf653c0ac1a84b9;
SET @BorderBinary += 0xdd1d434083c3104502f353c033c77fd7352243407e8e8f1667f253c0f607ca6dfb224340527c7c4276f353c059bf99982e28;
SET @BorderBinary += 0x434010e9b7af03ef53c0a3c85a43a92d43409a779ca223ec53c0069ca564393743401daa29c93aec53c0addba0f65b3b4340;
SET @BorderBinary += 0xa0353ffed2ea53c08b8a389d64414340ad69de718ae953c0f60b76c3b64b43409b728577b9e253c0ad4b8dd0cf464340f981;
SET @BorderBinary += 0xab3c81de53c062687572863a43402de92807b3d753c0c4b46feeaf36434080305546ecd353c0120e9eeb8f354340d5079277;
SET @BorderBinary += 0x0ed353c0e46723d74d3543405e46b1dcd2ce53c048fb1f60ad3c4340e9698ebe9bce53c046599eef713d4340081f4ab4e4cc;
SET @BorderBinary += 0x53c02d9276a38f43434027ba2efce0c953c0b937bf61a24d4340fb3f87f9f2c553c0f913950d6b544340f44f70b1a2c553c0;
SET @BorderBinary += 0x51bd35b05558434044a67c08aac353c0e7df2efb75614340c7444ab379c153c0899466f338664340c18f6ad8efbf53c0261c;
SET @BorderBinary += 0x7a8b876b4340a7cccd37a2b753c0381268b0a96143407c6308008eb453c047c8409e5d6a4340f964c57075b153c0e3874a23;
SET @BorderBinary += 0x6672434073d9e89c9fab53c011aad4ec8176434020ed7f80b5a753c029029cdec57d43406cb3b112f3a353c0b03731242781;
SET @BorderBinary += 0x434088624eb20ea253c06b3eaacac68643404583143c85a053c0e4b8533a588b43401fdac70a7e9a53c0111956f146944340;
SET @BorderBinary += 0x2cb98ac56f9b53c0ab2006baf69743402ee23b31eb9953c03a2009fb769e4340e386df4db79953c0c284d1ac6ca343404b3c;
SET @BorderBinary += 0xa06cca9553c0e5b2d1393fad4340c0594a96939553c0bdc458a65fb44340797764ac369653c093c5fd47a6bb43400901ec0e;
SET @BorderBinary += 0xaa8e53c08aa2354601b243401990bddefd8b53c0478d093197ae43400427f7b41f8253c08d0f113adfa14340c0de85ad1f82;
SET @BorderBinary += 0x53c003597930dfa14340f23d23111a8253c06efb1ef5d7a143406446b1e5027553c07d611038f390434005bd3786007553c0;
SET @BorderBinary += 0xfca71b28f0904340105839b4c87353c0a8177c9a939543401a84b9ddcb7153c096e7c1dd599d434070766b990c6e53c09cdf;
SET @BorderBinary += 0x30d120a94340bdc62e51bd6f53c055a1815836ad434071a94a5b5c6f53c0ed7f80b56ab343409ba8a5b9157353c0fc8a355c;
SET @BorderBinary += 0xe4bc434090553a81e67353c05d1d943818c04340016c4084b87453c065deaaeb50c34340d4f02dac1b7553c0a8aad0402ccb;
SET @BorderBinary += 0x4340421f2c63437b53c088d68a36c7cd43405c7171546e8053c0f86f5e9cf8cc43405a6ad8acc48153c0ec2a92a771cf4340;
SET @BorderBinary += 0x367172bf438553c0f4177ac4e8d543406b09f9a0678e53c0e606431d56d44340666490bb089453c0245f09a4c4d04340b535;
SET @BorderBinary += 0x21664c9553c044cc9f9773d043405e2d7766829853c08d08c6c1a5cf4340d0b2ee1f0b9c53c06c41ef8d21c84340be839f38;
SET @BorderBinary += 0x809d53c0828fc18a53c34340e90f0921f89d53c0ca0420515bc343401a506f46cda553c0e84cda54ddc343405e9fd51ceca9;
SET @BorderBinary += 0x53c024fd3851aec543404a44f81741ad53c057207a5226c74340f6065f984caf53c012bc218d0ace4340cc28965b5ab153c0;
SET @BorderBinary += 0x85984baab6d14340db17d00b77b653c0c345eee9eac64340bda772da53bc53c0145ad6fd63bd434094da8b683bbd53c096cd;
SET @BorderBinary += 0x1c925ab8434011ffb0a547c253c000e1438996bc4340a5f9124157c453c0080e7ac984bc43404a0b9755d8c553c063b323d5;
SET @BorderBinary += 0x77bc4340747808e3a7ca53c0eead484c50b34340f87f4e08cbd053c008e5965bc2a94340df87838428d253c048c49448a2a7;
SET @BorderBinary += 0x4340703d0ad7a3d653c09b012ec896a34340d3bf249529db53c0a37213b5349d43408c135fed28df53c02fa017ee5c9a4340;
SET @BorderBinary += 0x47c66af3ffde53c0a401bc0512ac4340f3aca415dfde53c04c5299620ec44340bd4f55a181de53c0bbeead484cdc43403fe2;
SET @BorderBinary += 0x57ace1f053c0f0de516342dc43400cb04207a0fa53c06686928f4bdc4340b44ceb3eab0254c022b52c2253dc4340ad4ece50;
SET @BorderBinary += 0xdc0454c01c7c613255dc434051bb5f05f81a54c0129ed0eb4fdc43401c5c3ae63c2154c03e1efaee56dc43408e3c32ee3921;
SET @BorderBinary += 0x54c040e50e5f29fb4340c5ac1743392154c0e7a90eb91902444074bea6ad382154c0458fc621701444404e965aef372154c0;
SET @BorderBinary += 0xe6762ff7c92b44403a554fc8372154c0a48f2970273344408f449293372154c0b6b34e3c1a3d4440c6fa0626372154c078d3;
SET @BorderBinary += 0x2d3bc451444072f7393e5a2554c05704ff5bc94e4440f97fd591232854c078ce16105a4f44409888b7cebf2a54c081069b3a;
SET @BorderBinary += 0x8f4a4440052ffa0ad22754c043554ca59f424440e4a08499b62654c0e9995e622c394440f09396b5262854c0c0d10cf69432;
SET @BorderBinary += 0x44403412a1116c2854c0c7d3f203573144409a780778d22654c055a2ec2de52644404a44f817412954c0a33b889d29204440;
SET @BorderBinary += 0x92326f7ec92b54c019a77734f01744401b781082f82c54c0717dd44a18144440054b75012f2d54c018af795567134440f7e3;
SET @BorderBinary += 0xf6cb272f54c0a4a99ecc3f0a444028428ef83e2f54c02981f9244b044440d53a71395e2f54c0c617edf142fc4340a4de5339;
SET @BorderBinary += 0xed3054c01283c0caa1f943405ef3aace6a3354c05e6743fe99f543407b95bc35b33454c086f5f7d9cdec43402cb81ff0c034;
SET @BorderBinary += 0x54c08bc1c3b46fec4340afcdc64acc3454c02a8bc22e8ae64340842d76fbac3754c040d9942bbce1434035a4fa2f793554c0;
SET @BorderBinary += 0xed046c7110dc43407bd976da1a3554c03882548a1ddb43400d4faf94653754c016325706d5d443406c239eec663c54c0ca8b;
SET @BorderBinary += 0x4cc0afcd434049565830644254c0763f7402dfc443406588635ddc4454c0280af4893cc14340f1756bf3c24754c0250f30d4;
SET @BorderBinary += 0x95ba43403bdd79e2394854c0eb51b81e85b943409c340d8ae64b54c0cb2f833122b74340de74cb0ef14f54c0cfd90242ebb1;
SET @BorderBinary += 0x4340ce8aa8893e5654c00ef8fc3042ac434090eb7477b45754c06d084039a2ac43401bd7bfeb335954c04be7c3b304ad4340;
SET @BorderBinary += 0x3b376dc6695a54c0db34b6d782b2434028d36872315d54c0328d261763b443403eada23f346054c02fbfd364c6af43407d93;
SET @BorderBinary += 0xa641d16354c0fd2e6ccd56aa434060cac0012d6454c0847cd0b359a343404bc972124a6754c01b28f04e3ea343403b376dc6;
SET @BorderBinary += 0x696b54c0e90e62670aa34340beba2a508b6d54c00a2fc1a90f9c434085b6b3882c6e54c0402288c3009b4340b9fb1c1f2d70;
SET @BorderBinary += 0x54c0942d9276a39743404b6b78a2257054c023c687252c974340c45dbd8a8c6f54c08e3c1059a48d434081f2385f047054c0;
SET @BorderBinary += 0x5210e6e4508d43403e3a75e5b37354c0afca85cabf8a43404df2237ec57254c0d2a57f492a8543404c1938a0a57154c0137d;
SET @BorderBinary += 0x3eca887d4340bf0d315ef37454c008ad872f13794340fa9b5088807954c0baa1293bfd764340295b24ed467c54c0e123624a;
SET @BorderBinary += 0x247f4340d6c22cb4738054c02e573f36c9834340506edbf7a88254c0b0a888d349824340f78daf3db38554c0c8cedbd8ec7c;
SET @BorderBinary += 0x4340eeb2c9d4538654c0bb26a717fe7a434037a79201a08854c0e1783e03ea734340f180b229578a54c0179e978a8d694340;
SET @BorderBinary += 0x4f58e201658d54c01cb5c2f4bd664340c6fb71fbe58c54c0a565a4de53614340e00d6954e08b54c0b0ff3a376d544340a915;
SET @BorderBinary += 0xa6ef358b54c0d311c0cde24d4340cef9298e038e54c0b14cbf44bc4b43408811c2a38d9154c07898f6cdfd4b43408e6d0379;
SET @BorderBinary += 0x0e9254c08c64eae0384a43405f77baf3c49254c09cc0745ab747434039ecbe63789354c0205f4205873f4340f33b4d66bc94;
SET @BorderBinary += 0x54c0d591239d81394340bb5f05f86e9854c0aaed26f8a6374340e5b4a7e49c9c54c086fd9e58a7364340d0f51cea92a054c0;
SET @BorderBinary += 0x8a293e0d13354340da0242ebe1a354c0d843fb58c13343402ae109bdfea554c048145ad6fd3543402e674c4724a654c082f9;
SET @BorderBinary += 0xe6fec0304340772cb64945a654c04c8c65fa252c43406a15fda199a454c05ed905836b284340643c4a253ca554c00b06d7dc;
SET @BorderBinary += 0xd11f4340f3759a9f6ba554c099643821c91e43401cb0abc953a654c02fa2ed98ba194340;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'WV';
SET @BorderBinary = 0x01060000000300000001030000000100000007000000035c902dcbbb55c01edfde35e8b546400aa0185932bd55c075ff58;
SET @BorderBinary += 0x880ead4640bebd6bd097b955c087a2409fc8a546404e95ef1989b755c05e2ee23b31ad46402539605793b355c0ccb56801da;
SET @BorderBinary += 0xb446408aaa5fe97cb555c09c86a8c29fb94640035c902dcbbb55c01edfde35e8b546400103000000010000000d000000d7a4;
SET @BorderBinary += 0xdb12b9b156c00341800c1d83474063b48eaa26b156c0eb724a404c804740266daaee91ad56c04a07ebff1c7e47407959130b;
SET @BorderBinary += 0x7cab56c0f9f6ae415f7a4740cadfbda3c6a856c0c83f33880f74474094861a8524a356c0b9e177d32d75474072512d228aa1;
SET @BorderBinary += 0x56c0b30584d6c37747406938656ebea056c09f9273620f7b47401c5a643bdfa256c0d0402c9b398247408ac91b60e6a356c0;
SET @BorderBinary += 0x6f438cd7bc84474054a69883a0a956c0c4e74eb0ff864740cf49ef1b5faf56c06d1cb1169f844740d7a4db12b9b156c00341;
SET @BorderBinary += 0x800c1d83474001030000000100000038010000cfb24ba5bf3857c054e4107173d24640e10a28d4d33857c050f9d7f2cad146;
SET @BorderBinary += 0x4002d53f88643857c0b41d537765c9464056293dd34b3357c01d3691990bc846405b09dd25713057c0bf4692205cc7464017;
SET @BorderBinary += 0xefc7ed972e57c0db89929048c34640ca87a06af42b57c0b3ec496073bc46405b069ca5642957c0287cb60e0eb84640edb776;
SET @BorderBinary += 0xa2242a57c0daa84e07b2b24640ed7e15e0bb2c57c0c39ca04d0eab464083db199ee32f57c0e05d2346e5a546409cf7ff71c2;
SET @BorderBinary += 0x3057c09eb12fd978a44640018042a4073157c089adbbfde19a46406090f469153157c0800bb265f9984640d177cbcd9a2f57;
SET @BorderBinary += 0xc0987906a4d38f46403159dc7f642f57c0a4bf97c2838e464050a6d1e4623357c0b70721205f88464043acfe08c33057c09f;
SET @BorderBinary += 0x1edb32e08246405ef1d4230d3057c015ff7744857846403b6bc0e8163157c0abdff340556e464091d04d73183157c0132c2e;
SET @BorderBinary += 0x21466e464094a30051303157c0dd5f3dee5b6d464036397cd2893357c0cc423ba759624640e74d120ab63257c0de02b16126;
SET @BorderBinary += 0x6146408894d8ecd22e57c078edfe96825b464055bdfc4e932c57c0b05758703f58464010c7bab88d2757c08a592f86724e46;
SET @BorderBinary += 0x4033164d67272357c05a626534f2494640823ae5d18d1957c028cfbc1c7647464094ba641c231757c07dcb9c2e8b474640ca;
SET @BorderBinary += 0xbfe8a1481457c0c5f611ff06454640cf6740bd191457c023658ba4dd4446403d7e6fd39f1257c053b131af233e4640a7c4ed;
SET @BorderBinary += 0x0db40f57c090a19de6243a4640164f3dd2e00e57c0634337fb03394640e08442041c0757c04f1f813ffc344640ce3290ea68;
SET @BorderBinary += 0x0557c029c8e066ca3346403d9b559fabfd56c09cbe9eaf592e4640ee7893dfa2fa56c0e386df4db728464018cdcaf621f956;
SET @BorderBinary += 0xc0967840d9941d46408715aa20b0f656c0b8b0f5b73e194640253d0cad4ef456c0e5ed08a705154640b5696caf05ee56c0e9;
SET @BorderBinary += 0x7e4e417e10464087bd50c076e956c08b3045b93408464093162eabb0e456c0669df17d71034640ddaa1230cae356c0c57c77;
SET @BorderBinary += 0x4a190346407b2de8bd31dc56c0a5f44c2f31004640c554e4bf1bdb56c02c45af70fdfd45405d2f4d11e0d656c04ef04dd367;
SET @BorderBinary += 0xf545408444dac69fd256c0289cdd5a26ed4540550326f368d256c00a4b3ca06cec454086ac6ef59ccf56c0dd26dc2bf3e245;
SET @BorderBinary += 0x402047c8b072d056c0a336b062e2dc454043e4f4f57cd156c076e107e753d54540b89388f02fd056c03e5dddb1d8cc454072;
SET @BorderBinary += 0x874d64e6ce56c020b41ebe4cc84540268925e5eecd56c0a301bc0512c0454053e9279cddce56c06c088ecbb8b945405b062a;
SET @BorderBinary += 0x827bcd56c0a312b244b0b54540e3a3c519c3cc56c0e89e758d96b3454041d13c8045cd56c0936de00ed4af45405fce6c57e8;
SET @BorderBinary += 0xc956c0ddec0f94dbaa4540f4fa93f8dcc656c0e7c6f48425a84540200725ccb4c356c0821dff0582a04540b1f50ce198c556;
SET @BorderBinary += 0xc06c239eec669c454065c0594a96c856c023a12de752964540a8e15b5837cb56c03a75e5b33c914540568b352232cb56c0b6;
SET @BorderBinary += 0x1eccf8458a4540dcb75a272ecb56c00c772e8cf48445407cd6f06f2eca56c0fda019ac657e454006baf605f4c956c0c02495;
SET @BorderBinary += 0x29e67c454046b6f3fdd4c856c02f8507cdae734540340c1f1153c656c0e17cea58a56e454073d3669c86c456c0c5fd47a643;
SET @BorderBinary += 0x634540ce4d9b711ac156c022a81abd1a5c45408aff3ba242bc56c06dc83f33885745408d196bd367b956c06abed70d505645;
SET @BorderBinary += 0x400abc934f8fb656c0a6d425e31855454064726a6798af56c089cdc7b5a152454025cd1fd3daac56c011df89592f504540b7;
SET @BorderBinary += 0x088cf50dab56c001f4fbfecd4945409a5df75624a956c095d1c8e715414540813ffcfcf79b56c0dba16131ea404540488897;
SET @BorderBinary += 0xc2499b56c0c7053533eb404540d5b2b5be488e56c0d7868a71fe40454096b7a614547b56c0d2831dbebd4045401b118c834b;
SET @BorderBinary += 0x7b56c0f8dedfa0bd4045402d0495279b7556c05e5306e7a04045404a77d7d9905f56c03a3e5a9c31404540f9de22d0b05956;
SET @BorderBinary += 0xc01ac12f7b0e4045409235903e695756c09d9ad3d90040454015c440d7be4256c0fdbca948853f4540675f541b863f56c064;
SET @BorderBinary += 0xc4de2a783f4540883efb432f3c56c0f50f80926a3f4540c875461bb23156c0ce613dde3f3f45400c76c3b6452d56c0895ddb;
SET @BorderBinary += 0xdb2d3f454079642ead452d56c03515fbdb2d3f4540cc7c073f712056c0562c7e53583f454095d6df12801356c08bccae1670;
SET @BorderBinary += 0x3f454028a089b0e10d56c0c72aa5677a3f4540caf44915c50c56c0b117e1ee743f4540c63d3df273f955c07c4814dc153f45;
SET @BorderBinary += 0x40d00ce2033bf355c0c91f0c3cf73e4540116e32aa0cf455c0359886e1234a4540b2b96a9e23f455c026fc523f6f5245401a;
SET @BorderBinary += 0x26f43654f355c08ca783378b55454027bc04a73ef255c02cb5de6fb45945404aea043411f155c06f61dd7877644540c6e2fe;
SET @BorderBinary += 0xee8df455c0dac19c9ecf6b45406c7036edf3f455c02693676ca66c4540804754a86ef555c0af7614e7a86d45407afd497cee;
SET @BorderBinary += 0xf555c0afd007cbd8784540ec116a8654f955c0d36872310682454028603b18b1f755c027bc04a73e8845407762d68ba1f955;
SET @BorderBinary += 0xc0a31ea2d11d904540f04e498e61f955c0b1bfe3da979845403577f4bf5cf955c0d6e3bed53a994540f4177ac4e8f855c045;
SET @BorderBinary += 0x46072461a74540179aeb34d2f555c0f69672bed8b545405aba826dc4f255c02b836a8313bf454086c50013a0f255c0da14bc;
SET @BorderBinary += 0x8481c54540321b649291f255c0e5f0492712c845407b13437232ed55c01421753bfbd6454023a12de752ed55c091b8c7d287;
SET @BorderBinary += 0xdc454071ff91e9d0ec55c0f54a598638e245407825c9737dee55c0761a69a9bce7454033130ce71aef55c0096af816d6ef45;
SET @BorderBinary += 0x4016b0160ca1ee55c0eb699ce633f245404da1f31abbec55c0b80375caa3fb45404a79ad84eee955c08bdea9807b0a464053;
SET @BorderBinary += 0xb0c6d974e655c0fb05bb61db104640587380608ee255c0c6bfcfb8701446409e978a8d79e055c00873bb97fb1a4640916115;
SET @BorderBinary += 0x6f64e155c0e2ae5e4546214640ee74e789e7e255c06536c8242329464048aab5ddc5e255c07a0cf7f0eb29464082700514ea;
SET @BorderBinary += 0xdf55c0cedc43c2f73a464069e1b20a9bdc55c05f3fc4060b4b464003081f4ab4d955c0c843dfddca5046407707b60d08d855;
SET @BorderBinary += 0xc00cd5492e77564640cf807a336ad455c04da1f31abb624640c0adbb79aad155c034d769a4a56a4640f12900c633cd55c02b;
SET @BorderBinary += 0x4eb51666714640931804560ecc55c07e8b4e965a7946407b65deaaebc855c08009dcba9b814640dc60a8c30ac455c05706d5;
SET @BorderBinary += 0x06278a4640dff60489edc255c04c31074147914640b75d68aed3c255c01b0fb6d8ed9746409aeac9fca3be55c099266c3f19;
SET @BorderBinary += 0x9d4640b4ab90f293be55c038bc202235a54640b2b6291e17c155c03d997ff44da6464076172829b0c355c0558330b77ba546;
SET @BorderBinary += 0x40cf2a33a5f5c655c0a8fc6b79e5a046408d791d71c8c755c0dd205a2bda9a4640dfa4695034cb55c051499d8026964640d4;
SET @BorderBinary += 0x47e00f3fcf55c0187b2fbe689546409b1da9bef3d055c0be1589096a8a4640a8e0f08288d555c0e7c1dd59bb8146404e452a;
SET @BorderBinary += 0x8c2dd955c0404e98309a774640a35a441493dc55c07bd80b056c714640f2b22616f8e055c0c05df6eb4e6f46405bcd3ae3fb;
SET @BorderBinary += 0xe155c0afb0e07ec06d4640fdbd141e34e555c07903cc7c076d4640e9d9acfa5ce955c016855d143d664640f4c29d0b23ee55;
SET @BorderBinary += 0xc0ec3026fdbd5c4640271422e010ee55c0990af148bc584640cf79695c34ef55c094b2bc52a85646400dc2dceee5ef55c097;
SET @BorderBinary += 0x38f2406455464055c0d743b9f055c0444a2c5eac534640b64ab0389cf155c022fab5f5d35146403e5b07077bf755c021e351;
SET @BorderBinary += 0x2ae14d464014b1886187f955c0963e74417d494640a73b4f3c67fc55c0c6f5effacc43464084622b685a0056c06ebda60705;
SET @BorderBinary += 0x454640e8a1b60da30256c0cea78e554a4946407c7f83f6eaff55c031ec3026fd4d4640fab31f29220056c01e335019ff5446;
SET @BorderBinary += 0x40e901213ed8ff55c01ff023b1bd564640fb73d190f1fe55c0e25aed612f5c4640266e15c440fc55c07094bc3ac760464056;
SET @BorderBinary += 0xf0db10e3f955c0d3bd4eeacb684640cee0ef17b3f655c0863aac70cb6d4640aad381aca7f555c0881057cede6f46407fd767;
SET @BorderBinary += 0xcefaf555c07172bf43517646407fc0030308f455c0bb7a15191d7a46401159ac11cff055c085ee91763b7b46403d7b2e5393;
SET @BorderBinary += 0xec55c08cd7bcaab37c4640fd2e6ccd56e855c0b3cd8de9097d464065e256410ce855c0bd175fb4c78546409a75c6f7c5e555;
SET @BorderBinary += 0xc03a3e5a9c318c4640f0a31af67be955c0a3ab74779d8d4640f67af7c77bec55c00caa0d4e4493464098c0adbb79ef55c071;
SET @BorderBinary += 0x5298f73899464084f068e388ed55c0df180280639f46404966f50eb7ea55c09be1067c7ea84640bb438a0112ea55c0d42afa;
SET @BorderBinary += 0x4333af464017b9a7ab3bed55c030293e3e21b14640a56950340ff055c05aef37da71ad464005685bcd3af355c04fcde50643;
SET @BorderBinary += 0xad46402bdd5d6743f755c0be6a65c22fad4640d40e7f4dd6f655c041ee224c51b24640a52bd8463cf655c05451bccadab846;
SET @BorderBinary += 0x40fdbfeac891f355c027bb99d18fbc46401616dc0f78f355c0807f4a9528c34640c119fcfd62f255c01823128596c946400c;
SET @BorderBinary += 0x03965cc5f155c0d34b8c65facd4640f372d87dc7f455c09831056b9cd346409dbcc804fcf155c0cbd4247843d64640d9b27c;
SET @BorderBinary += 0x5d86f355c0c9737d1f0eda46405b4ab7ae50f555c07c1b092883dc464037a8fdd64ef855c0a94e07b29ee04640a38d23d6e2;
SET @BorderBinary += 0xfd55c0863aac70cbe14640c3b7b06ebcff55c0008c67d0d0e546407bd976da1a0356c03d42cd902ae44640f7b1390fa60356;
SET @BorderBinary += 0xc0094a98207ae44640eac891cec00656c07ae2395b40e6464034f10ef0a40856c0e3a8dc442de94640116f9d7fbb0456c0a2;
SET @BorderBinary += 0xcd716e13f046405d6e30d4610756c0778192020bf64640aa96d7937a0756c020f3c4ad1ef64640499baa7b640b56c04757e9;
SET @BorderBinary += 0xee3af94640a8716f7ec30f56c04fcde50643fb46404e5df92ccf1356c0eae5779accfa4640b1df13eb541856c04a79ad84ee;
SET @BorderBinary += 0xfe4640b2f336363b1a56c04e24986a66fd4640ebabab02b52156c0c684984baa024740c3995fcd012656c0c18f6ad8ef0147;
SET @BorderBinary += 0x40cfd8976c3c2756c06dc493ddccfe46407c2766bd182a56c0d1add7f4a0fe4640b16a10e6762b56c06aa0f99cbb0147400a;
SET @BorderBinary += 0xc59513ba2b56c05f78d602da0147401e4fcb0f5c2f56c0a7751bd47e0347405e83bef4f63356c04e266e15c4024740eaf471;
SET @BorderBinary += 0x7ab23b56c0d41cbbce3a094740bf0c8c19703f56c0be96a24d5b0c474047551344dd4556c08eaa2688ba1147408f4fc8cedb;
SET @BorderBinary += 0x6856c026512ff8341f4740c60654cb767b56c0ce887aa363264740c6a17e17b68756c0cdcb61f71d2b4740b9f8db9e208a56;
SET @BorderBinary += 0xc0b2bad573d23547406ec1525dc08d56c0dd5d6743fe3f4740404f0306499256c088d4b48b69424740ecbdf8a23d9556c053;
SET @BorderBinary += 0xcc41d0d14647401c06f357c89856c0e90ab6114f444740ef517fbdc29a56c01d3ba8c4754847401137a792019c56c09a7b48;
SET @BorderBinary += 0xf8de474740227024d060a056c0c2a1b778784b4740524a3be91ba356c009882bca094b47403ffb912232a456c094d8b5bddd;
SET @BorderBinary += 0x4a474077d4981073aa56c016a1d80a9a524740882991442faf56c0ce8c7e349c5847400306499f56b056c0dc611399b95247;
SET @BorderBinary += 0x406b2bf697ddb256c0fb761211fe4f4740b1170ad80eb556c0b9162d40db4e47400d6fd6e07db956c066f7e461a14a4740d6;
SET @BorderBinary += 0x925af536bb56c0d3f824cf324b4740081b9e5e29bd56c015e46723d74b47408e59f624b0bb56c0cef9298e034f47409db7b1;
SET @BorderBinary += 0xd991ba56c0ffad64c746544740c74accb392b656c0656f29e78b59474075feedb25fb856c01fb935e9b65e47408196ae601b;
SET @BorderBinary += 0xb756c0e2e654320062474036e675c421b356c03577f4bf5c694740e622be13b3af56c0992842ea76724740cfda6d179ab356;
SET @BorderBinary += 0xc098c11891287847401f2e39ee94b656c06840bd19357b47405854c4e924bb56c09f20b1dd3d804740b81e85eb51bf56c005;
SET @BorderBinary += 0xdb8827bb7d47407b8505f703bf56c05c8e57207a764740e447fc8a35c256c000c79e3d97734740e884d04197c556c0e46377;
SET @BorderBinary += 0x8192704740847cd0b359c856c012a1116c5c6f4740b8718bf9b9ca56c0077c7e18216c4740fad2db9f8bcd56c0a7b1bd16f4;
SET @BorderBinary += 0x6e47400feeceda6dd056c049b9fb1c1f6b47409352d0ed25d456c0f241cf66d56947400611a96917d756c050e10852296647;
SET @BorderBinary += 0x40a26131ea5ada56c085ce6bec12654740382f4e7cb5e056c0e8a04b38f46047408524022e49e356c0e1774ef3f4604740c7;
SET @BorderBinary += 0xd8092fc1e456c0648ee55df56047402ae09ee74fe956c05f251fbb0b5e474091b586527bf456c0f73deaaf57584740c57075;
SET @BorderBinary += 0x00c4f856c0732b84d5585847407558e1968ffd56c04d9f1d705d5747402c7de882fa0057c0a45181936d5a4740fcc0559e40;
SET @BorderBinary += 0x0357c042209738f25a4740ab90f2936a0657c0c9569753025e47408a9125732c0957c034f10ef0a45d4740484c50c3b70b57;
SET @BorderBinary += 0xc04eeb36a8fd584740bce5eac7260d57c0b9a7ab3b16554740c8091346b31257c0b4aa251de554474020d3da34b61257c0af;
SET @BorderBinary += 0xb14b546f3f4740d4409c93bc1257c0be0fdc7267354740fd9e58a7ca1257c0abe80fcd3c1f4740329ae51ece1257c0a22ec5;
SET @BorderBinary += 0x1a2314474077bcc96fd11257c08c497f2f85094740d5ce30b5a51557c072c284d1ac0647409f02603c831657c0d50451f701;
SET @BorderBinary += 0x024740ad307daf211957c05f7b6649800247403b53e8bcc61c57c0e02c25cb49004740c0745ab7411e57c0f549eeb089fc46;
SET @BorderBinary += 0x4004013274ec2257c066a19dd32cfc4640f10c1afa272557c085eb51b81ef94640a145b6f3fd2957c040868e1d54f64640b6;
SET @BorderBinary += 0x0e0ef6262e57c04885b18520f14640e02bbaf59a3057c004013274ecea4640635e471cb23157c0eab0c22d1fe546408844a1;
SET @BorderBinary += 0x65dd3457c0984c158c4ade4640e814fbb7ce3557c0a42d48df5cdd4640382c0dfca83757c07effe6c589db4640cfb24ba5bf;
SET @BorderBinary += 0x3857c054e4107173d24640;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'WI';
SET @BorderBinary = 0x0103000000010000005f0000003be2900da4c35bc08c683ba6ee6e46405e64027e8dc35bc0f6b0170ad85c464086914992;
SET @BorderBinary += 0x8ac35bc0ff8f161b48554640909e228788c35bc096b1a19bfd4f4640ad16d86322c35bc083f92b64ae3c46407c2aa73d25c3;
SET @BorderBinary += 0x5bc0f5b9da8afd2f464040db6ad619c35bc092c83ec8b20e46408ef473a405c35bc00530b2c7e1fd454080f10c1afac25bc0;
SET @BorderBinary += 0x533c2eaa45f4454030815b77f3c25bc03b4f3c670bd84540bca46531e7c25bc01be0723525c045401ff64201dbc25bc0b858;
SET @BorderBinary += 0x518369a845403b56293dd3c25bc031b43a39438945407c0f0dc7d1c25bc07cfbcc11918245405ad76839d0c25bc04850fc18;
SET @BorderBinary += 0x737b45401cd2a8c0c9c25bc000a777f17e5c454089c8bc17eac25bc09e02937cad414540ec12d55b03c35bc0be4868cbb92c;
SET @BorderBinary += 0x45404f05dcf3fcc25bc05de0f25833004540280392b0eec25bc0b8b0f85b38ca44400f61fc34eec25bc073486aa164c84440;
SET @BorderBinary += 0x98ff907efbc25bc0e4f6cb272bae4440dc53af19fcc25bc026f2e54f35a04440253e7782fdc25bc0dbdfd91ebd7f44409ab0;
SET @BorderBinary += 0xfd648ca25bc00dc00644887f4440c3baf1eec8875bc08ae76c01a17f44408fec563b1a835bc0c08b3470a77f4440bce435be;
SET @BorderBinary += 0x0b805bc07ed230a3ab7f4440e690d442c96d5bc0ad1402b9c47f44409a3dd00a0c505bc036001b10218044402194f7713443;
SET @BorderBinary += 0x5bc05ab91798158044409b711aa20a105bc0c8224dbc03804440c8bc815dc7fa5ac0a5246a35288044403909a52f84d75ac0;
SET @BorderBinary += 0x144031b264804440c1c606c456d45ac045f775245d804440cfedab6e10b75ac020894c8c1780444049b553098e945ac0e974;
SET @BorderBinary += 0x6d82c57f444087df4db7ec8d5ac0bb0d6abfb57f44402c0bbc09328c5ac0d5593729b67f4440a59e05a1bc515ac007600322;
SET @BorderBinary += 0xc47f4440dffcfa12b8515ac0627a5221c47f4440ab3fc230603c5ac0834069e4c07f4440b709f7cabc365ac04aeb6f09c07f;
SET @BorderBinary += 0x4440c58d5bcccf1f5ac011fc6f253b804440dc627e6e68035ac0530262122e804440d102b4ad66035ac02ee6e786a68e4440;
SET @BorderBinary += 0xefe4d3635b035ac045d7851f9ca3444048c322ac58035ac07b941bd654b2444062c092ab58035ac0d9243fe257b244405ff3;
SET @BorderBinary += 0x645d5e035ac0d39851303ac84440b1169f0260035ac0882b67ef8cce44405270187d61035ac07883468d56d944409df529c7;
SET @BorderBinary += 0x64035ac086e464e256f14440be51717460035ac0f8d9db4d3800454040a374e95f035ac0062b4eb5160245404b1de4f56003;
SET @BorderBinary += 0x5ac0129f3bc1fe1f4540130ce71a66035ac0b39602d2fe3f45404ca13dd15e035ac071cfae5b4e4e45408f8eab915d035ac0;
SET @BorderBinary += 0xc6be64e3c150454037e2c96e66035ac020ef552b13804540848252b472035ac08eacfc3218a545405a3fb4f37f035ac0ab95;
SET @BorderBinary += 0x460f29bd4540cdd1e2bf81035ac0972259096dc04540f10ef0a485035ac04739984d80c74540b9aa881d8d035ac00da596b3;
SET @BorderBinary += 0x3eed454082548a1d8d035ac0b071fdbb3eed4540cdaf59f08b035ac0829bf0f20e124640293031c78b035ac0ef7f38c91617;
SET @BorderBinary += 0x4640b9e34d7e8b035ac02ac76471ff1f4640b1d7988290035ac006147236164946408b321b6492035ac0c5a86bed7d584640;
SET @BorderBinary += 0xdbc2f352b1035ac01f82aad1ab7f4640d9ec48f59d415ac00742b280098046400c20463a75425ac04242e58e098046406b82;
SET @BorderBinary += 0x6c1fe7445ac014022eb80980464077f86bb246765ac04c86e3f90c804640044b9c9897815ac0d59778d6b07f4640be6bd097;
SET @BorderBinary += 0xde905ac02094f771347f4640572426a8e1b85ac0dac9e028797f46404e5e64027ed65ac0247ec51a2e804640b3b9d0245afa;
SET @BorderBinary += 0x5ac004088598328046405264ada1d4ff5ac0bce82b48338046405bd1e2e0e70f5bc040ab4ba314804640d1b2ee1f0b205bc0;
SET @BorderBinary += 0x828debdff57f4640b2a2a68cc6275bc0870f3465f57f46402672c119fc435bc02aaa7ea5f37f4640d2fbc6d79e465bc03275;
SET @BorderBinary += 0x5776c1804640fc19deacc1645bc0577a6d3656804640622f14b01d735bc0df8c85b35f804640a0f831e6ae7f5bc048197101;
SET @BorderBinary += 0x68804640d21e2fa4c3945bc014cd0358e47f464035b22b2d23ad5bc098840b79047f46404cc631923db25bc099ba2bbb6080;
SET @BorderBinary += 0x4640f241cf66d5c25bc0ae81ad122c8046403be2900da4c35bc08c683ba6ee6e4640;
SET @Border = geography::STGeomFromWKB(@BorderBinary, 4326);
UPDATE [Application].StateProvinces SET Border = @Border, [ValidFrom] = DATEADD(minute, CEILING(RAND() * 5), @CurrentDateTime)
WHERE StateProvinceCode = 'WY';
GO
| 119.861328 | 126 | 0.931382 |
cf2e054efadd0634817c4dc38169784128e15f6c | 7,430 | php | PHP | tests/LINEBot/NarrowCastTest.php | masterlib8/sataypichai | 71599b4e091729c1b055da9af7858e2238119883 | [
"Apache-2.0"
] | 1 | 2021-02-01T07:18:14.000Z | 2021-02-01T07:18:14.000Z | tests/LINEBot/NarrowCastTest.php | masterlib8/sataypichai | 71599b4e091729c1b055da9af7858e2238119883 | [
"Apache-2.0"
] | null | null | null | tests/LINEBot/NarrowCastTest.php | masterlib8/sataypichai | 71599b4e091729c1b055da9af7858e2238119883 | [
"Apache-2.0"
] | null | null | null | <?php
/**
* Copyright 2020 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
namespace LINE\Tests\LINEBot;
use LINE\LINEBot;
use LINE\LINEBot\Constant\MessageType;
use LINE\LINEBot\MessageBuilder\TextMessageBuilder;
use LINE\LINEBot\Narrowcast\Recipient\OperatorRecipientBuilder;
use LINE\LINEBot\Narrowcast\Recipient\AudienceRecipientBuilder;
use LINE\LINEBot\Narrowcast\DemographicFilter\OperatorDemographicFilterBuilder;
use LINE\LINEBot\Narrowcast\DemographicFilter\GenderDemographicFilterBuilder;
use LINE\LINEBot\Narrowcast\DemographicFilter\AgeDemographicFilterBuilder;
use LINE\LINEBot\Narrowcast\DemographicFilter\AppTypeDemographicFilterBuilder;
use LINE\Tests\LINEBot\Util\DummyHttpClient;
use PHPUnit\Framework\TestCase;
class NarrowCastTest extends TestCase
{
public function testSendNarrowcast()
{
$mock = function ($testRunner, $httpMethod, $url, $data) {
/** @var \PHPUnit\Framework\TestCase $testRunner */
$testRunner->assertEquals('POST', $httpMethod);
$testRunner->assertEquals('https://api.line.me/v2/bot/message/narrowcast', $url);
$testRunner->assertEquals(MessageType::TEXT, $data['messages'][0]['type']);
$testRunner->assertEquals('test text', $data['messages'][0]['text']);
$testRunner->assertEquals('operator', $data['recipient']['type']);
$testRunner->assertEquals([
'type' => 'audience',
'audienceGroupId' => 11234567890
], $data['recipient']['and'][0]);
$testRunner->assertEquals([
'type' => 'operator',
'not' => [
'type' => 'audience',
'audienceGroupId' => 21234567890
]
], $data['recipient']['and'][1]);
$testRunner->assertEquals('operator', $data['filter']['demographic']['type']);
$testRunner->assertEquals([
'type' => 'gender',
'oneOf' => ['male', 'female']
], $data['filter']['demographic']['and'][0]);
$testRunner->assertEquals([
'type' => 'age',
'gte' => 'age_20',
'lt' => 'age_25',
], $data['filter']['demographic']['and'][1]);
$testRunner->assertEquals([
'type' => 'operator',
'not' => [
'type' => 'appType',
'oneOf' => ['ios', 'android']
]
], $data['filter']['demographic']['and'][2]);
$testRunner->assertEquals(100, $data['limit']['max']);
return ['status' => 200];
};
$bot = new LINEBot(new DummyHttpClient($this, $mock), ['channelSecret' => 'CHANNEL-SECRET']);
$res = $bot->sendNarrowcast(
new TextMessageBuilder("test text"),
OperatorRecipientBuilder::builder()
->setAnd([
AudienceRecipientBuilder::builder()
->setAudienceGroupId(11234567890),
OperatorRecipientBuilder::builder()
->setNot(
AudienceRecipientBuilder::builder()
->setAudienceGroupId(21234567890)
)
]),
OperatorDemographicFilterBuilder::builder()
->setAnd([
GenderDemographicFilterBuilder::builder()
->setOneOf(['male', 'female']),
AgeDemographicFilterBuilder::builder()
->setGte('age_20')
->setLt('age_25'),
OperatorDemographicFilterBuilder::builder()
->setNot(
AppTypeDemographicFilterBuilder::builder()
->setOneOf(['ios', 'android'])
)
]),
100
);
$this->assertEquals(200, $res->getHTTPStatus());
$this->assertTrue($res->isSucceeded());
$this->assertEquals(200, $res->getJSONDecodedBody()['status']);
}
public function testGetNarrowcastProgress1()
{
$mock = function ($testRunner, $httpMethod, $url, $data) {
/** @var \PHPUnit\Framework\TestCase $testRunner */
$testRunner->assertEquals('GET', $httpMethod);
$testRunner->assertEquals('https://api.line.me/v2/bot/message/progress/narrowcast', $url);
$testRunner->assertEquals('test request id', $data['requestId']);
return [
'status' => 200,
'phase' => 'waiting',
];
};
$bot = new LINEBot(new DummyHttpClient($this, $mock), ['channelSecret' => 'CHANNEL-SECRET']);
$res = $bot->getNarrowcastProgress('test request id');
$this->assertEquals(200, $res->getHTTPStatus());
$this->assertTrue($res->isSucceeded());
$data = $res->getJSONDecodedBody();
$this->assertEquals(200, $data['status']);
$this->assertEquals('waiting', $data['phase']);
$this->assertArrayNotHasKey('successCount', $data);
$this->assertArrayNotHasKey('failureCount', $data);
$this->assertArrayNotHasKey('targetCount', $data);
$this->assertArrayNotHasKey('failedDescription', $data);
$this->assertArrayNotHasKey('errorCode', $data);
}
public function testGetNarrowcastProgress2()
{
$mock = function ($testRunner, $httpMethod, $url, $data) {
/** @var \PHPUnit\Framework\TestCase $testRunner */
$testRunner->assertEquals('GET', $httpMethod);
$testRunner->assertEquals('https://api.line.me/v2/bot/message/progress/narrowcast', $url);
$testRunner->assertEquals('test request id', $data['requestId']);
return [
'status' => 200,
'phase' => 'failed',
'successCount' => 1,
'failureCount' => 2,
'targetCount' => 10,
'failedDescription' => 'unknown',
'errorCode' => 1
];
};
$bot = new LINEBot(new DummyHttpClient($this, $mock), ['channelSecret' => 'CHANNEL-SECRET']);
$res = $bot->getNarrowcastProgress('test request id');
$this->assertEquals(200, $res->getHTTPStatus());
$this->assertTrue($res->isSucceeded());
$data = $res->getJSONDecodedBody();
$this->assertEquals(200, $data['status']);
$this->assertEquals('failed', $data['phase']);
$this->assertEquals(1, $data['successCount']);
$this->assertEquals(2, $data['failureCount']);
$this->assertEquals(10, $data['targetCount']);
$this->assertEquals('unknown', $data['failedDescription']);
$this->assertEquals(1, $data['errorCode']);
}
}
| 42.457143 | 102 | 0.561507 |
748f9ba97072f07e7af516c41341a846f47c4254 | 3,518 | css | CSS | public/index.css | cfelde/attest-with-ethereum | 4515d913cb35893e7987d5c0d2b47685c65bb314 | [
"Unlicense"
] | 2 | 2021-12-17T19:48:06.000Z | 2021-12-18T21:20:05.000Z | public/index.css | cfelde/attest-with-ethereum | 4515d913cb35893e7987d5c0d2b47685c65bb314 | [
"Unlicense"
] | null | null | null | public/index.css | cfelde/attest-with-ethereum | 4515d913cb35893e7987d5c0d2b47685c65bb314 | [
"Unlicense"
] | null | null | null | html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-position: 0 0, 5px 5px;
background-size: 25px 25px;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
h1 {
font-size: 22px;
font-weight: bold;
text-align: center;
margin: -30px 0 5px;
padding: 5px;
}
h2 {
margin-top: 20px;
font-size: 21px;
font-weight: bold;
}
p {
font-size: 20px;
line-height: 120%;
padding: 10px;
}
button {
font-weight: bold;
font-size: 18px;
min-width: 220px;
padding: 5px;
transition: all 0.2s;
cursor: pointer;
margin: 5px;
}
label {
display: block;
font-size: 14px;
font-weight: bold;
text-align: center;
padding: 5px;
}
textarea {
display: inline-block;
margin: 0;
padding: .2em;
width: 100%;
min-width: 100%;
max-width: 100%;
height: 250px;
box-sizing: border-box;
cursor: text;
overflow: auto;
resize: vertical;
}
table {
margin-left: auto;
margin-right: auto;
}
table thead {
font-weight: bold;
}
table td {
padding: 5px;
word-break: break-all;
width: 50%;
text-align: center;
vertical-align: middle;
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
table tr:nth-child(even) {
}
a, a:link, a:visited, a:hover, a:active {
font-style: italic;
text-decoration: underline;
}
.connect {
margin: 30px 10px 10px;
padding: 10px 10px 150px;
border-width: 1px;
border-style: solid;
}
.attest {
margin: 30px 10px 10px;
padding: 10px 10px 150px;
border-width: 1px;
border-style: solid;
}
.connect-button {
width: 100%;
text-align: center;
}
.attest-button {
width: 100%;
text-align: center;
word-break: break-all;
}
.attestations {
margin-top: 20px;
padding-top: 20px;
}
.bottom-container {
display: flex;
justify-content: space-between;
}
.bottom-container > div {
display: inline-block;
margin: 15px;
}
.css-switch {
text-align: left;
cursor: pointer;
}
.source {
text-align: right;
}
@keyframes fadeIn {
from { opacity: 0; }
}
.processing {
animation: fadeIn 0.3s infinite alternate;
} | 17.59 | 84 | 0.620807 |
aecec424c5f7bca001259719d8501f65b6984124 | 551 | sh | Shell | run_simulation.sh | asreview/paper-simulating-risk-analysis-documents-KNMP | 62c61ef7976bdefb76a10660e1d8c172f5b1a4a4 | [
"MIT"
] | 2 | 2021-12-10T09:00:21.000Z | 2021-12-10T09:50:14.000Z | run_simulation.sh | asreview/paper-simulating-risk-analysis-documents-KNMP | 62c61ef7976bdefb76a10660e1d8c172f5b1a4a4 | [
"MIT"
] | null | null | null | run_simulation.sh | asreview/paper-simulating-risk-analysis-documents-KNMP | 62c61ef7976bdefb76a10660e1d8c172f5b1a4a4 | [
"MIT"
] | null | null | null | DATA=$1
RUN=$2
PRIOR_INCL=$3
PRIOR_EXCL=$4
SEED=$5
# run simulation 1, final inclusions
rm simulations/output/${DATA}/simulation/run_${DATA}_${RUN}.h5
asreview simulate simulations/data/output/${DATA}.csv -s simulations/output/${DATA}/simulation/run_${DATA}_${RUN}.h5 --prior_idx $PRIOR_INCL $PRIOR_EXCL -m logistic --seed $SEED
python scripts/flatten_state.py simulations/output/${DATA}/simulation/run_${DATA}_${RUN}.h5 simulations/output/${DATA}/simulation/run_${DATA}_${RUN}_flat.csv
rm simulations/output/${DATA}/simulation/run_${DATA}_${RUN}.h5
| 45.916667 | 177 | 0.760436 |
e73d7cedce5f899f9fc75b935c3ff35d2e15b59f | 481 | php | PHP | app/Http/Controllers/UserController.php | huseinfachruddin/lumen | 82af6bd6d70d1d616a3986adf87eb290c15a5f98 | [
"MIT"
] | null | null | null | app/Http/Controllers/UserController.php | huseinfachruddin/lumen | 82af6bd6d70d1d616a3986adf87eb290c15a5f98 | [
"MIT"
] | null | null | null | app/Http/Controllers/UserController.php | huseinfachruddin/lumen | 82af6bd6d70d1d616a3986adf87eb290c15a5f98 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class UserController extends Controller
{
public function login(Request $request){
$this->validate($request, [
'password' => 'required',
'email' => 'required'
]);
$token = app('auth')->attempt($request->only('email', 'password'));
return response()->json(compact('token'));
}
} | 26.722222 | 79 | 0.571726 |
6d77663a2e4bad1f3fc050baa1c9a232797a164f | 560 | h | C | Sail/src/Sail/entities/components/Component.h | h3nx/Sail | 96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9 | [
"MIT"
] | null | null | null | Sail/src/Sail/entities/components/Component.h | h3nx/Sail | 96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9 | [
"MIT"
] | null | null | null | Sail/src/Sail/entities/components/Component.h | h3nx/Sail | 96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
// This method only works in debug without optimisations
//#define SAIL_COMPONENT static int getStaticID() { \
// return reinterpret_cast<int>(&getStaticID); \
//}
// Creates a unique id for each class which derives from component
// This method uses the gcc defined __COUNTER__ macro that increments with every use
#define SAIL_COMPONENT static int getStaticID() { \
return __COUNTER__; \
}
class Component {
public:
typedef std::unique_ptr<Component> Ptr;
public:
Component() {}
virtual ~Component() {}
private:
};
| 20 | 84 | 0.739286 |
7585414e3ac4275894b98d60270d3975d5b8eb8d | 58,803 | css | CSS | content/wp-content/themes/koofa/assets/css/menu.css | BethanyWorld/KoofaDesign | 6168d98576bffb1584e8a1f373c83b1608c22d92 | [
"Apache-2.0"
] | null | null | null | content/wp-content/themes/koofa/assets/css/menu.css | BethanyWorld/KoofaDesign | 6168d98576bffb1584e8a1f373c83b1608c22d92 | [
"Apache-2.0"
] | null | null | null | content/wp-content/themes/koofa/assets/css/menu.css | BethanyWorld/KoofaDesign | 6168d98576bffb1584e8a1f373c83b1608c22d92 | [
"Apache-2.0"
] | null | null | null | div.ruby-menu-demo-header {
position: relative;
left: 0;
top: 0;
width: 100%;
height: auto;
padding: 0;
margin: 0;
z-index: 999;
background: #fff;
border: 1px solid rgba(0, 159, 76, 0.4);
border-left: 0;
border-right: 0;
}
div.ruby-menu-demo-header-bg div.ruby-menu-demo-download > span {
color: #efefef
}
div.ruby-menu-demo-header-bg div.ruby-menu-demo-download > span > span {
color: #efefef
}
div.ruby-menu-demo-description {
position: relative;
width: 980px;
height: 160px;
margin: 0 auto;
padding: 0
}
div.ruby-menu-demo-description img {
max-width: 200px;
float: left;
margin: 50px 20px 0 0
}
span.ruby-menu-demo-highlight {
color: #333
}
div.ruby-menu-demo-bg-light,div.ruby-menu-demo-bg-dark {
width: 980px;
height: auto;
position: relative;
background: #fff;
margin: 0 auto;
font-size: 16px
}
div.ruby-menu-demo-bg-dark {
background: #efefef;
}
div.ruby-menu-demo-bg-light-c:after,div.ruby-menu-demo-bg-dark-c:after {
content: "";
display: table;
clear: both
}
div.ruby-menu-demo-cv-1 {
float: left;
width: 33%
}
div.ruby-menu-demo-cv-2 {
float: left;
width: 67%
}
div.ruby-menu-demo-cv-3 {
float: left;
width: 48%
}
div.ruby-menu-demo-cv-4 {
float: left;
width: 52%
}
div.ruby-menu-demo-cr-1 {
float: left;
width: 33%
}
div.ruby-menu-demo-cr-2 {
float: left;
width: 66%
}
div.ruby-menu-demo-cs-1 {
float: left;
width: 33%
}
div.ruby-menu-demo-cs-2 {
float: left;
width: 66%
}
div.ruby-menu-demo-cf-1,div.ruby-menu-demo-cf-2,div.ruby-menu-demo-cf-3,div.ruby-menu-demo-cf-4 {
float: left;
width: 25%;
text-align: center
}
div.ruby-menu-demo-f-icon {
width: 80px;
height: 80px;
border-radius: 50%;
margin: 0 auto;
padding: 22px;
font-size: 30px;
background: #efefef;
color: #aaa
}
div.ruby-menu-demo-f-title {
width: 100%;
height: 30px;
margin: 0 auto;
margin-top: 20px;
font-weight: 700;
font-size: 18px
}
div.ruby-menu-demo-f-desc {
font-size: 14px;
line-height: 24px;
color: #555;
padding: 15px
}
div.ruby-menu-demo-cs-1 table {
line-height: 20px
}
div.ruby-menu-demo-cs-1 table tr,div.ruby-menu-demo-cs-1 table td {
padding: 0;
font-weight: 700
}
div.ruby-menu-demo-cs-1 table td:last-child {
padding-top: 5px
}
h2.ruby-menu-demo-slogan-1,h3.ruby-menu-demo-slogan-1 {
font-size: 20px;
font-weight: 300;
text-transform: uppercase;
color: #b1b1b1;
margin: 0
}
h1.ruby-menu-demo-slogan-2,h3.ruby-menu-demo-slogan-2 {
font-size: 36px;
font-weight: 700;
text-transform: none;
color: #222;
margin: 0
}
p.ruby-menu-demo-slogan-description,p.ruby-menu-demo-slogan-description-2 {
font-size: 16px;
line-height: 24px;
color: #444;
margin: 35px 0
}
p.ruby-menu-demo-slogan-description-2 {
color: #666;
font-weight: 600;
margin: -10px 0
}
span.ruby-menu-demo-code {
color: #888;
text-decoration: underline
}
td.ruby-menu-demo-theme-td-1 {
max-width: 30px;
text-align: left;
padding: 6px
}
td.ruby-menu-demo-theme-td-2 {
min-width: 120px;
text-align: left;
padding: 6px
}
td.ruby-menu-demo-theme-td-1:hover {
cursor: pointer
}
.ruby-menu-demo-circle {
border-radius: 50%;
width: 24px;
height: 24px;
border: 4px solid #222;
display: inline-block;
margin: 0
}
.ruby-menu-demo-color-1 {
background: #1aad86
}
.ruby-menu-demo-color-2 {
background: #0c67c2
}
.ruby-menu-demo-color-3 {
background: #ce0661
}
.ruby-menu-demo-color-4 {
background: #ea7500
}
.ruby-menu-demo-color-5 {
background: #74ba27
}
.ruby-menu-demo-color-6 {
background: #ff3264
}
.ruby-menu-demo-color-7 {
background: #fad814
}
.ruby-menu-demo-color-8 {
background: #ccc
}
.ruby-menu-demo-color-9 {
background: #111;
border-color: #ccc
}
.ruby-menu-demo-color-10 {
background: #036de2;
border-color: #489efd
}
.ruby-menu-demo-color-11 {
background: #f85252;
border-color: #444
}
.ruby-menu-demo-color-12 {
background: #ca79d0;
border-color: #f2def3
}
.ruby-menu-demo-color-13 {
background: #efefef;
border-color: #222
}
.ruby-menu-demo-color-14 {
background: #ccc
}
div.ruby-menu-demo-download {
position: absolute;
width: auto;
top: 55px;
right: 0
}
div.ruby-menu-demo-download .fa {
font-size: 20px;
margin-right: 10px
}
div.ruby-menu-demo-download > span {
font-size: 16px;
display: block;
margin: 10px 26px
}
div.ruby-menu-demo-download > span > span {
font-size: 20px;
color: #555;
font-weight: 700
}
button.ruby-btn {
background: #19ad86;
border: 2px solid #19ad86;
color: #fff;
border-radius: 0;
padding: 10px 25px;
font-size: 16px;
font-weight: 700;
cursor: pointer
}
button.ruby-btn:hover {
background: #fff;
color: #19ad86
}
.switch {
display: table-cell;
vertical-align: middle;
padding: 10px
}
.cmn-toggle {
position: absolute;
margin-left: -9999px;
visibility: hidden
}
.cmn-toggle + label {
display: block;
position: relative;
cursor: pointer;
outline: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none
}
input.cmn-toggle-round + label {
padding: 2px;
margin-top: -10px;
width: 40px;
height: 20px;
background-color: #ddd;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
-ms-border-radius: 20px;
-o-border-radius: 20px;
border-radius: 20px
}
input.cmn-toggle-round + label:before,input.cmn-toggle-round + label:after {
display: block;
position: absolute;
top: 1px;
left: 1px;
bottom: 1px;
content: ""
}
input.cmn-toggle-round + label:before {
right: 1px;
background-color: #f1f1f1;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
-ms-border-radius: 20px;
-o-border-radius: 20px;
border-radius: 20px;
-webkit-transition: background .4s;
-moz-transition: background .4s;
-o-transition: background .4s;
transition: background .4s
}
input.cmn-toggle-round + label:after {
width: 18px;
background-color: #fff;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
-ms-border-radius: 100%;
-o-border-radius: 100%;
border-radius: 100%;
-webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.3);
-moz-box-shadow: 0 2px 5px rgba(0,0,0,0.3);
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
-webkit-transition: margin .4s;
-moz-transition: margin .4s;
-o-transition: margin .4s;
transition: margin .4s
}
input.cmn-toggle-round:checked + label:before,input.cmn-toggle-on + label:before {
background-color: #8ce196
}
input.cmn-toggle-round:checked + label:after,input.cmn-toggle-on + label:after {
margin-left: 20px
}
input.cmn-toggle-on:checked + label:before {
background-color: #f1f1f1
}
input.cmn-toggle-on:checked + label:after {
margin-left: 0
}
img.iphone7 {
max-width: 350px;
float: right;
margin-right: 0
}
@media(min-width: 768px) and (max-width:991px) {
body {
overflow-x:hidden
}
div.ruby-menu-demo-description {
position: relative;
width: 760px;
height: 160px;
margin: 0 auto;
padding: 0
}
div.ruby-menu-demo-description img {
max-width: 200px;
float: left;
margin: 50px 20px 0 0
}
div.ruby-menu-demo-bg-light,div.ruby-menu-demo-bg-dark {
width: 760px;
font-size: 14px
}
div.ruby-menu-demo-cs-1 {
width: 27%
}
div.ruby-menu-demo-cs-2 {
width: 73%
}
td.ruby-menu-demo-theme-td-1 {
max-width: 27px;
padding: 7px
}
td.ruby-menu-demo-theme-td-2 {
min-width: 100px;
padding: 7px
}
.ruby-menu-demo-circle {
width: 22px;
height: 22px;
border: 3px solid #222
}
img.iphone7 {
max-width: 320px;
float: right;
margin-right: 20px
}
}
@media(max-width: 767px) {
div.ruby-menu-demo-header {
width:100%;
height: auto
}
div.ruby-menu-demo-description {
width: 100%;
margin: 0 auto;
margin-bottom: 220px;
padding: 10px;
text-align: center
}
div.ruby-menu-demo-description img {
float: none;
margin: 90px 0 0
}
div.ruby-menu-demo-download {
position: relative;
width: auto;
top: 25px;
right: auto;
left: auto
}
div.ruby-menu-demo-download > span {
font-size: 20px;
margin: 25px auto
}
div.ruby-menu-demo-download > span > span {
font-size: 26px
}
button.ruby-btn {
padding: 14px 25px;
font-size: 16px;
text-transform: uppercase
}
div.ruby-menu-demo-bg-light.ruby-menu-demo-switches {
display: none
}
div.ruby-menu-demo-bg-light,div.ruby-menu-demo-bg-dark {
width: 100%;
font-size: 16px;
padding: 25px;
margin-bottom: -100px
}
div.ruby-menu-demo-cv-1 {
width: 100%
}
div.ruby-menu-demo-cv-2 {
width: 100%
}
div.ruby-menu-demo-cv-3 {
width: 100%
}
div.ruby-menu-demo-cv-4 {
width: 100%
}
div.ruby-menu-demo-cr-1 {
width: 100%
}
div.ruby-menu-demo-cr-2 {
width: 100%;
margin-top: 40px
}
div.ruby-menu-demo-cf-1,div.ruby-menu-demo-cf-2,div.ruby-menu-demo-cf-3,div.ruby-menu-demo-cf-4 {
float: left;
width: 50%;
text-align: center
}
div.ruby-menu-demo-f-desc {
margin-bottom: 30px
}
img.iphone7 {
max-width: 300px;
float: none;
margin-right: 0 auto
}
}
/* theme */
div.ruby-wrapper,div.ruby-wrapper.ruby-vertical {
}
ul.ruby-menu > li > a {
color: #222
}
ul.ruby-menu > li > a:hover,ul.ruby-menu > li:hover > a,ul.ruby-menu > li.ruby-active-menu-item > a:hover,ul.ruby-menu > li.ruby-active-menu-item:hover > a {
background: #222;
color: #fff
}
ul.ruby-menu > li.ruby-active-menu-item > a {
background: #efefef;
color: #222
}
ul.ruby-menu.ruby-menu-dividers > li > a,ul.ruby-menu.ruby-menu-dividers > li.ruby-menu-social > a {
border-left: 1px solid #ddd;
border-right: 1px solid #fff
}
ul.ruby-menu.ruby-menu-dividers > li:first-child > a,ul.ruby-menu.ruby-menu-dividers > li.ruby-menu-social:last-child > a {
border-left: none
}
ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li > a {
border: none;
border-top: 1px solid #ddd;
border-bottom: 1px solid #fff
}
ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li:first-child > a {
border-top: none
}
ul.ruby-menu.ruby-menu-dividers > li > a:hover,ul.ruby-menu.ruby-menu-dividers > li:hover > a {
border-left: 1px solid #222;
border-right: 1px solid #222
}
ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li > a:hover,ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li:hover > a {
border-bottom: 1px solid #222
}
ul.ruby-menu.ruby-menu-dividers > li.ruby-active-menu-item > a {
border-left: 1px solid #efefef;
border-right: 1px solid #fff
}
ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li.ruby-active-menu-item > a {
border-bottom: 1px solid #fff;
border-left: none;
border-right: none
}
ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li > a {
border-left: none;
border-right: none
}
ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li.ruby-active-menu-item > a:hover,ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li.ruby-active-menu-item:hover > a {
border-bottom: 1px solid #222;
border-left: none
}
ul.ruby-menu > li > ul,ul.ruby-menu > li > ul > li > ul,ul.ruby-menu > li > ul > li > ul > li > ul {
border-top: 4px solid #222
}
ul.ruby-menu > li > ul > li > a,ul.ruby-menu > li > ul > li > ul > li > a,ul.ruby-menu > li > ul > li > ul > li > ul > li > a {
background: #fff;
color: #666
}
ul.ruby-menu > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > a:hover,ul.ruby-menu > li > ul > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > ul > li > a:hover,ul.ruby-menu > li > ul > li > ul > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > ul > li > ul > li > a:hover {
background: #efefef
}
ul.ruby-menu > li.ruby-menu-mega > div,ul.ruby-menu > li.ruby-menu-mega-blog > div,ul.ruby-menu > li.ruby-menu-mega-shop > div {
background: #fff;
border-top: 4px solid #222
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav {
background: #efefef
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > a {
background: #efefef;
color: #666
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li.ruby-active-menu-item > a {
background: #e6e6e6
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > div {
background: #fff
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li:hover > a {
background: #ddd
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul {
background: #efefef;
border-bottom: 1px solid #ddd
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a {
color: #666
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div {
background: #fff
}
ul.ruby-menu > li.ruby-menu-mega > div ul li > a,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div ul > li > a {
color: #555
}
ul.ruby-menu > li.ruby-menu-mega > div ul li > a:hover,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div ul > li > a:hover {
color: #222
}
ul.ruby-menu > li.ruby-menu-mega > div ul.ruby-list-with-images li span.ruby-list-desc {
color: #999
}
span.ruby-c-title,span.ruby-c-title a {
color: #222
}
span.ruby-c-title a:hover,span.ruby-c-category,span.ruby-c-category a,span.ruby-c-date,span.ruby-c-date a {
color: #444
}
span.ruby-c-category a:hover,span.ruby-c-date a:hover {
color: #222
}
@media(min-width: 768px) {
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:before,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:after {
background-color:#222
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:hover {
color: #333
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li.ruby-active-menu-item > a:after,ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li:hover > a:after {
border-color: transparent #fff transparent transparent
}
}
@media(max-width: 767px) {
ul.ruby-menu > li > a {
background:#efefef
}
ul.ruby-menu > li > a:hover,ul.ruby-menu > li:hover > a,ul.ruby-menu > li.ruby-active-menu-item > a:hover {
background: #ccc;
color: #111
}
ul.ruby-menu > li.ruby-active-menu-item > a {
background: #ccc
}
ul.ruby-menu > li > ul > li > a,ul.ruby-menu > li > ul > li > ul > li > a,ul.ruby-menu > li > ul > li > ul > li > ul > li > a,ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > a,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a {
background: #d1d1d1
}
ul.ruby-menu > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > a:hover,ul.ruby-menu > li > ul > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > ul > li > a:hover,ul.ruby-menu > li > ul > li > ul > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > ul > li > ul > li > a:hover {
background: #d9d9d9;
color: #111
}
ul.ruby-menu > li > ul > li > ul > li > a {
background: #e5e5e5
}
ul.ruby-menu > li > ul > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > ul > li > a:hover {
background: #e1e1e1
}
ul.ruby-menu > li > ul > li > ul > li > ul > li > a {
background: #efefef
}
ul.ruby-menu > li > ul > li > ul > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > ul > li > ul > li > a:hover {
background: #fff
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li.ruby-active-menu-item > a {
background: #bcbcbc
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li:hover > a {
background: #d9d9d9
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li.ruby-active-menu-item > a {
background: #bcbcbc
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li:hover > a,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:hover,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li.ruby-active-menu-item > a {
background: #d9d9d9
}
span.ruby-dropdown-toggle:after {
color: #fff
}
ul.ruby-menu > li > a:before,ul.ruby-menu > li > ul > li > a:before,ul.ruby-menu > li > ul > li > ul > li > a:before,ul.ruby-menu > li > ul > li > ul > li > ul > li > a:before,ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > a:before,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:before {
background: #333
}
ul.ruby-menu > li > ul > li > a:before,ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > a:before,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:before {
background: #555
}
ul.ruby-menu > li > ul > li > ul > li > a:before {
background: #777
}
ul.ruby-menu > li > ul > li > ul > li > ul > li > a:before {
background: #999
}
.c-hamburger span {
background: #222
}
.c-hamburger span::before,.c-hamburger span::after {
background-color: #222
}
.c-hamburger--htx {
background-color: #efefef;
color: #222
}
.c-hamburger--htx.is-active {
background-color: #ddd
}
ul.ruby-menu > li.ruby-menu-mega > div,ul.ruby-menu > li.ruby-menu-mega-blog > div,ul.ruby-menu > li.ruby-menu-mega-shop > div {
border-top: none
}
ul.ruby-menu > li > ul,ul.ruby-menu > li > ul > li > ul,ul.ruby-menu > li > ul > li > ul > li > ul {
border-top: none
}
ul.ruby-menu.ruby-menu-dividers > li,ul.ruby-menu.ruby-menu-dividers > li > a,ul.ruby-menu.ruby-menu-dividers > li.ruby-menu-social > a,ul.ruby-menu.ruby-menu-dividers > li > a:hover,ul.ruby-menu.ruby-menu-dividers > li:hover > a {
border: none
}
}
/* transision */
span.ruby-dropdown-toggle {
transition: transform .3s ease
}
span.ruby-dropdown-toggle:after {
transition: transform .3s ease
}
@media(min-width: 767px) {
ul.ruby-menu > li > a:after {
transition:all .3s ease
}
ul.ruby-menu > li > ul > li > a:after,ul.ruby-menu > li > ul > li > ul > li > a:after,ul.ruby-menu > li > ul > li > ul > li > ul > li > a:after {
transition: all .3s ease
}
ul.ruby-menu > li > ul,ul.ruby-menu > li > div {
transform: translateY(25px);
transition: all .3s ease
}
ul.ruby-menu > li:hover > ul,ul.ruby-menu > li:hover > div {
transform: translateY(0)
}
ul.ruby-menu.ruby-vertical > li > ul,ul.ruby-menu.ruby-vertical > li > div {
transform: translateX(25px);
transition: all .3s ease
}
ul.ruby-menu.ruby-vertical > li:hover > ul,ul.ruby-menu.ruby-vertical > li:hover > div {
transform: translateX(0)
}
ul.ruby-menu > li > ul > li > ul,ul.ruby-menu > li > ul > li > ul > li > ul,ul.ruby-menu > li > ul > li > ul > li > ul > li > ul {
transform: translateX(25px);
transition: all .3s ease
}
ul.ruby-menu > li > ul > li:hover > ul,ul.ruby-menu > li > ul > li > ul > li:hover > ul,ul.ruby-menu > li > ul > li > ul > li > ul > li:hover > ul {
transform: translateX(0)
}
ul.ruby-menu > li > ul > li.ruby-open-to-left > ul,ul.ruby-menu > li > ul > li > ul > li.ruby-open-to-left > ul,ul.ruby-menu > li > ul > li > ul > li > ul > li.ruby-open-to-left > ul {
transform: translateX(-25px);
transition: all .3s ease
}
ul.ruby-menu > li > ul > li.ruby-open-to-left:hover > ul,ul.ruby-menu > li > ul > li > ul > li.ruby-open-to-left:hover > ul,ul.ruby-menu > li > ul > li > ul > li > ul > li.ruby-open-to-left:hover > ul {
transform: translateX(0)
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > div {
transform: translateY(-50px);
transition: all .5s ease
}
ul.ruby-menu > li.ruby-menu-mega-blog:hover > div > ul.ruby-menu-mega-blog-nav > li.ruby-active-menu-item > div,ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li:hover > div {
transform: translateY(0)
}
ul.ruby-menu.ruby-vertical > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > div {
transform: translateX(50px);
transition: all .5s ease
}
ul.ruby-menu.ruby-vertical > li.ruby-menu-mega-blog:hover > div > ul.ruby-menu-mega-blog-nav > li.ruby-active-menu-item > div,ul.ruby-menu.ruby-vertical > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li:hover > div {
transform: translateX(0)
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div {
transform: translateY(-50px);
transition: all .5s ease
}
ul.ruby-menu > li.ruby-menu-mega-shop:hover > div > ul > li.ruby-active-menu-item > div,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li:hover > div {
transform: translateY(0)
}
ul.ruby-menu.ruby-vertical > li.ruby-menu-mega-shop > div > ul > li > div {
transform: translateX(50px);
transition: all .5s ease
}
ul.ruby-menu.ruby-vertical > li.ruby-menu-mega-shop:hover > div > ul > li.ruby-active-menu-item > div,ul.ruby-menu.ruby-vertical > li.ruby-menu-mega-shop > div > ul > li:hover > div {
transform: translateX(0)
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:before,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:after {
-webkit-transition: all .4s ease;
transition: all .4s ease
}
}
/* main */
div.ruby-wrapper {
position: relative;
width: 100%;
height: 50px;
margin: 0 auto;
}
div.ruby-wrapper ul {
margin: 0;
padding: 0;
list-style: none
}
div.ruby-wrapper > ul {
position: relative
}
ul.ruby-menu > li {
float: right;
font-size: 14px;
}
ul.ruby-menu > li.ruby-menu-right {
float: right
}
ul.ruby-menu > li > a {
display: block;
line-height: 50px;
padding: 0 15px 0 25px;
color: #000000 !important;
text-decoration: none;
/* font-weight: 700; */
text-transform: uppercase;
}
ul.ruby-menu > li > a:only-child {
padding: 0 15px
}
ul.ruby-menu > li > a:hover,ul.ruby-menu > li:hover > a,ul.ruby-menu > li.ruby-active-menu-item > a:hover,ul.ruby-menu > li.ruby-active-menu-item:hover > a {
background: #009f4c;
color: #fff !important;
}
ul.ruby-menu > li > a:only-child:after,ul.ruby-menu > li:hover > a:only-child:after {
content: ''
}
ul.ruby-menu > li.ruby-active-menu-item > a {
background: #17a47d
}
ul.ruby-menu > li > a .fa {
position: relative;
width: 24px
}
ul.ruby-menu > li > a > img {
max-width: 16px;
display: block
}
ul.ruby-menu > li.ruby-menu-social > a {
padding: 0;
width: 30px;
padding: 0 8px;
font-size: 16px
}
ul.ruby-menu > li.ruby-menu-social > a > span {
display: none
}
ul.ruby-menu > li.ruby-menu-social.ruby-menu-search > a,ul.ruby-menu.ruby-menu-dividers > li.ruby-menu-social.ruby-menu-search > a {
transition: all .5s ease;
max-height: 50px;
width: 30px;
transition: all .5s ease;
transition-delay: .3s
}
ul.ruby-menu > li.ruby-menu-social.ruby-menu-search > a:hover,ul.ruby-menu.ruby-menu-dividers > li.ruby-menu-social.ruby-menu-search > a:hover {
width: 120px
}
ul.ruby-menu > li.ruby-menu-social.ruby-menu-search > a:hover > span input,ul.ruby-menu.ruby-menu-dividers > li.ruby-menu-social.ruby-menu-search > a:hover > span input {
transform: scaleY(1);
max-width: 80px
}
ul.ruby-menu > li.ruby-menu-social.ruby-menu-search > a span,ul.ruby-menu.ruby-menu-dividers > li.ruby-menu-social.ruby-menu-search > a span {
display: inline
}
ul.ruby-menu > li.ruby-menu-social.ruby-menu-search > a > span input,ul.ruby-menu.ruby-menu-dividers > li.ruby-menu-social.ruby-menu-search > a > span input {
position: absolute;
width: 80px;
height: 50px;
line-height: 50px;
margin: 0;
background: none;
color: #efefef;
border: none;
font-size: 14px;
font-weight: 700;
text-transform: uppercase;
max-width: 0;
transform: scaleY(0);
transition: all .5s ease;
transition-delay: .3s
}
ul.ruby-menu > li.ruby-menu-social.ruby-menu-search > a > span input:focus {
outline: none;
color: #efefef
}
ul.ruby-menu > li.ruby-menu-social.ruby-menu-search > a > span input::-webkit-input-placeholder {
color: #efefef
}
ul.ruby-menu.ruby-menu-dividers > li > a,ul.ruby-menu.ruby-menu-dividers > li.ruby-menu-social > a {
border-left: 1px solid #111;
border-right: 1px solid #666
}
ul.ruby-menu.ruby-menu-dividers > li:first-child > a,ul.ruby-menu.ruby-menu-dividers > li.ruby-menu-social:last-child > a {
border-left: none
}
ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li > a {
border: none;
border-top: 1px solid #111;
border-bottom: 1px solid #666
}
ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li:first-child > a {
border-top: none
}
ul.ruby-menu.ruby-menu-dividers > li > a:hover,ul.ruby-menu.ruby-menu-dividers > li:hover > a {
border-right: 1px solid #19ad86
}
ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li > a:hover,ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li:hover > a {
border-bottom: 1px solid #19ad86
}
ul.ruby-menu.ruby-menu-dividers > li.ruby-active-menu-item > a {
border-right: 1px solid #17a47d
}
ul.ruby-menu.ruby-vertical.ruby-menu-dividers > li.ruby-active-menu-item > a {
border-bottom: 1px solid #17a47d
}
ul.ruby-menu > li > ul,ul.ruby-menu > li > ul > li > ul,ul.ruby-menu > li > ul > li > ul > li > ul {
position: absolute;
-webkit-box-shadow: 0 8px 24px -5px #ccc;
-moz-box-shadow: 0 8px 24px -5px #ccc;
box-shadow: 0 8px 24px -5px #ccc;
border-top: 4px solid #19ad86
}
ul.ruby-menu > li > ul > li,ul.ruby-menu > li > ul > li > ul > li {
position: relative
}
ul.ruby-menu > li > ul > li > a,ul.ruby-menu > li > ul > li > ul > li > a,ul.ruby-menu > li > ul > li > ul > li > ul > li > a {
display: block;
width: 170px;
line-height: 40px;
padding: 0 35px 0 25px;
background: #fff;
color: #666;
text-decoration: none;
font-size: 14px
}
ul.ruby-menu > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > a:hover,ul.ruby-menu > li > ul > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > ul > li > a:hover,ul.ruby-menu > li > ul > li > ul > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > ul > li > ul > li > a:hover {
background: #efefef
}
ul.ruby-menu > li > ul > li > a:only-child:after,ul.ruby-menu > li > ul > li > ul > li > a:only-child:after,ul.ruby-menu > li > ul > li > ul > li > ul > li > a:only-child:after {
content: ""
}
ul.ruby-menu > li > ul > li > a .fa,ul.ruby-menu > li > ul > li > ul > li > a .fa,ul.ruby-menu > li > ul > li > ul > li > ul > li > a .fa {
position: relative;
width: 24px
}
ul.ruby-menu > li.ruby-menu-right > ul {
right: 0
}
ul.ruby-menu > li > ul > li > ul,ul.ruby-menu > li > ul > li > ul > li > ul {
left: 170px;
top: -4px;
z-index: 100
}
ul.ruby-menu > li > ul > li.ruby-open-to-left > ul,ul.ruby-menu > li > ul > li > ul > li.ruby-open-to-left > ul {
left: auto;
right: 170px
}
ul.ruby-menu > li.ruby-menu-mega > div,ul.ruby-menu > li.ruby-menu-mega-blog > div,ul.ruby-menu > li.ruby-menu-mega-shop > div {
position: absolute;
width: 100%;
height: auto;
top: 50px;
left: 0;
border-top: 4px solid #009f4c;
min-height: 35vh;
overflow: hidden;
background-position: left !important;
background-repeat: no-repeat !important;
background-color: #fff !important;
background-size: contain !important;
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav {
position: relative;
width: 200px;
height: 100%;
left: 0;
top: 0;
background: #efefef
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li {
font-size: 14px
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > a {
display: block;
line-height: 40px;
padding: 0 15px;
background: #efefef;
color: #666;
text-decoration: none
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li.ruby-active-menu-item > a {
background: #e6e6e6
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > div {
position: absolute;
width: 780px;
height: auto;
min-height: 100%;
left: 200px;
top: 0;
background: #fff
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li:hover > a {
background: #ddd
}
ul.ruby-menu > li.ruby-menu-mega-shop > div {
text-align: center;
z-index: 999999
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul {
width: 100%;
background: #efefef;
margin: 0 auto;
padding: 0;
border-bottom: 1px solid #ddd;
font-size: 0;
z-index: 100
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li {
display: inline-block;
margin: 0
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a {
display: block;
padding: 20px 15px;
text-transform: uppercase;
font-weight: 700;
font-size: 14px;
font-stretch: expanded;
color: #666
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li:hover > a,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:hover,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li.ruby-active-menu-item > a {
text-decoration: none
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a {
position: relative;
text-decoration: none;
display: inline-block
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div {
position: absolute;
width: 100%;
left: 0;
top: auto;
margin-top: 1px;
text-align: left;
background: #fff;
z-index: -1
}
div.ruby-grid,div.ruby-grid-lined {
position: relative;
width: 100%;
padding: 0;
margin: 0
}
div.ruby-grid > div.ruby-row {
position: relative;
width: 100%;
height: auto
}
div.ruby-grid > div.ruby-row div.ruby-row [class^="ruby-col"] {
margin-top: 16px
}
div.ruby-grid > div.ruby-row div.ruby-row:first-of-type [class^="ruby-col"] {
margin-top: 0
}
div.ruby-grid.ruby-grid-lined > div.ruby-row:after {
content: "";
width: 100%;
height: 1px;
left: 0;
bottom: 0;
background: -webkit-linear-gradient(left,rgba(204,204,204,0) 0%,rgba(204,204,204,0.48) 24%,rgba(204,204,204,1) 50%,rgba(204,204,204,0.42) 79%,rgba(204,204,204,0) 100%)
}
div.ruby-grid.ruby-grid-lined > div.ruby-row:last-child:after {
height: 0
}
div.ruby-grid > div.ruby-row::after {
content: "";
display: table;
clear: both
}
div.ruby-grid > div.ruby-row [class^="ruby-col"] {
position: relative;
float: left;
height: auto
}
div.ruby-grid > div.ruby-row > [class^="ruby-col"] {
padding: 16px
}
div.ruby-grid > div.ruby-row > [class^="ruby-col"] [class^="ruby-col"] {
padding-left: 16px
}
div.ruby-grid > div.ruby-row > [class^="ruby-col"] [class^="ruby-col"]:first-of-type {
padding-left: 0
}
div.ruby-grid > div.ruby-row div.ruby-col-1 {
width: 8.33%
}
div.ruby-grid > div.ruby-row div.ruby-col-2 {
width: 16.66%
}
div.ruby-grid > div.ruby-row div.ruby-col-3 {
width: 25%
}
div.ruby-grid > div.ruby-row div.ruby-col-4 {
width: 33.33%
}
div.ruby-grid > div.ruby-row div.ruby-col-5 {
width: 41.66%
}
div.ruby-grid > div.ruby-row div.ruby-col-6 {
width: 50%
}
div.ruby-grid > div.ruby-row div.ruby-col-7 {
width: 58.33%
}
div.ruby-grid > div.ruby-row div.ruby-col-8 {
width: 66.66%
}
div.ruby-grid > div.ruby-row div.ruby-col-9 {
width: 75%
}
div.ruby-grid > div.ruby-row div.ruby-col-10 {
width: 83.33%
}
div.ruby-grid > div.ruby-row div.ruby-col-11 {
width: 91.66%
}
div.ruby-grid > div.ruby-row div.ruby-col-12 {
width: 100%
}
div.ruby-grid.ruby-grid-lined > div.ruby-row > div[class^="ruby-col"]:after {
content: "";
position: absolute;
top: 0;
width: 1px;
height: 100%;
right: 0;
background: -webkit-linear-gradient(top,rgba(204,204,204,0) 0%,rgba(204,204,204,0.48) 24%,rgba(204,204,204,1) 50%,rgba(204,204,204,0.42) 79%,rgba(204,204,204,0) 100%)
}
div.ruby-grid.ruby-grid-lined > div.ruby-row > div[class^="ruby-col"]:last-child:after {
width: 0
}
div.ruby-grid img {
position: relative;
max-width: 100%;
height: auto;
display: block
}
h3.ruby-list-heading {
font-size: 14px;
line-height: 24px;
font-weight: 700;
margin: 0
}
ul.ruby-menu > li.ruby-menu-mega > div ul,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div ul {
margin: 0;
margin-top: 10px
}
ul.ruby-menu > li.ruby-menu-mega > div ul li,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div ul > li {
position: relative;
font-size: 13px;
line-height: 28px;
display: block;
width: 100%
}
ul.ruby-menu > li.ruby-menu-mega > div ul li > a,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div ul > li > a {
text-decoration: none;
color: #555;
display: inline-block;
-webkit-transition: ease-in-out 0.3s;
-moz-transition: ease-in-out 0.3s;
-ms-transition: ease-in-out 0.3s;
-o-transition: ease-in-out 0.3s;
transition: ease-in-out 0.3s;
}
ul.ruby-menu > li.ruby-menu-mega > div ul li > a:after,
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div ul > li > a:after {
font-family: "FontAwesome";
text-decoration: none;
font-size: 16px;
padding: 0;
content: '\f104';
position: relative;
top: -9px;
float: right;
margin: 6px 8px;
}
ul.ruby-menu > li.ruby-menu-mega > div ul li > a:hover,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div ul > li > a:hover {
color: #222;
text-decoration: underline;
margin-right: 10px;
}
ul.ruby-menu > li.ruby-menu-mega > div ul li .fa,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div ul > li .fa {
position: relative;
width: 24px
}
ul.ruby-menu > li.ruby-menu-mega > div ul.ruby-list-with-images li {
height: 50px
}
ul.ruby-menu > li.ruby-menu-mega > div ul.ruby-list-with-images li span.ruby-list-desc {
font-size: 11px;
display: block;
position: absolute;
top: 16px;
left: 72px;
color: #999
}
ul.ruby-menu > li.ruby-menu-mega > div ul li > a > img {
float: left;
width: 60px;
margin-right: 12px
}
span.ruby-c-title,span.ruby-c-category,span.ruby-c-date {
position: relative;
display: block
}
span.ruby-c-title a,span.ruby-c-category a,span.ruby-c-date a {
text-decoration: none
}
span.ruby-c-title,span.ruby-c-title a {
font-size: 14px;
font-weight: 700;
text-transform: capitalize;
line-height: 20px;
margin-top: -5px;
color: #222
}
span.ruby-c-title a:hover {
color: #444;
text-decoration: underline
}
span.ruby-c-category,span.ruby-c-category a {
font-size: 11px;
margin: 9px 0;
color: #444
}
span.ruby-c-date,span.ruby-c-date a {
font-size: 11px;
color: #444
}
span.ruby-c-category a:hover,span.ruby-c-date a:hover {
color: #19ad86
}
div.ruby-c-inline {
display: block;
position: relative;
height: 14px;
margin: 7px 0
}
div.ruby-c-inline span.ruby-c-category,div.ruby-c-inline span.ruby-c-date {
position: absolute;
display: inline-block
}
div.ruby-c-inline span.ruby-c-date {
right: 0
}
div.ruby-c-inline span.ruby-c-category,div.ruby-c-inline span.ruby-c-category a {
margin: 0
}
span.ruby-c-content {
display: block;
position: relative;
top: 7px;
font-size: 12px;
line-height: 18px;
text-align: justify
}
.ruby-wrapper .visible-xs {
visibility: hidden;
position: absolute
}
@media(min-width: 768px) {
div.ruby-wrapper.ruby-menu-transparent {
background:none
}
div.ruby-wrapper.ruby-menu-transparent > ul.ruby-menu > li.ruby-active-menu-item > a {
background: none
}
div.ruby-wrapper.ruby-menu-transparent > ul.ruby-menu > li.ruby-menu-social > a {
border: none
}
div.ruby-wrapper.ruby-menu-transparent > ul.ruby-menu.ruby-menu-dividers > li > a {
border: none
}
div.ruby-wrapper.ruby-menu-transparent > ul.ruby-menu > li:hover > a,div.ruby-wrapper.ruby-menu-transparent > ul.ruby-menu > li > a:hover,div.ruby-wrapper.ruby-menu-transparent > ul.ruby-menu.ruby-menu-dividers > li:hover > a,div.ruby-wrapper.ruby-menu-transparent > ul.ruby-menu.ruby-menu-dividers > li > a:hover {
background: none;
color: #e2e2e2
}
div.ruby-wrapper.ruby-menu-transparent > ul.ruby-menu > li.ruby-menu-social.ruby-menu-search > a:hover,div.ruby-wrapper.ruby-menu-transparent > ul.ruby-menu > li.ruby-menu-social.ruby-menu-search:hover > a {
background: none
}
div.ruby-wrapper.ruby-menu-full-width {
width: 100%
}
div.ruby-wrapper.ruby-menu-full-width > ul.ruby-menu {
width: 980px;
margin: 0 auto
}
ul.ruby-menu > li > ul,ul.ruby-menu > li > ul > li > ul,ul.ruby-menu > li > ul > li > ul > li > ul {
visibility: hidden;
opacity: 0
}
ul.ruby-menu > li:hover > ul,ul.ruby-menu > li > ul > li:hover > ul,ul.ruby-menu > li > ul > li > ul > li:hover > ul {
visibility: visible;
opacity: 1
}
ul.ruby-menu > li.ruby-menu-mega > div,ul.ruby-menu > li.ruby-menu-mega-blog > div,ul.ruby-menu > li.ruby-menu-mega-shop > div {
visibility: hidden;
opacity: 0
}
ul.ruby-menu > li.ruby-menu-mega:hover > div,ul.ruby-menu > li.ruby-menu-mega-blog:hover > div,ul.ruby-menu > li.ruby-menu-mega-shop:hover > div {
visibility: visible;
opacity: 1
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > div {
visibility: hidden;
opacity: 0
}
ul.ruby-menu > li.ruby-menu-mega-blog:hover > div > ul.ruby-menu-mega-blog-nav > li.ruby-active-menu-item > div {
visibility: visible;
opacity: 1
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li:hover > div {
visibility: visible;
opacity: 1;
z-index: 101
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div {
visibility: hidden;
opacity: 0
}
ul.ruby-menu > li.ruby-menu-mega-shop:hover > div > ul > li.ruby-active-menu-item > div,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li:hover > div {
visibility: visible;
opacity: 1
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:before,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:after {
height: 1px;
position: absolute;
content: '';
background-color: #19ad86;
width: 0
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:before {
top: 10px;
left: 5%
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:after {
bottom: 10px;
right: 5%
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:hover,.snip1217 .current a {
color: #333
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:hover:before,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li.ruby-active-menu-item > a:before,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:hover:after,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li.ruby-active-menu-item > a:after,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li:hover > a:before,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li:hover > a:after {
width: 90%
}
ul.ruby-menu > li > a:after {
font-family: "FontAwesome";
text-decoration: none;
content: '\f107';
position: absolute;
margin-right: 6px;
}
ul.ruby-menu > li:hover > a:after {
-webkit-transform: rotate(-180deg);
-moz-transform: rotate(-180deg);
-o-transform: rotate(-180deg);
-ms-transform: rotate(-180deg);
transform: rotate(-180deg)
}
ul.ruby-menu > li > ul > li > a:after,ul.ruby-menu > li > ul > li > ul > li > a:after,ul.ruby-menu > li > ul > li > ul > li > ul > li > a:after {
font-family: "FontAwesome";
text-decoration: none;
font-size: 16px;
padding: 0;
content: '\f105';
position: absolute;
right: 15px
}
ul.ruby-menu > li > ul > li:hover > a:after,ul.ruby-menu > li > ul > li > ul > li:hover > a:after,ul.ruby-menu > li > ul > li > ul > li > ul > li:hover > a:after {
-webkit-transform: rotate(-180deg);
-moz-transform: rotate(-180deg);
-o-transform: rotate(-180deg);
-ms-transform: rotate(-180deg);
transform: rotate(-180deg)
}
ul.ruby-menu > li > ul > li.ruby-open-to-left > a:after,ul.ruby-menu > li > ul > li > ul > li.ruby-open-to-left > a:after,ul.ruby-menu > li > ul > li > ul > li > ul > li.ruby-open-to-left > a:after {
content: '\f104';
right: auto;
left: 10px
}
ul.ruby-menu > li > ul > li.ruby-open-to-left:hover > a:after,ul.ruby-menu > li > ul > li > ul > li.ruby-open-to-left:hover > a:after,ul.ruby-menu > li > ul > li > ul > li > ul > li.ruby-open-to-left:hover > a:after {
-webkit-transform: rotate(-180deg);
-moz-transform: rotate(-180deg);
-o-transform: rotate(-180deg);
-ms-transform: rotate(-180deg);
transform: rotate(-180deg)
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li.ruby-active-menu-item > a:after,ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li:hover > a:after {
content: "";
position: absolute;
right: 0;
margin-top: 13px;
width: 0;
height: 0;
border-style: solid;
border-width: 6px 8px 6px 0;
border-color: transparent #fff transparent transparent
}
}
/* responsive */
@media(max-width: 767px) {
div.ruby-wrapper .hidden-xs {
visibility:hidden;
display: none
}
div.ruby-wrapper {
position: absolute;
width: 100%;
top: 0;
background: #111
}
.ruby-wrapper .visible-xs {
visibility: visible;
position: absolute;
left: 0;
top: 0
}
div.ruby-wrapper > ul {
position: absolute;
top: 50px;
width: 100%
}
ul.ruby-menu > li,ul.ruby-menu > li.ruby-menu-right {
float: none
}
ul.ruby-menu > li > a {
padding: 0 65px;
background: #19ad86
}
ul.ruby-menu > li > a:only-child {
padding: 0 65px
}
ul.ruby-menu > li > a:hover,ul.ruby-menu > li:hover > a,ul.ruby-menu > li.ruby-active-menu-item > a:hover {
background: #127e61
}
ul.ruby-menu > li.ruby-active-menu-item > a {
background: #159572
}
ul.ruby-menu > li.ruby-menu-social > a > span {
display: block
}
ul.ruby-menu > li > ul,ul.ruby-menu > li > ul > li > ul,ul.ruby-menu > li > ul > li > ul > li > ul {
position: relative;
width: 100%;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
border-top: none
}
ul.ruby-menu > li,ul.ruby-menu > li > ul > li,ul.ruby-menu > li > ul > li > ul > li,ul.ruby-menu > li > ul > li > ul > li > ul > li {
position: relative
}
ul.ruby-menu > li > ul > li > a,ul.ruby-menu > li > ul > li > ul > li > a,ul.ruby-menu > li > ul > li > ul > li > ul > li > a {
width: 100%;
line-height: 50px;
padding: 0 80px;
background: #d1d1d1
}
ul.ruby-menu > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > a:hover,ul.ruby-menu > li > ul > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > ul > li > a:hover,ul.ruby-menu > li > ul > li > ul > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > ul > li > ul > li > a:hover {
background: #d9d9d9;
color: #111
}
ul.ruby-menu > li > ul > li > ul,ul.ruby-menu > li > ul > li > ul > li > ul {
left: auto;
top: auto;
z-index: auto
}
ul.ruby-menu > li > ul > li.ruby-open-to-left > ul,ul.ruby-menu > li > ul > li > ul > li.ruby-open-to-left > ul {
left: auto;
right: auto
}
ul.ruby-menu > li > ul > li > ul > li > a {
background: #e5e5e5;
padding: 0 95px
}
ul.ruby-menu > li > ul > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > ul > li > a:hover {
background: #e1e1e1
}
ul.ruby-menu > li > ul > li > ul > li > ul > li > a {
background: #efefef;
padding: 0 110px
}
ul.ruby-menu > li > ul > li > ul > li > ul > li:hover > a,ul.ruby-menu > li > ul > li > ul > li > ul > li > a:hover {
background: #fff
}
ul.ruby-menu > li.ruby-menu-social > a {
border: none
}
ul.ruby-menu > li.ruby-menu-mega,ul.ruby-menu > li.ruby-menu-mega-blog,ul.ruby-menu > li.ruby-menu-mega-shop {
position: relative
}
ul.ruby-menu > li.ruby-menu-mega > div,ul.ruby-menu > li.ruby-menu-mega-blog > div,ul.ruby-menu > li.ruby-menu-mega-shop > div {
position: relative;
top: auto;
left: auto;
border-top: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav {
width: 100%;
height: auto;
left: auto;
top: auto
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li {
position: relative
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > a {
line-height: 50px;
padding: 0 75px;
background: #d1d1d1;
color: #222
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li.ruby-active-menu-item > a {
background: #bcbcbc
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > div {
position: relative;
width: 100%;
min-height: auto;
left: auto;
top: auto;
z-index: auto
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li:hover > a {
background: #d9d9d9
}
ul.ruby-menu > li.ruby-menu-mega-shop > div {
position: relative;
text-align: left
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul {
position: relative;
border: none;
font-size: 14px;
margin-bottom: -1px
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li {
position: relative;
display: block;
margin-top: -1px
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a {
padding: 0 80px;
line-height: 50px;
max-height: 50px;
text-transform: none;
font-weight: 400;
background: #d1d1d1;
color: #222;
border: none
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li.ruby-active-menu-item > a {
background: #bcbcbc
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li:hover > a,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:hover,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li.ruby-active-menu-item > a {
background: #d9d9d9
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a {
display: block
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div {
position: relative;
top: 0;
z-index: 9999;
margin: 0
}
ul.ruby-menu > li.ruby-menu-social img {
display: inline-table;
position: absolute;
top: 15px
}
ul.ruby-menu > li.ruby-menu-social > a {
width: 100%
}
ul.ruby-menu > li.ruby-menu-social .fa {
position: absolute;
top: 17px
}
ul.ruby-menu > li.ruby-menu-social span {
line-height: 50px;
padding: 0 25px
}
span.ruby-dropdown-toggle {
position: absolute;
width: 50px;
height: 50px;
max-width: 50px;
max-height: 50px;
left: 0;
top: 0;
padding: 10px 17px;
z-index: 1000000;
cursor: pointer
}
span.ruby-dropdown-toggle:after {
font-family: "FontAwesome";
text-decoration: none;
content: '\f107';
color: #fff;
font-size: 25px;
right: 0
}
span.ruby-dropdown-toggle.ruby-dropdown-toggle-rotate {
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg)
}
ul.ruby-menu > li > a:before,ul.ruby-menu > li > ul > li > a:before,ul.ruby-menu > li > ul > li > ul > li > a:before,ul.ruby-menu > li > ul > li > ul > li > ul > li > a:before,ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > a:before,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:before {
content: "";
width: 50px;
height: 50px;
background: #333;
position: absolute;
left: 0;
top: 0
}
ul.ruby-menu > li > ul > li > a:before,ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > a:before,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a:before {
background: #555
}
ul.ruby-menu > li > ul > li > ul > li > a:before {
background: #777
}
ul.ruby-menu > li > ul > li > ul > li > ul > li > a:before {
background: #999
}
ul.ruby-menu > li > ul > li > ul > li > ul,ul.ruby-menu > li > ul > li > ul,ul.ruby-menu > li > ul,ul.ruby-menu,ul.ruby-menu > li.ruby-menu-mega > div,ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > div,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div,ul.ruby-menu > li.ruby-menu-mega-blog > div,ul.ruby-menu > li.ruby-menu-mega-shop > div {
max-height: 0;
transform: scaleY(0);
overflow: hidden
}
ul.ruby-menu > li > ul.ruby-mobile-sublevel-show,ul.ruby-menu > li > ul > li > ul.ruby-mobile-sublevel-show,ul.ruby-menu > li > ul > li > ul > li > ul.ruby-mobile-sublevel-show,ul.ruby-menu.ruby-mobile-sublevel-show,ul.ruby-menu > li.ruby-menu-mega > div.ruby-mobile-sublevel-show,ul.ruby-menu > li.ruby-menu-mega-blog > div.ruby-mobile-sublevel-show,ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > div.ruby-mobile-sublevel-show,ul.ruby-menu > li.ruby-menu-mega-shop > div.ruby-mobile-sublevel-show,ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > div.ruby-mobile-sublevel-show {
max-height: 20000px;
transform: scaleY(1)
}
div.ruby-grid > div.ruby-row div.ruby-row [class^="ruby-col"] {
margin-top: 0
}
div.ruby-grid > div.ruby-row div.ruby-row:first-of-type [class^="ruby-col"] {
margin-top: 0
}
div.ruby-grid.ruby-grid-lined > div.ruby-row:after {
height: 0
}
div.ruby-grid > div.ruby-row > [class^="ruby-col"] {
padding: 0
}
div.ruby-grid > div.ruby-row > [class^="ruby-col"] [class^="ruby-col"] {
padding-left: 0
}
div.ruby-grid > div.ruby-row > [class^="ruby-col"] [class^="ruby-col"]:first-of-type {
padding-left: 0
}
div.ruby-grid > div.ruby-row div.ruby-col-1,div.ruby-grid > div.ruby-row div.ruby-col-2,div.ruby-grid > div.ruby-row div.ruby-col-3,div.ruby-grid > div.ruby-row div.ruby-col-4,div.ruby-grid > div.ruby-row div.ruby-col-5,div.ruby-grid > div.ruby-row div.ruby-col-6,div.ruby-grid > div.ruby-row div.ruby-col-7,div.ruby-grid > div.ruby-row div.ruby-col-8,div.ruby-grid > div.ruby-row div.ruby-col-9,div.ruby-grid > div.ruby-row div.ruby-col-10,div.ruby-grid > div.ruby-row div.ruby-col-11,div.ruby-grid > div.ruby-row div.ruby-col-12 {
width: 100%;
padding: 20px 30px
}
div.ruby-grid.ruby-grid-lined > div.ruby-row > div[class^="ruby-col"]:after {
width: 0
}
div.ruby-grid img {
position: relative;
max-width: 100%;
height: auto;
display: block
}
div.ruby-grid > div.ruby-row::after {
content: "";
display: table;
clear: both
}
.c-hamburger {
display: block;
position: relative;
overflow: hidden;
margin: 0;
padding: 0;
width: 50px;
height: 50px;
font-size: 0;
text-indent: -9999px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
box-shadow: none;
border-radius: none;
border: none;
cursor: pointer;
-webkit-transition: background .3s;
transition: background .3s
}
.c-hamburger:focus {
outline: none
}
.c-hamburger span {
display: block;
position: absolute;
top: 24px;
left: 8px;
right: 8px;
height: 3px;
background: #fff
}
.c-hamburger span::before,.c-hamburger span::after {
position: absolute;
display: block;
left: 0;
width: 100%;
height: 3px;
background-color: #fff;
content: ""
}
.c-hamburger span::before {
top: -10px
}
.c-hamburger span::after {
bottom: -10px
}
.c-hamburger--htx {
background-color: #19ad86
}
.c-hamburger--htx span {
-webkit-transition: background 0 .3s;
transition: background 0 .3s
}
.c-hamburger--htx span::before,.c-hamburger--htx span::after {
-webkit-transition-duration: 0.3s,.3s;
transition-duration: 0.3s,.3s;
-webkit-transition-delay: 0.3s,0;
transition-delay: 0.3s,0
}
.c-hamburger--htx span::before {
-webkit-transition-property: top,-webkit-transform;
transition-property: top,transform
}
.c-hamburger--htx span::after {
-webkit-transition-property: bottom,-webkit-transform;
transition-property: bottom,transform
}
.c-hamburger--htx.is-active {
background-color: #333
}
.c-hamburger--htx.is-active span {
background: none
}
.c-hamburger--htx.is-active span::before {
top: 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg)
}
.c-hamburger--htx.is-active span::after {
bottom: 0;
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg)
}
.c-hamburger--htx.is-active span::before,.c-hamburger--htx.is-active span::after {
-webkit-transition-delay: 0s,.3s;
transition-delay: 0s,.3s
}
ul.ruby-menu.ruby-menu-dividers > li,ul.ruby-menu.ruby-menu-dividers > li > a,ul.ruby-menu.ruby-menu-dividers > li.ruby-menu-social > a,ul.ruby-menu.ruby-menu-dividers > li > a:hover,ul.ruby-menu.ruby-menu-dividers > li:hover > a {
border: none
}
div.ruby-wrapper.ruby-menu-transparent > ul.ruby-menu > li.ruby-active-menu-item > a {
padding-left: 45px
}
ul.ruby-menu > li.ruby-menu-social.ruby-menu-search > a {
display: none
}
}
@media(min-width: 768px) and (max-width:991px) {
.ruby-wrapper .hidden-md {
visibility:hidden;
display: none
}
div.ruby-wrapper {
width: 760px
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav {
width: 170px
}
ul.ruby-menu > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > div {
width: 590px;
left: 170px
}
ul.ruby-menu.ruby-vertical > li.ruby-menu-mega > div,ul.ruby-menu.ruby-vertical > li.ruby-menu-mega-blog > div,ul.ruby-menu.ruby-vertical > li.ruby-menu-mega-shop > div {
width: 560px
}
ul.ruby-menu.ruby-vertical > li.ruby-menu-mega-blog > div > ul.ruby-menu-mega-blog-nav > li > div {
width: 360px
}
span.ruby-c-date {
display: none;
visibility: hidden;
opacity: 0
}
div.ruby-grid > div.ruby-row div.ruby-col-3-md {
width: 25%
}
div.ruby-grid > div.ruby-row div.ruby-col-4-md {
width: 33.33%
}
div.ruby-grid > div.ruby-row div.ruby-col-6-md {
width: 50%
}
div.ruby-grid > div.ruby-row div.ruby-col-12-md {
width: 100%
}
div.ruby-grid.ruby-grid-lined > div.ruby-row:after,div.ruby-grid.ruby-grid-lined > div.ruby-row > div[class^="ruby-col"]:after {
background: none
}
ul.ruby-menu > li.ruby-menu-mega-shop > div > ul > li > a {
padding: 20px 5px;
font-size: 12px;
font-stretch: condensed;
color: #666
}
}
.mobile-menu-container{
height: 100vh;
background: #25472c;
position: fixed;
width: 100%;
top: 0;
overflow: auto;
overflow-x: hidden;
z-index: 10000000000000000000;
left: -100vw;
width: calc(100% - 115px);
padding: 15px 18px;
transition: ease-in-out 0.3s;
}
.mobile-menu-container.active{
left: 0;
}
.mobile-menu-container ul{
padding: 0;
margin: 0;
}
.mobile-menu-container li {
position: relative;
display: inline-block;
width: 100%;
}
.mobile-menu-container li a{
padding: 10px 20px;
display: inline-block;
width: 100%;
}
.mobile-menu-container .fa{
position: absolute;
color: #fff;
top: 0;
padding: 10px 5px;
width: 50px;
left: 0;
text-align: center;
font-size: 16px;
}
.mobile-menu-container ul ul{
display: none;
padding-right: 15px;
} | 26.251339 | 622 | 0.59133 |
0af461f37209bfab9597b27842c570145a33148c | 626 | cs | C# | Rendering/OpenGLBindings/TextureEnvModeOperandRgb.cs | Intemporel/WoWDatabaseEditor | 191a9a18a04cffdc3db20ec2d504dd1e1c9ccc1d | [
"MIT"
] | 6 | 2021-02-06T08:55:38.000Z | 2022-01-02T06:00:56.000Z | Rendering/OpenGLBindings/TextureEnvModeOperandRgb.cs | Intemporel/WoWDatabaseEditor | 191a9a18a04cffdc3db20ec2d504dd1e1c9ccc1d | [
"MIT"
] | 9 | 2021-01-14T09:41:30.000Z | 2022-02-23T01:25:05.000Z | Rendering/OpenGLBindings/TextureEnvModeOperandRgb.cs | Intemporel/WoWDatabaseEditor | 191a9a18a04cffdc3db20ec2d504dd1e1c9ccc1d | [
"MIT"
] | 5 | 2020-12-28T18:46:02.000Z | 2021-12-03T16:14:53.000Z | namespace OpenGLBindings
{
/// <summary>
/// Not used directly.
/// </summary>
public enum TextureEnvModeOperandRgb
{
/// <summary>
/// Original was GL_SRC_COLOR = 0x0300
/// </summary>
SrcColor = 768,
/// <summary>
/// Original was GL_ONE_MINUS_SRC_COLOR = 0x0301
/// </summary>
OneMinusSrcColor,
/// <summary>
/// Original was GL_SRC_ALPHA = 0x0302
/// </summary>
SrcAlpha,
/// <summary>
/// Original was GL_ONE_MINUS_SRC_ALPHA = 0x0303
/// </summary>
OneMinusSrcAlpha
}
} | 25.04 | 56 | 0.525559 |
8b5e9bfac6d65dd18c681ec8fded67741f6524d4 | 4,704 | rb | Ruby | lib/aws/ec2/snapshot_collection.rb | centresource/aws-sdk-for-ruby | ddbd83fa5acb83d328e6fdeb2ccd75e1affdd2ee | [
"Apache-2.0"
] | null | null | null | lib/aws/ec2/snapshot_collection.rb | centresource/aws-sdk-for-ruby | ddbd83fa5acb83d328e6fdeb2ccd75e1affdd2ee | [
"Apache-2.0"
] | null | null | null | lib/aws/ec2/snapshot_collection.rb | centresource/aws-sdk-for-ruby | ddbd83fa5acb83d328e6fdeb2ccd75e1affdd2ee | [
"Apache-2.0"
] | 1 | 2018-06-26T17:03:14.000Z | 2018-06-26T17:03:14.000Z | # Copyright 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompanying this file. This file is
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
# ANY KIND, either express or implied. See the License for the specific
# language governing permissions and limitations under the License.
module AWS
class EC2
# Represents a collection of Amazon EBS snapshots. Typically
# you should get an instance of this class by calling
# {EC2#snapshots}.
#
# @example Create a snapshot from a volume
# ec2.snapshots.create(:volume => ec2.volumes["vol-123"],
# :description => "my snapshot")
# # or:
# ec2.volumes["vol-123"].create_snapshot("my snapshot")
#
# @example Get a snapshot by ID
# snapshot = ec2.snapshots["vol-123"]
# snapshot.exists?
#
# @example Get a map of snapshot IDs to snapshot status
# ec2.snapshots.inject({}) { |m, s| m[i.id] = s.status; m }
# # => { "snap-12345678" => :pending, "snap-87654321" => :completed }
class SnapshotCollection < Collection
include TaggedCollection
# @private
def initialize(options = {})
@owners = options[:owners] || []
@restorable_by = options[:restorable_by] || []
super(options)
end
# @yield [Instance] Yields each volume in the collection.
# @return [nil]
def each(&block)
opts = {}
opts[:owner_ids] = @owners.map { |id| id.to_s } unless @owners.empty?
opts[:restorable_by_user_ids] = @restorable_by.map { |id| id.to_s } unless
@restorable_by.empty?
resp = filtered_request(:describe_snapshots, opts)
resp.snapshot_set.each do |v|
snapshot = Snapshot.new(v.snapshot_id, :config => config)
yield(snapshot)
end
nil
end
# @return [SnapshotCollection] A new collection that only
# includes snapshots owned by one or more of the specified AWS
# accounts. The IDs +:amazon+ and +:self+ can be used to
# include snapshots owned by Amazon or AMIs owned by you,
# respectively.
#
# @param [Array of Strings] owners The AWS account IDs by
# which the new collection should be filtered.
def with_owner(*owners)
collection_with(:owners => @owners + owners)
end
# @return [ImageCollection] A new collection that only includes
# images for which the specified user ID has explicit launch
# permissions. The user ID can be an AWS account ID, +:self+
# to return AMIs for which the sender of the request has
# explicit launch permissions, or +:all+ to return AMIs with
# public launch permissions.
#
# @param [Array of Strings] users The AWS account IDs by which
# the new collection should be filtered.
def restorable_by(*users)
collection_with(:restorable_by => @restorable_by + users)
end
# Creates a snapshot of an Amazon EBS volume and stores it in
# Amazon S3. You can use snapshots for backups, to make
# identical copies of instance devices, and to save data
# before shutting down an instance. For more information about
# Amazon EBS, go to the {Amazon Elastic Compute Cloud User
# Guide}[http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?using-ebs.html].
#
# @return [Snapshot] An object representing the new snapshot.
#
# @param [Hash] opts Options for creating the snapshot.
# Either +:volume+ or +:volume_id+ is required.
#
# @param opts [Volume] :volume The Amazon EBS volume of which
# to take a snapshot.
#
# @param opts [String] :volume_id The ID of the Amazon EBS
# volume of which to take a snapshot.
#
# @param opts [String] :description An optional description of
# the snapshot. May contain up to 255 characters.
def create opts = {}
if volume = opts.delete(:volume)
opts[:volume_id] = volume.id
end
resp = client.create_snapshot(opts)
Snapshot.new(resp.snapshot_id, :config => config)
end
# @private
protected
def member_class
Snapshot
end
# @private
protected
def preserved_options
super.merge(:owners => @owners, :restorable_by => @restorable_by)
end
end
end
end
| 36.465116 | 100 | 0.633291 |
8e52a3a2bee2398f3a8fa20fe1a23476ef66c1aa | 8,578 | js | JavaScript | test/graph.js | ggoodman/resolve-npm-dependency-graph | 7e875739719f67ff869ad219990d0211b54eceb4 | [
"MIT"
] | 4 | 2018-06-12T21:56:34.000Z | 2019-04-22T19:21:01.000Z | test/graph.js | ggoodman/resolve-npm-dependency-graph | 7e875739719f67ff869ad219990d0211b54eceb4 | [
"MIT"
] | null | null | null | test/graph.js | ggoodman/resolve-npm-dependency-graph | 7e875739719f67ff869ad219990d0211b54eceb4 | [
"MIT"
] | 1 | 2019-11-26T23:34:17.000Z | 2019-11-26T23:34:17.000Z | //@ts-check
'use strict';
const { expect } = require('code');
const Lab = require('lab');
const Resolver = require('../');
const lab = (exports.lab = Lab.script({
cli: {
globals: [
'__extends',
'__assign',
'__rest',
'__decorate',
'__param',
'__metadata',
'__awaiter',
'__generator',
'__exportStar',
'__values',
'__read',
'__spread',
'__await',
'__asyncGenerator',
'__asyncDelegator',
'__asyncValues',
'__makeTemplateObject',
'__importStar',
'__importDefault',
],
},
}));
lab.describe('loading a dependency graph', () => {
lab.test('works for a single mock package', async () => {
const mockPackages = {
parent: {
name: 'parent',
version: '1.0.0',
},
};
const client = new Resolver.Client({
packageMetadataLoader(spec) {
if (mockPackages[spec]) return mockPackages[spec];
throw new Error('Not found');
},
});
const pkg = await client.load('parent');
expect(pkg).to.be.an.instanceOf(Resolver.Package);
expect(pkg.name).to.equal(mockPackages.parent.name);
expect(pkg.version).to.equal(mockPackages.parent.version);
expect(pkg.children.size).to.equal(0);
});
lab.test('will return the same Package instance for two specs that resolve to the same version', async () => {
const mockPackages = {
'[email protected]': {
name: 'child',
version: '1.0.0',
},
'[email protected]': {
name: 'child',
version: '1.0.0',
},
};
const client = new Resolver.Client({
packageMetadataLoader(spec) {
if (mockPackages[spec]) return mockPackages[spec];
throw new Error('Not found');
},
});
const a = await client.load('[email protected]');
const b = await client.load('[email protected]');
expect(a).to.equal(b);
});
lab.test('works for a simple, parent-child relationship', async () => {
const mockPackages = {
'[email protected]': {
name: 'child',
version: '1.0.0',
},
parent: {
name: 'parent',
version: '1.0.0',
dependencies: {
child: '1.0.0',
},
},
};
const client = new Resolver.Client({
packageMetadataLoader(spec) {
if (mockPackages[spec]) return mockPackages[spec];
throw new Error('Not found');
},
});
const pkg = await client.load('parent');
expect(pkg).to.be.an.instanceOf(Resolver.Package);
expect(pkg.name).to.equal(mockPackages.parent.name);
expect(pkg.version).to.equal(mockPackages.parent.version);
expect(pkg.children.size).to.equal(1);
const child = pkg.children.get('child');
expect(child).to.be.an.instanceOf(Resolver.Package);
expect(child.name).to.equal(mockPackages['[email protected]'].name);
expect(child.version).to.equal(mockPackages['[email protected]'].version);
expect(child.children.size).to.equal(0);
});
lab.test('works when the parent specifies a range', async () => {
const mockPackages = {
'[email protected]': {
name: 'child',
version: '1.0.0',
},
parent: {
name: 'parent',
version: '1.0.0',
dependencies: {
child: '1.x',
},
},
};
const client = new Resolver.Client({
packageMetadataLoader(spec) {
if (mockPackages[spec]) return mockPackages[spec];
throw new Error('Not found');
},
});
const pkg = await client.load('parent');
expect(pkg).to.be.an.instanceOf(Resolver.Package);
expect(pkg.name).to.equal(mockPackages.parent.name);
expect(pkg.version).to.equal(mockPackages.parent.version);
expect(pkg.children.size).to.equal(1);
const child = pkg.children.get('child');
expect(child).to.be.an.instanceOf(Resolver.Package);
expect(child.name).to.equal(mockPackages['[email protected]'].name);
expect(child.version).to.equal(mockPackages['[email protected]'].version);
expect(child.children.size).to.equal(0);
});
lab.test('fails when the module is not available', async () => {
const mockPackages = {};
const client = new Resolver.Client({
packageMetadataLoader(spec) {
if (mockPackages[spec]) return mockPackages[spec];
throw new Error('Not found');
},
});
let pkg;
try {
pkg = await client.load('parent');
} catch (error) {
expect(error).to.be.an.error(/Not found/);
}
expect(pkg).to.not.exist();
});
lab.test('works when there is a circular dependency', async () => {
const mockPackages = {
'[email protected]': {
name: 'parent',
version: '1.0.0',
dependencies: {
child: '1.0.0',
},
},
'[email protected]': {
name: 'child',
version: '1.0.0',
dependencies: {
parent: '1.0.0',
},
}
};
const client = new Resolver.Client({
packageMetadataLoader(spec) {
if (mockPackages[spec]) return mockPackages[spec];
throw new Error('Not found');
},
});
const pkg = await client.load('[email protected]');
expect(pkg).to.be.an.instanceOf(Resolver.Package);
expect(pkg.name).to.equal(mockPackages['[email protected]'].name);
expect(pkg.version).to.equal(mockPackages['[email protected]'].version);
expect(pkg.children.size).to.equal(1);
const child = pkg.children.get('child');
expect(child).to.be.an.instanceOf(Resolver.Package);
expect(child.name).to.equal(mockPackages['[email protected]'].name);
expect(child.version).to.equal(mockPackages['[email protected]'].version);
expect(child.children.size).to.equal(1);
const parent = child.children.get('parent');
expect(parent).to.equal(pkg);
});
lab.test('works when children require different versions of an indirect dependent', async () => {
const mockPackages = {
'[email protected]': {
name: 'parent',
version: '1.0.0',
dependencies: {
child: '1.0.0',
},
},
'[email protected]': {
name: 'parent',
version: '2.0.0',
},
'[email protected]': {
name: 'child',
version: '1.0.0',
dependencies: {
parent: '2.0.0',
},
}
};
const client = new Resolver.Client({
packageMetadataLoader(spec) {
if (mockPackages[spec]) return mockPackages[spec];
throw new Error('Not found');
},
});
const pkg = await client.load('[email protected]');
expect(pkg).to.be.an.instanceOf(Resolver.Package);
expect(pkg.name).to.equal(mockPackages['[email protected]'].name);
expect(pkg.version).to.equal(mockPackages['[email protected]'].version);
expect(pkg.children.size).to.equal(1);
const child = pkg.children.get('child');
expect(child).to.be.an.instanceOf(Resolver.Package);
expect(child.name).to.equal(mockPackages['[email protected]'].name);
expect(child.version).to.equal(mockPackages['[email protected]'].version);
expect(child.children.size).to.equal(1);
const grandChild = child.children.get('parent');
expect(grandChild).to.be.an.instanceOf(Resolver.Package);
expect(grandChild.name).to.equal(mockPackages['[email protected]'].name);
expect(grandChild.version).to.equal(mockPackages['[email protected]'].version);
expect(grandChild.children.size).to.equal(0);
});
});
| 31.888476 | 114 | 0.501049 |
21c10f166ac5abf2e27a3fa6d36886aea5bf5b6b | 328 | kt | Kotlin | api/src/main/java/org/runestar/client/api/overlay/StrutOverlay.kt | BenjaminFaal/client | d02e7a382a34af117279be02f9f54a6a70fc012b | [
"MIT"
] | null | null | null | api/src/main/java/org/runestar/client/api/overlay/StrutOverlay.kt | BenjaminFaal/client | d02e7a382a34af117279be02f9f54a6a70fc012b | [
"MIT"
] | null | null | null | api/src/main/java/org/runestar/client/api/overlay/StrutOverlay.kt | BenjaminFaal/client | d02e7a382a34af117279be02f9f54a6a70fc012b | [
"MIT"
] | null | null | null | package org.runestar.client.api.overlay
import java.awt.Dimension
import java.awt.Graphics2D
class StrutOverlay(
val width: Int,
val height: Int
) : Overlay {
override fun draw(g: Graphics2D, size: Dimension) {}
override fun getSize(g: Graphics2D, result: Dimension) = result.setSize(width, height)
} | 23.428571 | 90 | 0.710366 |
9783b82adb84479944cf2fb69db06b233ce956a6 | 315 | tsx | TypeScript | pages/checkout.tsx | nickxiaohk01/de01-store | 316ec73212aa42dd193aaa73dfce07b682bba1e2 | [
"MIT"
] | null | null | null | pages/checkout.tsx | nickxiaohk01/de01-store | 316ec73212aa42dd193aaa73dfce07b682bba1e2 | [
"MIT"
] | 3 | 2021-03-23T02:46:52.000Z | 2021-06-03T15:09:10.000Z | pages/checkout.tsx | nickxiaohk01/de01-store | 316ec73212aa42dd193aaa73dfce07b682bba1e2 | [
"MIT"
] | null | null | null | import React from 'react'
import { CartSummary } from '@components/cart'
import { fakePartnerServerProxy } from '@proxy'
import { Checkout as CheckoutComp } from '@components/checkout'
const Checkout = () => (
<CheckoutComp checkoutMethod={fakePartnerServerProxy.submitPayment_V23} />
)
export default Checkout
| 28.636364 | 76 | 0.765079 |
9fe28045cd5e97868df36d08bc6a7e65ac0c5dfc | 680 | py | Python | factorial.py | fionanealon/python-exercises | f78ebd4ccd5504bf6c6cc07992ec5a72f6a02914 | [
"Apache-2.0"
] | null | null | null | factorial.py | fionanealon/python-exercises | f78ebd4ccd5504bf6c6cc07992ec5a72f6a02914 | [
"Apache-2.0"
] | null | null | null | factorial.py | fionanealon/python-exercises | f78ebd4ccd5504bf6c6cc07992ec5a72f6a02914 | [
"Apache-2.0"
] | null | null | null | # Fiona Nealon, 2018-04-07
# A function called factorial() which takes a single input and returns it's factorial
def factorial(upto):
# Create a variable that will become the answer
multupto = 1
# Loop through numbers i from 1 to upto
for i in range(1, upto + 1):
# Multiply ans by i, changing ans to that
multupto = multupto * i
# Return the factorial
return multupto
# Tests from questions
print("The multiplication of the values from to 1 to 5 inclusive is", factorial(5))
print("The multiplication of the values from to 1 to 7 inclusive is", factorial(7))
print("The multiplication of the values from to 1 to 10 inclusive is", factorial(10))
| 37.777778 | 87 | 0.719118 |
8459792b1145996cd8f8f5567c50ef326ce389e8 | 2,081 | cs | C# | TaskControlSql/TaskControlSql.View/AddTodoTaskScreen.cs | pedro-ca/Task-Control-SQL | daec86e6e6305d4f4c4b8929b629973246fe3b2e | [
"MIT"
] | 2 | 2021-07-03T19:07:56.000Z | 2022-01-05T12:06:55.000Z | TaskControlSql/TaskControlSql.View/AddTodoTaskScreen.cs | pedro-ca/Task-Control-SQL | daec86e6e6305d4f4c4b8929b629973246fe3b2e | [
"MIT"
] | null | null | null | TaskControlSql/TaskControlSql.View/AddTodoTaskScreen.cs | pedro-ca/Task-Control-SQL | daec86e6e6305d4f4c4b8929b629973246fe3b2e | [
"MIT"
] | null | null | null | using System;
using System.Windows.Forms;
using TaskControlSql.Control;
using TaskControlSql.Domain;
namespace TaskControlSql.View
{
public partial class AddTodoTaskScreen : Form
{
TodoTaskController mainController;
public AddTodoTaskScreen(TodoTaskController mainController)
{
this.mainController = mainController;
InitializeComponent();
this.cmbPriority.SelectedIndex = 0;
}
private void btnCancel_Click(object sender, EventArgs e)
{
this.Dispose();
}
private void btnSave_Click(object sender, EventArgs e)
{
DialogResult dialogResult = MessageBox.Show("Are you sure you want to save a new Task?", "Confirmation needed", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (dialogResult == DialogResult.Yes)
{
string title = txtTitle.Text;
string priority = cmbPriority.SelectedItem.ToString();
int percentageConcluded = (int)numPercentageConcluded.Value;
if (string.IsNullOrEmpty(title))
{
MessageBox.Show("Attribute Title cannot be null or empty.", "Invalid argument", MessageBoxButtons.OK, MessageBoxIcon.Warning);
return;
}
TodoTask todoTask = new TodoTask(0, priority, title, DateTime.Now);
todoTask.UpdatePercentageConcluded(percentageConcluded, DateTime.Now);
string operationMessage = mainController.CreateEntity(todoTask);
if (string.Equals("OP_SUCCESS", operationMessage))
MessageBox.Show("Sucessfully added new Task.", "Operation Sucessful", MessageBoxButtons.OK, MessageBoxIcon.Information);
else
{
MessageBox.Show("Error: \n" + operationMessage, "Operation error", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
this.Dispose();
}
}
}
} | 37.836364 | 174 | 0.603556 |
b08161edc9ce6ed523379d6fe2f8473172b55797 | 3,637 | py | Python | captioner/hparams.py | svaisakh/captioner | 5c1144a9ed3986e1d8acdd7bb2732b252b3982d3 | [
"MIT"
] | 1 | 2018-07-23T14:44:14.000Z | 2018-07-23T14:44:14.000Z | captioner/hparams.py | svaisakh/captioner | 5c1144a9ed3986e1d8acdd7bb2732b252b3982d3 | [
"MIT"
] | null | null | null | captioner/hparams.py | svaisakh/captioner | 5c1144a9ed3986e1d8acdd7bb2732b252b3982d3 | [
"MIT"
] | 1 | 2018-09-05T20:52:24.000Z | 2018-09-05T20:52:24.000Z | from multiprocessing import cpu_count as __num_cores
# Extractor
architecture = 'resnet34'
image_shape = 224
extractor_batch_size = 16
num_workers = 8
num_workers = min(num_workers, __num_cores())
# Captions
vocab_size = 10000
caption_idx = 0
prune_batch_size = 8
# Model
rnn_type = 'LSTM'
hidden_size = 512
num_layers = 1
# Training
epochs = 10.0
iterations = -1
shuffle = True
optimizer = 'adam'
learning_rate = 1e-4
save_every = 5.0
write_every = 1.0
# Evaluation
beam_size = 3
probabilistic = False
def _get_click_options():
import click
return \
{
'architecture':
{
'help': "The ResNet Architecture to use for extraction.",
'type': click.Choice(('resnet18', 'resnet34', 'resnet50', 'resnet101', 'resnet152'))
},
'image_shape':
{
'help': "The square size that all images will be resized to prior to extraction. Note that Torchvision's ResNet models only support 224x224 images."
" So this is the default value.",
},
'extractor_batch_size':
{
'help': "The extractor will process images in batches of this size. Use as big a value as your machine can handle. A power of two is preferred."
},
'num_workers':
{
'help': f"Number of CPU cores to use for loading images from disk. Maximum that can be used in your machine is {__num_cores()}"
},
'vocab_size':
{
'help': "The size of the vocabulary to be used. The larger the size, the more rare words will be covered. This should not be as much of an issue since"
" SpaCy automatically replaces unknown words with their synonyms at runtime. Beware though, that a larger size will consume tons of memory since"
" we'll be doing a softmax on the scores."
},
'caption_idx':
{
'help': "The index of the captions to be used for training. The COCO dataset has 5 captions per image. While training, one of these is chosen according to"
" the value of this parameter. If -1, indices will be randomly chosen at runtime for each image.",
'type': click.IntRange(-1, 5)
},
'prune_batch_size':
{
'help': "SpaCy's vocabulary is pruned to vocab_size in batches of this size."
},
'rnn_type':
{
'help': "The type of RNN to use. Karpathy et.al. report better performance with an LSTM.",
'type': click.Choice(('RNN', 'LSTM'))
},
'hidden_size':
{
'help': "The hidden size of RNN layers."
},
'num_layers':
{
'help': "Number of stacked RNN layers to use."
},
'epochs':
{
'help': "Number of epochs to train."
},
'iterations':
{
'help': "Number of iterations to train. If this is positive, then epochs is overriden with this. Useful for debugging (eg. train for 1 iteration)."
},
'shuffle':
{
'help': "Whether to shuffle the dataset while training. Shuffling generally produces better performance since the model can't overfit to specific batches."
},
'optimizer':
{
'help': "The type of optimizer to use. When the papers came out, they reported using RMSProp. Adam was invented shortly afterwards. Use it (with AMSGrad)!",
'type': click.Choice(('adam', ))
},
'learning_rate':
{
'help': "Learning rate. Constant throughout training."
},
'save_every':
{
'help': "The frequency (number of minutes) with which the model is saved during training."
},
'write_every':
{
'help': "The frequency (number of minutes) with which the training history is appended."
},
'beam_size':
{
'help': "Captions are sampled using beam search with this size."
},
'probabilistic':
{
'help': "If True, the beam search retains nodes at each iteration according to their probabilities."
}
}
click_options = _get_click_options() | 29.096 | 159 | 0.68793 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.