angular.module("gg.crowdfunding").run(["$templateCache",function(n){n.put("/templates/accordion/accordion-panel.html",'<section class="accordion-panel" ng-class="{ \'accordion-panel-is-active\': ctrl.isExpanded }">\n    <h1 class="accordion-heading" ng-click="ctrl.setActive()">{{title}}<\/h1>\n    <p class="accordion-body" ng-transclude><\/p>\n<\/section>\n');n.put("/templates/accordion/accordion.html",'<section class="accordion" ng-transclude><\/section>');n.put("/templates/activities/container.html",'<section>\n    <article ng-show="page.isOwnerRequested && (page.status == \'Active\' || page.status == \'FullyFunded\')">\n        <form name="postUpdate" class="form-stacked l-box" ng-submit="postUpdate.$valid && !ctrl.isSaveInProgress() && ctrl.submit()">\n            <div class="relative">\n                <textarea id="new-project-update" rows="3" class="form-control" name="newProjectUpdate" ng-model="newItem.message" placeholder="Enter new update here (280 characters max)" maxlength="280" ng-maxlength="280" required><\/textarea>\n                <char-counter text="newItem.message" max-length="280"><\/char-counter>\n            <\/div>\n            <div class="l-leading">\n                <div class="share">\n                    <p class="share-label">Share<span class="text-hidden text-visible-lg"> to<\/span>:<\/p>\n                    <ul class="share-list">\n                        <li class="share-item"><button class="share-facebook" ng-class="{\'share-facebook-is-disabled\': !ctrl.isUsingFacebook() }" type="button" ng-click="ctrl.toggleFacebook()">Facebook<\/button><\/li>\n                    <\/ul>\n                    <div class="share-actions">\n                        <button class="button button-secondary" ladda="ctrl.isSaveInProgress()">Publish update<\/button>\n                    <\/div>\n                <\/div>\n            <\/div>\n        <\/form>\n    <\/article>\n    <article class="activity cf" ng-repeat="activity in items" ng-class="{\'activity-flip\':activity.activityType == \'Update\'}">\n        <div class="activity-metadata cf" ng-if="activity.activityType == \'Pledge\'">\n            <img src="Content/images/avatar-blue.png" image-template-src="{{activity.imageProfile | stripProtocol}}" image-template="size100x100,size200x200 2x" alt="{{activity.name}}\'s profile image" class="activity-avatar" />\n            <cite class="activity-author">{{activity.name}}<\/cite>\n            <time class="activity-time">{{activity.createdAt|date}}<\/time>\n        <\/div>\n        <blockquote class="activity-comment" ng-if="activity.message" ng-bind-html="activity.message | linkify"><\/blockquote>\n        <p ng-if="activity.donationAmount" class="activity-donation">{{activity.donationAmount|currency:"£"}}<\/p>\n        <div class="activity-metadata cf" ng-if="activity.activityType == \'Update\'">\n            <img src="Content/images/avatar-blue.png" image-template-src="{{page.ownerProfileImageUrl | stripProtocol}}" image-template="size100x100,size200x200 2x" alt="{{page.ownerName}}\'s profile image" class="activity-avatar" />\n            <cite class="activity-author">{{page.ownerName}}<\/cite>\n            <time class="activity-time">{{activity.createdAt|date}}<\/time>\n        <\/div>\n    <\/article>\n    <p class="activity" ng-if="page.status == \'Active\' && items.length == 0">Be the first to support {{page.ownerName}}\'s crowdfunding. Just click on <a ng-href="{{page.pledgeUrl}}">pledge<\/a>.<\/p>\n    <div class="activity-more" ng-if="items.length > 0 && items.length < total">\n        <button class="button button-ghost" ladda="ctrl.isLoadingMore()" ng-click="ctrl.showMore()" track-click track-event-name="MORE_ACTIVITIES_CLICKED" track-args="{ pageId: page.id }">Show 10 more<\/button>\n    <\/div>\n    <div class="activity-action">\n        <a ng-if="page.status == \'Active\'" ng-href="{{page.pledgeUrl}}" track-click track-event-name="PLEDGE_CLICKED" track-args="{ pageId: page.Id, pageName: page.name, source: \'activity-feed\' }" class="button button-donate button-big button-stuff button-hidden button-visible-md">Pledge<\/a>\n    <\/div>\n<\/section>');n.put("/templates/address-editor/address-editor.html",'<ng-form name="form">\n    <fieldset ng-switch="ctrl.state" class="panel panel-minimal">\n        <div ng-switch-when="search">\n            <div class="form-group">\n                <label for="post-code">Postcode<\/label>\n                <input type="text" id="post-code" name="postCode" class="form-control" ng-model="ctrl.address.postCode" required post-code ng-keypress="$event.which === 13 && ctrl.search()"  />\n                <div ng-messages="form.postCode.$error">\n                    <small class="form-suggestion form-error" ng-message="required">Please include your postcode<\/small>\n                    <small class="form-suggestion form-error" ng-message="postCode">Please include a valid postcode<\/small>\n                <\/div>\n            <\/div>\n\n            <button type="button" class="button button-secondary" ng-click="ctrl.search()" ng-disabled="form.$invalid" ladda="ctrl.isSearching">Search<\/button>\n\n            <p class="l-margin-top">\n                I\'d like to <a ng-click="ctrl.setState(\'manual\')">fill in my address manually<\/a>\n            <\/p>\n        <\/div>\n        <div ng-switch-when="choose">\n            <div class="form-group">\n                <label for="selected-address">Select an address<\/label>\n                <select id="selected-address" name="selectedAddress" size="5" class="form-control"\n                        ng-dblclick="ctrl.select()"\n                        ng-model="ctrl.selectedAddress"\n                        ng-options="address.summary for address in ctrl.addresses" required><\/select>\n            <\/div>\n\n            <button type="button" class="button button-tertiary" ng-click="ctrl.setState(\'search\')">Back<\/button>\n            <button type="button" class="button button-secondary" ng-click="ctrl.select()" ng-disabled="form.$invalid">Use selected address<\/button>\n        <\/div>\n        <div ng-switch-when="manual">\n            <div class="form-group">\n                <label for="address-line-1" class="form-label">Address Line 1<\/label>\n                <input type="text" id="address-line-1" name="addressLine1" class="form-control" ng-model="ctrl.address.addressLine1" ng-maxlength="50" required/>\n                <div ng-messages="form.addressLine1.$error">\n                    <small class="form-suggestion form-error" ng-message="required">Please include the first line of your address<\/small>\n                    <small class="form-suggestion form-error" ng-message="maxlength">Please enter at most 50 characters<\/small>\n                <\/div>\n            <\/div>\n            <div class="form-group">\n                <label for="address-line-2" class="form-label">Address Line 2<\/label>\n                <input type="text" id="address-line-2" name="addressLine2" class="form-control" ng-model="ctrl.address.addressLine2" ng-maxlength="50"/>\n\n                <div ng-messages="form.addressLine2.$error">\n                    <small class="form-suggestion form-error" ng-message="maxlength">Please enter at most 50 characters<\/small>\n                <\/div>\n            <\/div>\n            <div class="form-group">\n                <label for="town" class="form-label">Town/City<\/label>\n                <input type="text" id="town" name="town" class="form-control" ng-model="ctrl.address.town" ng-maxlength="25" required />\n                <div ng-messages="form.town.$error">\n                    <small class="form-suggestion form-error" ng-message="required">Please include your town or city<\/small>\n                    <small class="form-suggestion form-error" ng-message="maxlength">Please enter at most 25 characters<\/small>\n                <\/div>\n            <\/div>\n            <div class="form-group">\n                <label for="post-code" class="form-label">Postcode<\/label>\n                <input type="text" id="post-code" name="postCode" class="form-control" ng-model="ctrl.address.postCode" required post-code />\n                <div ng-messages="form.postCode.$error">\n                    <small class="form-suggestion form-error" ng-message="required">Please include your postcode<\/small>\n                    <small class="form-suggestion form-error" ng-message="postCode">Please include a valid postcode<\/small>\n                <\/div>\n            <\/div>\n\n            <button type="button" class="button button-secondary" ng-click="ctrl.save()" ng-disabled="form.$invalid">Done<\/button>\n        <\/div>\n        <div ng-switch-default>\n            <address>\n                <span ng-bind="ctrl.address.addressLine1"><\/span><br />\n                <span ng-bind="ctrl.address.addressLine2"><\/span><br />\n                <span ng-bind="ctrl.address.town"><\/span><br />\n                <span ng-bind="ctrl.address.postCode"><\/span>\n            <\/address>\n\n            <button type="button" class="button button-tertiary" ng-click="ctrl.setState(\'search\')">Edit<\/button>\n        <\/div>\n    <\/fieldset>\n<\/ng-form>');n.put("/templates/create/finalise.html",'<div ladda="true" data-spinner-color="#000" data-spinner-size="100" style="height: 400px"><\/div>\n');n.put("/templates/create/index.html",'<div class="l-bucket">\n    <ol class="steptracker">\n        <li class="steptracker-step steptracker-is-current"><h1 class="steptracker-heading">Create Page<\/h1><\/li>\n        <li class="steptracker-step">Add the Details<\/li>\n        <li class="steptracker-step">Preview Your Page<\/li>\n    <\/ol>\n    <form novalidate name="create" class="form" ng-submit="create.$valid && !ctrl.saveInProgress && ctrl.create(ctrl.page)" autofocus-invalid\n          change-tracker track-category="JG Local project creation" track-action-name="Entered info" track-label-prefix="Project-create:">\n        <h2 class="form-heading">Sum up your story<\/h2>\n        <page-lead page="ctrl.page" categories="ctrl.categories"><\/page-lead>\n\n        <div class="l-spaced-top l-spaced-bottom">\n            <button type="submit" ladda="ctrl.saveInProgress" class="button button-secondary button-big">Continue<\/button>\n        <\/div>\n    <\/form>\n<\/div>\n');n.put("/templates/date-input/date-input.html",'<div class="form-control-composite date-input">\n    <input type="number" placeholder="DD" class="form-control date-input-short-field" ng-model="date" maxlength="2" min="1" max="31" />\n    <input type="number" placeholder="MM" class="form-control date-input-short-field" ng-model="month" maxlength="2" min="1" max="12" />\n    <input type="number" placeholder="YYYY" class="form-control date-input-long-field" ng-model="year" maxlength="4" min="1900" max="2100" />\n<\/div>');n.put("/templates/dialogs/active-share.html",'<dialog class="dialog">\n    <button class="dialog-close" ng-click="ctrl.close()">Close<\/button>\n\n    <h1>Share your page to start the 30 days of fundraising<\/h1>\n    <section>\n        <p class="l-margin-bottom">To kickstart your fundraising, share your page with as many people as possible.<\/p>\n\n        <ul class="social-list">\n            <li class="social-action">\n                <button class="button button-social button-facebook" ng-click="ctrl.shareOnFacebook()">Facebook<\/button>\n            <\/li>\n            <li class="social-action">\n                <button class="button button-social button-twitter" ng-click="ctrl.shareOnTwitter()">Twitter<\/button>\n            <\/li>\n            <li class="social-action">\n                <button class="button button-social button-email" ng-click="ctrl.shareWithEmail()">Email<\/button>\n            <\/li>\n        <\/ul>\n\n        <p class="l-margin-top">\n            The web address of your fundraising page is:\n            <a href="{{ctrl.page.socialShareUrl}}" target="_blank">{{ctrl.page.socialShareUrl}}<\/a>\n        <\/p>\n    <\/section>\n<\/dialog>');n.put("/templates/dialogs/active-update.html",'<dialog class="dialog">\n    <button class="dialog-close" ng-click="ctrl.close()">Close<\/button>\n\n    <h1 class="dialog-heading">Did you know&hellip;<\/h1>\n    <p class="dialog-impact">Sharing your updates helps raise more for your cause?<\/p>\n\n    <h2 class="dialog-subheading">Posted Today<\/h2>\n    <p><q class="dialog-quote">{{ctrl.message}}<\/q><\/p>\n    <menu class="dialog-menu">\n        <button class="button button-big button-wide button-facebook-large" ng-click="ctrl.shareOnFacebook()" ladda="ctrl.isPosting()">Share on Facebook<\/button>\n    <\/menu>\n<\/dialog>');n.put("/templates/dialogs/submitted-thankyoumessage.html",'<dialog class="dialog">\n    <form class="form form-stacked form-thankyoumessage">\n        <label for="message" class="form-label">Thank you message<\/label>\n        <p class="form-help form-help-inline">Write a message for your supporters to let them know how great you think they are!<\/p>\n\n        <div class="relative">\n            <textarea id="message" ng-model="ctrl.page.thankYou" class="form-control" maxlength="500" rows="4" required><\/textarea>\n            <char-counter text="ctrl.page.thankYou" max-length="500"><\/char-counter>\n        <\/div>\n\n        <div class="pure-g">\n            <div class="pure-u-1 pure-u-md-2-5 l-spaced-top float-r l-spaced-left-md"><button class="button button-secondary button-wide" ladda="ctrl.updateInProgress()" ng-click="ctrl.submit(ctrl.page)">Save and close<\/button><\/div>\n            <div class="pure-u-1 pure-u-md-2-5 l-spaced-top float-r"><button class="button button-tertiary button-wide" ng-disabled="ctrl.updateInProgress()" ng-click="ctrl.close()">Cancel<\/button><\/div>\n        <\/div>\n    <\/form>\n<\/dialog>');n.put("/templates/error/404.html",'<section class="errors">\n    <object class="errors-404" data="../../Content/images/errors-404.svg" type="image/svg+xml"><\/object>\n    <h1 class="errors-heading">We\'re really sorry but we can\'t find the page you were looking for.<\/h1>\n    <p class="errors-body">This probably means that it has moved to a new location, or has been removed from the site. There is also a tiny possibility that you might have mistyped something so please check and have another go, or use the search function to find what you are looking for.<\/p>\n    <p class="errors-body">Don\'t forget to follow @JGhelp on Twitter for regular updates. If you\'d like to get in touch, please email us at help@justgiving.com<\/p>\n<\/section>');n.put("/templates/error/500.html",'<section class="errors">\n    <object class="errors-500" data="../../Content/images/errors-500.svg" type="image/svg+xml"><\/object>\n    <h1 class="errors-heading">We\'re really sorry but we can\'t find the page you were looking for.<\/h1>\n    <p class="errors-body">This probably means that it has moved to a new location, or has been removed from the site. There is also a tiny possibility that you might have mistyped something so please check and have another go, or use the search function to find what you are looking for.<\/p>\n    <p class="errors-body">Don\'t forget to follow @JGhelp on Twitter for regular updates. If you\'d like to get in touch, please email us at help@justgiving.com<\/p>\n<\/section>');n.put("/templates/fb-comments/fb-comments.html",'<style scoped>\n    .fb_iframe_widget,\n    .fb_iframe_widget span,\n    .fb_iframe_widget iframe[style] {\n        width: 100% !important;\n    }\n<\/style>\n<div ng-if="!preview()" class="fb-comments" data-href="{{url()}}" data-numposts="3" data-width="100%"><\/div>\n<div ng-if="preview()" class="fbcommentspreview">\n    <div class="fbcommentspreview-left"><\/div>\n    <div class="fbcommentspreview-middle"><\/div>\n    <div class="fbcommentspreview-right"><\/div>\n<\/div>');n.put("/templates/home/index-v2.html",'<main>\n    <section class="home">\n        <div class="container home-hero">\n            <h1 class="home-heading image image-brand">JustGiving Crowdfunding<\/h1>\n            <p class="home-strapline">Raise money to make good things happen<\/p>\n            <p>With JustGiving Crowdfunding, anyone can raise money to fund their own project. If it benefits a friend in need, or a local or overseas community, JustGiving Crowdfunding can help you make it happen.<\/p>\n            <a class="button button-primary button-big">Get started<\/a>\n        <\/div>\n    <\/section>\n    <section class="home">\n        <div class="container">\n            <h1 class="home-heading">Stories we love<\/h1>\n        <\/div>\n        <ul class="carousel">\n            <li class="carousel-item">\n                <article class="card">\n                    <img src="" class="card-image" alt="Sarah Heaton"/>\n                    <div class="card-body">\n                        <h1 class="card-name">Sarah Heaton<\/h1>\n                        <address class="card-address">Uganda<\/address>\n                        <p>Raised £474 to provide 110 mosquito nets to students at the Wells of Hope Academy in Uganda<\/p>\n                    <\/div>\n                    <div class="card-footer cf">\n                        <a class="image image-info">More Information<\/a>\n                        <dl class="card-amount">\n                            <dt class="card-amountlabel">Amount raised<\/dt>\n                            <dd class="card-amountvalue">£474<\/dd>\n                        <\/dl>\n                    <\/div>\n                <\/article>\n            <\/li>\n            <li class="carousel-item">\n                <article class="card">\n                    <img src="" class="card-image" alt="Sarah Heaton"/>\n                    <div class="card-body">\n                        <h1 class="card-name">Sarah Heaton<\/h1>\n                        <address class="card-address">Uganda<\/address>\n                        <p>Raised £474 to provide 110 mosquito nets to students at the Wells of Hope Academy in Uganda<\/p>\n                    <\/div>\n                    <div class="card-footer cf">\n                        <a class="image image-info">More Information<\/a>\n                        <dl class="card-amount">\n                            <dt class="card-amountlabel">Amount raised<\/dt>\n                            <dd class="card-amountvalue">£474<\/dd>\n                        <\/dl>\n                    <\/div>\n                <\/article>\n            <\/li>\n            <li class="carousel-item">\n                <article class="card">\n                    <img src="" class="card-image" alt="Sarah Heaton"/>\n                    <div class="card-body">\n                        <h1 class="card-name">Sarah Heaton<\/h1>\n                        <address class="card-address">Uganda<\/address>\n                        <p>Raised £474 to provide 110 mosquito nets to students at the Wells of Hope Academy in Uganda<\/p>\n                    <\/div>\n                    <div class="card-footer cf">\n                        <a class="image image-info">More Information<\/a>\n                        <dl class="card-amount">\n                            <dt class="card-amountlabel">Amount raised<\/dt>\n                            <dd class="card-amountvalue">£474<\/dd>\n                        <\/dl>\n                    <\/div>\n                <\/article>\n            <\/li>\n        <\/ul>\n    <\/section>\n    <section class="home">\n        <div class="container">\n            <h1 class="home-heading">How it works<\/h1>\n        <\/div>\n        <article class="home-point home-point-create">\n            <div class="container">\n                <h1>Create<\/h1>\n                <p>Make a Crowdfunding Page in minutes.<\/p>\n                <p>Tell your story and share it with the world.<\/p>\n            <\/div>\n        <\/article>\n        <article class="home-point home-point-review">\n            <h1>Review<\/h1>\n            <p>We\'ll check your details to make sure everything\'s in order.<\/p>\n            <p>Then, you can start raising money.<\/p>\n        <\/article>\n        <article class="home-point home-point-raise">\n            <h1>Raise<\/h1>\n            <p>You have 30 days to hit your target.<\/p>\n            <p>If you succeed, you\'ll receive the funds you raised.*<\/p>\n            <small>*minus our 5% fee on pledges and card charges of 1.3% or 16p per pledge.<\/small>\n        <\/article>\n    <\/section>\n    <section class="home">\n        <div class="container">\n            <h1 class="home-heading">Why use JustGiving Crowdfunding?<\/h1>\n            <article class="home-point">\n                <h1>It\'s easy<\/h1>\n                <p>It\'s easy to set up a Crowdfunding Page and tell your story, and it\'s easy for your supporters to pledge their support.<\/p>\n                <p>Did we mention that it\'s easy?<\/p>\n            <\/article>\n            <article class="home-point">\n                <h1>It\'s safe<\/h1>\n                <p>We\'ve been helping people raise money online since 2001.<\/p>\n                <p>Millions of people trust us to get their money straight to good causes, so you\'re in safe hands.<\/p>\n            <\/article>\n            <article class="home-point">\n                <h1>It\'s fast<\/h1>\n                <p>You have thirty days to reach your target. That means you can run a really focussed campaign to make it happen.<\/p>\n            <\/article>\n        <\/div>\n    <\/section>\n<\/main>');n.put("/templates/home/index.html",'<main>\n    <section class="home home-hero">\n        <div class="l-container l-gutter">\n            <h1 class="home-heading home-heading-brand image image-brand">JustGiving Crowdfunding<\/h1>\n            <p class="home-strapline">Raise money to make good things happen<\/p>\n            <p class="home-hero-body">With JustGiving Crowdfunding, anyone can raise money to fund their own cause. If it benefits a friend in need, or a local or overseas community, JustGiving Crowdfunding can help you make it happen.<\/p>\n            <a class="button button-primary button-big" ui-sref="create.index">Get started<\/a>\n        <\/div>\n\n        <div class="l-container home-caption">\n            <img class="home-caption-avatar" src="../../Content/images/case-avatar-aberry.png" srcset="../../Content/images/case-avatar-aberry@2x.png 2x" alt="Alison Berry" />\n            <p class="home-caption-body">Alison Berry raised over £300 for the Frome U15 Girls\' Football Team, to replace their worn out team kit.<\/p>\n        <\/div>\n    <\/section>\n    <nav class="nav nav-sticky" jg-sticky>\n        <div>\n            <ul class="pure-g nav-list container">\n                <li class="pure-u-1-3"><a href="#how" du-scrollspy="how" offset="90px" du-smooth-scroll>How it works<\/a><\/li>\n                <li class="pure-u-1-3"><a href="#love" du-scrollspy="love" offset="90px" du-smooth-scroll>Stories we love<\/a><\/li>\n                <li class="pure-u-1-3"><a href="#why" du-scrollspy="why" offset="90px" du-smooth-scroll>Why Crowdfunding<\/a><\/li>\n            <\/ul>\n        <\/div>\n    <\/nav>\n    <section class="home">\n        <div class="container l-gutter" id="how">\n            <header>\n                <h1 class="home-heading">How it works<\/h1>\n                <p class="home-heading home-heading-byline">Three easy steps to set up a Crowdfunding Page<\/p>\n            <\/header>\n            <ol class="pure-g home-body">\n                <li class="pure-u-1 pure-u-md-1-3 home-point home-point-create">\n                    <h1>Create<\/h1>\n                    <p>Make a Crowdfunding Page in minutes. Tell your story and share it with the world.<\/p>\n                    <p><small><a href="https://d2xcq4qphg1ge9.cloudfront.net/assets/291731/2830422/original_crowdfunding-toolkit-v3.pdf" target="blank">Read our guide to making the perfect Crowdfunding Page<\/a><\/small><\/p>\n                <\/li>\n                <li class="pure-u-1 pure-u-md-1-3 home-point home-point-review">\n                    <h1>Review<\/h1>\n                    <p>We\'ll check your details to make sure everything\'s in order. Then, you can start raising money.<\/p>\n                <\/li>\n                <li class="pure-u-1 pure-u-md-1-3 home-point home-point-raise">\n                    <h1>Raise<\/h1>\n                    <p>You have 30 days to get out there and raise money! Then we\'ll send you the funds you raised*, even if you don\'t hit your original target.<\/p>\n                    <small>*minus our 5% fee on pledges and card charges of 1.3% or 16p per pledge.<\/small>\n                <\/li>\n            <\/ol>\n            <div class="l-spaced home-body text-center">\n                <a href="#faq" du-scrollspy="faq" offset="90px" du-smooth-scroll>See our frequently asked questions<\/a>\n            <\/div>\n        <\/div>\n    <\/section>\n    <section class="home home-alt" id="love">\n        <header>\n            <h1 class="home-heading">Stories we love<\/h1>\n            <p class="home-heading home-heading-byline">Inspiring stories from Crowdfunding Pages<\/p>\n        <\/header>\n        <div class="l-container">\n            <carousel class="carousel">\n                <ul class="carousel-viewport">\n                    <li class="carousel-item">\n                        <figure class="case">\n                            <img src="../../Content/images/case-sarah-heaton.jpg" alt="Sarah Heaton" class="case-image" />\n                            <figcaption class="case-info">\n                                <div class="case-info-body">\n                                    <img class="case-avatar" src="../../Content/images/case-avatar-sarah-heaton.png" srcset="../../Content/images/case-avatar-sarah-heaton@2x.png 2x" alt="Sarah Heaton" />\n                                    <p>Sarah raised £474 to provide 110 mosquito nets to students at the Wells of Hope Academy in Uganda.<\/p>\n                                    <p><a href="https://crowdfunding.justgiving.com/WOHmosquitonets">Read Sarah\'s story<\/a><\/p>\n                                <\/div>\n                            <\/figcaption>\n                        <\/figure>\n                    <\/li>\n                    <li class="carousel-item">\n                        <figure class="case">\n                            <img src="../../Content/images/case-jess-huxley.jpg" alt="Sarah Heaton" class="case-image" />\n                            <figcaption class="case-info">\n                                <div class="case-info-body">\n                                    <img class="case-avatar" src="../../Content/images/case-avatar-jess-huxley.png" srcset="../../Content/images/case-avatar-jess-huxley@2x.png 2x" alt="Jess Huxley" />\n                                    <p>Jess raised £1,908 to buy two public access defibrillators for the primary school and village hall in Inkberrow.<\/p>\n                                    <p><a href="https://crowdfunding.justgiving.com/help-a-heart">Read Jess\'s story<\/a><\/p>\n                                <\/div>\n                            <\/figcaption>\n                        <\/figure>\n                    <\/li>\n                    <li class="carousel-item">\n                        <figure class="case">\n                            <img src="../../Content/images/case-lola.jpg" alt="Sarah Heaton" class="case-image" />\n                            <figcaption class="case-info">\n                                <div class="case-info-body">\n                                    <img class="case-avatar" src="../../Content/images/case-avatar-lola.png" srcset="../../Content/images/case-avatar-lola@2x.png 2x" alt="Chantell" />\n                                    <p>Chantell raised £1,780 to fund surgery for her French bulldog, Lola, helping her walk upright for the first time.<\/p>\n                                    <p><a href="https://crowdfunding.justgiving.com/lolaslegs">Read Chantell\'s story<\/a><\/p>\n                                <\/div>\n                            <\/figcaption>\n                        <\/figure>\n                    <\/li>\n                <\/ul>\n            <\/carousel>\n        <\/div>\n    <\/section>\n    <section class="home" id="why">\n        <h1 class="home-heading">Why use JustGiving Crowdfunding?<\/h1>\n        <div class="container pure-g l-gutter">\n            <article class="pure-u-1 pure-u-md-1-3 home-point home-point-constrained home-point-easy">\n                <h1>It\'s easy<\/h1>\n                <p>Set up a Page quickly and easily, then spread the word via email and social media.<\/p>\n            <\/article>\n            <article class="pure-u-1 pure-u-md-1-3 home-point home-point-constrained home-point-safe">\n                <h1>It\'s safe<\/h1>\n                <p>We\'ve been helping people raise money online since 2001. Millions of fundraisers trust us to get their money straight to good causes.<\/p>\n            <\/article>\n            <article class="pure-u-1 pure-u-md-1-3 home-point home-point-constrained home-point-works">\n                <h1>It works<\/h1>\n                <p>Your friends can support you in just a few clicks, meaning you\'ll raise more money to make good things happen.<\/p>\n            <\/article>\n            <article class="pure-u-1 pure-u-md-1-3 home-fact">\n                <p><span class="home-impact">5,600<\/span> Pages<\/p>\n            <\/article>\n            <article class="pure-u-1 pure-u-md-1-3 home-fact">\n                <p><span class="home-impact">£3.2 million<\/span> pledged<\/p>\n            <\/article>\n            <article class="pure-u-1 pure-u-md-1-3 home-fact">\n                <p><span class="home-impact">100,000<\/span> users<\/p>\n            <\/article>\n        <\/div>\n    <\/section>\n\n    <section class="home home-alt" id="faq">\n        <h1 class="home-heading">Frequently asked questions<\/h1>\n        <div class="l-container pure-g l-gutter home-faq">\n            <article class="pure-u-1 pure-u-lg-1-4 home-faq-item">\n                <h1 class="home-faq-heading">What happens if I don’t hit my target?<\/h1>\n                <p>If you don\'t hit your target you\'ll still receive any funds you raised, so you can still make good things happen! If you raise less than you intended you\'ll just have to rethink the scope of your project, or find a way to raise the additional money you need.<\/p>\n            <\/article>\n            <article class="pure-u-1 pure-u-lg-1-4 home-faq-item">\n                <h1 class="home-faq-heading">Can I raise more than my target?<\/h1>\n                <p>Of course! We’ll send all the funds raised to you at the end of the 30 days (minus our 5% and processing fees). On average, people who hit their target do so after just six days, which leaves plenty of time to raise as much as possible.<\/p>\n            <\/article>\n            <article class="pure-u-1 pure-u-lg-1-4 home-faq-item">\n                <h1 class="home-faq-heading">What can I raise money for?<\/h1>\n                <p>In short, anything that has a positive impact on individuals, communities and the environment. Most people use JustGiving Crowdfunding to help a friend in need. Not sure if it’s for you? <a href="https://help.justgiving.com/hc/en-us/articles/202895531" target="blank">Read our guidelines<\/a>.<\/p>\n            <\/article>\n            <article class="pure-u-1 pure-u-lg-1-4 home-faq-item">\n                <h1 class="home-faq-heading">Why the 30 day limit?<\/h1>\n                <p>A time limit adds urgency to your campaign, meaning more people will pledge. Crowdfunding Pages usually raise most at the start and end of the campaign, so a time limit keeps up the momentum. Need a bit longer? <a href="https://help.justgiving.com/hc/en-us/requests/new?ticket_form_id=5342" target="blank">Contact us<\/a> and we\'ll see if we can help.<\/p>\n            <\/article>\n        <\/div>\n        <div class="home-faq-accordion">\n            <accordion>\n                <accordion-panel title="What happens if I don’t hit my target?">\n                    <p>Provided that you\'ve raised over £200, you\'ll receive any funds pledged to you at the end of your 30 days of Crowdfunding, even if you don’t hit your original target.  Most people do reach their target (especially if they read our <a href="https://help.justgiving.com/hc/en-us/articles/201200042-Crowdfunding-hints-and-tips" target="blank">crowdfunding tips<\/a>!) but it’s important to be realistic in what you’re aiming for.<\/p>\n                <\/accordion-panel>\n                <accordion-panel id="StoryCare" title="Can I raise more than my target?">\n                    <p>Of course! We’ll send all the funds raised to you at the end of the 30 days (minus our 5% and processing fees). On average, people who hit their target do so after just six days, which leaves plenty of time to raise as much as possible.<\/p>\n                <\/accordion-panel>\n                <accordion-panel id="StoryMoney" title="What can I raise money for?">\n                    <p>In short, anything that has a positive impact on individuals, communities and the environment. Most people use JustGiving Crowdfunding to help a friend in need. Not sure if it’s for you? <a href="https://help.justgiving.com/hc/en-us/articles/202895531" target="blank">Read our guidelines<\/a>.<\/p>\n                <\/accordion-panel>\n                <accordion-panel id="StoryDeadline" title="Why the 30 day limit?">\n                    <p>A time limit adds urgency to your campaign, meaning more people will pledge. Crowdfunding Pages usually raise most at the start and end of the campaign, so a time limit keeps up the momentum. Need a bit longer? <a href="https://help.justgiving.com/hc/en-us/requests/new?ticket_form_id=5342" target="blank">Contact us<\/a> and we\'ll see if we can help.<\/p>\n                <\/accordion-panel>\n            <\/accordion>\n        <\/div>\n    <\/section>\n\n    <section class="l-container home">\n        <p class="home-heading">Crowdfunding for Companies<\/p>\n        <div class="l-spaced home-body text-center">\n            <p>Want to use JustGiving Crowdfunding to do good things at work? Let\'s talk about how your organisation could raise money to do amazing things in your local community. Send an email to <strong>companysupport@justgiving.com<\/strong> and we\'ll be in touch.<\/p>\n            <p>Have a look at what our company partners are already doing<\/p>\n            <ul class="home-companies cf">\n                <li class="home-company">\n                    <a href="http://about.justgiving.com/content/make-happeners-2014"><img src="content/images/ikano.png" srcset="content/images/ikano@2x.png 2x" alt="IKANO Bank"/><\/a>\n                <\/li>\n                <li class="home-company">\n                    <a href="http://about.justgiving.com/content/coffeecrowd-2014"><img src="content/images/harrishoole.png" srcset="content/images/harrishoole@2x.png 2x" alt="Harris + Hoole" /><\/a>\n                <\/li>\n            <\/ul>\n            <div class="l-spaced home-body text-center">\n                <a href="http://about.justgiving.com/company-fundraising">Learn more about JustGiving for Companies<\/a>\n            <\/div>\n        <\/div>\n    <\/section>\n    \n    <section class="home home-alt text-center l-leading">\n        <p class="home-heading">Ready to make good things happen?<\/p>\n        <div class="l-spaced home-action">\n            <a class="button button-primary" ui-sref="create.index">Start fundraising<\/a>\n        <\/div>\n    <\/section>\n<\/main>\n');n.put("/templates/image-cropper/image-cropper.html",'<div ng-if="loading">\n    <div ladda="true" data-spinner-color="#000" data-spinner-size="100" style="height: 400px"><\/div>\n<\/div>\n<div class="image-cropper">\n    <div class="l-spaced-bottom">\n        Reposition the image within the frame and adjust the zoom level to get the crop that you want\n    <\/div>\n    <div class="image-cropper-container"><\/div>\n    <div class="image-cropper-zoom">\n        <div class="image-cropper-zoom-button image-cropper-zoom-button-minus">\n            <button class="button button-icon button-icon-minus" type="button" ng-click="zoomOut()">-<\/button>\n        <\/div>\n        <div class="image-cropper-zoom-slider">\n            <input type="range" value="1" min="1" max="10" step="0.1" ng-change="zoomLevelChanged(zoom.level)" ng-model="zoom.level" />\n        <\/div>\n        <div class="image-cropper-zoom-button image-cropper-zoom-button-plus">\n            <button class="button button-icon button-icon-plus" type="button" ng-click="zoomIn()">+<\/button>\n        <\/div>\n    <\/div>\n<\/div>\n');n.put("/templates/page/activate.html",'<div class="container l-bucket">\n    <section class="form form-support">\n        <h2 class="form-heading">Congratulations! You have been approved<\/h2>\n        <p class="form-help">As soon as you activate your Page you\'ll have 30 days to reach your target, so share it with your friends and start crowdfunding!<\/p>\n\n        <div class="l-spaced-top">\n            <a class="button button-tertiary button-big" ui-sref="page.edit">Edit Page<\/a>\n            <button class="button button-secondary button-big" ladda="ctrl.activationInProgress" ng-disabled="ctrl.activationInProgress" ng-click="ctrl.activate()">Activate your Page<\/button>\n        <\/div>\n    <\/section>\n<\/div>');n.put("/templates/page/active-status.html",'<div class="status pure-g l-gutter">\n    <div class="status-action pure-u-7-12">\n        <a ng-href="{{page.pledgeUrl}}" track-click track-event-name="PLEDGE_CLICKED" track-args="{ pageId: page.id, pageName: page.name, source: \'main\' }" class="button button-donate button-big button-wide button-hidden button-visible-md">Pledge<\/a>\n    <\/div>\n    <div class="status-share pure-u-5-12 l-spaced-left">\n        <button ng-click="ctrl.shareOnFacebook(\'top\')" ng-disabled="!ctrl.shareEnabled()" class="button button-facebook-large button-big button-wide button-hidden button-visible-md">Share<\/button>\n    <\/div>\n<\/div>\n');n.put("/templates/page/active.html",'<div class="container l-bucket">\n    <section class="form form-support">\n        <h2 class="form-heading">Happy days! Your Page is active and ready to receive pledges<\/h2>\n        <p class="form-help">Crowdfunding only works if there\'s a crowd, so let everyone know how they can support you.<\/p>\n        <p class="form-help">Not sure where to start? <a href="https://help.justgiving.com/hc/en-us/articles/201200042-Crowdfunding-hints-and-tips" target="_blank">Check out our guide<\/a>.<\/p>\n        <div class="l-spaced-top">\n            <a class="button button-tertiary button-big" ui-sref="page.edit">Edit Page<\/a>\n        <\/div>\n    <\/section>\n<\/div>');n.put("/templates/page/complete.html",'<section class="container l-bucket">\n    <form name="report" class="form form-support" ng-submit="report.$valid && !ctrl.saveInProgress && ctrl.submit(page)">\n        <input name="projectId" ng-model="page.projectId" type="hidden" />\n        <input name="id" ng-model="page.projectId" type="hidden" />\n        <input name="name" ng-model="page.name" type="hidden" />\n        <h2 class="form-heading">Thank your supporters<\/h2>\n        <p class="form-help">Let your supporters know what their pledges will do. Write a thank you message and upload a picture, then we\'ll send an email to everyone who supported you.<\/p>\n\n        <h2 class="form-heading">Upload a final picture<\/h2>\n        <fieldset class="panel panel-minimal form-stacked">\n            <img ng-src="{{ctrl.imageUrl}}" ng-if="ctrl.imageUrl" class="form-preview-image" alt="Page completion image" />\n            <input name="completeImage" type="hidden" ng-model="page.completeImage" required />\n            <button class="button button-secondary button-wide" ngf-select ngf-change="ctrl.upload($files)">Choose a picture<\/button>\n\n            <div ng-messages="report.completeImage.$error" ng-if="report.$submitted && !ctrl.uploadErrors.any">\n                <small class="form-suggestion form-error" ng-message="required">Please upload an image<\/small>\n            <\/div>\n            <div ng-messages="ctrl.uploadErrors">\n                <small class="form-suggestion form-error" ng-message="type">Please upload an image<\/small>\n                <small class="form-suggestion form-error" ng-message="size">Please upload an image smaller than 4MB<\/small>\n            <\/div>\n        <\/fieldset>\n\n        <div class="l-leading">\n            <h2 class="form-heading">Write your thank you message<\/h2>\n            <fieldset class="panel panel-minimal form-stacked">\n                <label for="reportText" class="form-label">Tell supporters how they\'ve helped you make a difference<\/label>\n\n                <div class="relative">\n                    <textarea id="reportText" name="reportText" rows="4" class="form-control" ng-model="page.report" required maxlength="1000"><\/textarea>\n                    <char-counter text="page.report" max-length="1000"><\/char-counter>\n                <\/div>\n\n                <div ng-messages="report.reportText.$error" ng-if="report.reportText.$touched || report.$submitted">\n                    <small class="form-suggestion form-error" ng-message="maxlength">Please limit your answer in 1000 characters maximum<\/small>\n                    <small class="form-suggestion form-error" ng-message="required">Please explain how your supporters helped you make a difference<\/small>\n                <\/div>\n            <\/fieldset>\n        <\/div>\n\n        <div class="l-spaced-top">\n            <button type="submit" ladda="ctrl.saveInProgress" class="button button-secondary button-big">Continue<\/button>\n        <\/div>\n    <\/form>\n<\/section>');n.put("/templates/page/declined.html",'<div class="container l-bucket">\n    <section class="form form-support">\n        <h2 class="form-heading">Your page has been declined!<\/h2>\n        <p class="form-help">Sorry about that. How about you support another project near you?<\/p>\n        <div class="l-spaced-top">\n            <a class="button button-primary button-big" ui-sref="page.submit">Find a project<\/a>\n        <\/div>\n    <\/section>\n<\/div>');n.put("/templates/page/detail.html",'<div class="l-bucket">\n    <ol class="steptracker">\n        <li class="steptracker-step steptracker-is-complete">Create Page<\/li>\n        <li class="steptracker-step steptracker-is-current"><h1 class="steptracker-heading">Add the Details<\/h1><\/li>\n        <li class="steptracker-step">Preview Your Page<\/li>\n    <\/ol>\n    <form novalidate name="create" class="form" ng-submit="create.$valid && !ctrl.saveInProgress && ctrl.save(ctrl.page)" autofocus-invalid\n          change-tracker track-category="JG Local project creation" track-action-name="Entered info" track-label-prefix="Project-create:">\n        <div class="l-leading">\n            <h2 class="form-heading">Sum up your story<\/h2>\n            <p ng-hide="ctrl.isEditing">We\'re raising {{ctrl.page.targetAmount|currency:"£":0}} to {{ctrl.page.pitchFor}} because {{ctrl.page.pitchBecause}} <a ng-click="ctrl.edit()">(edit)<\/a><\/p>\n            <page-lead page="ctrl.page" categories="ctrl.categories" ng-show="ctrl.isEditing"><\/page-lead>\n        <\/div>\n\n        <div class="l-leading">\n            <h2 class="form-heading">Upload a picture<\/h2>\n            <page-image page="ctrl.page"><\/page-image>\n        <\/div>\n\n        <div class="l-leading">\n            <h2 class="form-heading">Add a location<\/h2>\n            <page-location page="ctrl.page"><\/page-location>\n        <\/div>\n\n        <div class="l-leading">\n            <h2 class="form-heading">Tell supporters your story<\/h2>\n            <page-story page="ctrl.page"><\/page-story>\n        <\/div>\n\n        <div class="l-leading">\n            <h2 class="form-heading">Tell supporters about yourself<\/h2>\n            <page-owner page="ctrl.page"><\/page-owner>\n        <\/div>\n\n        <div class="l-leading">\n            <button type="button" class="button button-tertiary button-big" ng-click="ctrl.back()">Back<\/button>\n            <button type="submit" ladda="ctrl.saveInProgress" class="button button-secondary button-big">Preview your Page<\/button>\n        <\/div>\n    <\/form>\n<\/div>\n');n.put("/templates/page/edit.html",'<div class="l-bucket">\n    <form novalidate name="create" class="form" ng-submit="create.$valid && !ctrl.saveInProgress && ctrl.create(ctrl.page)" autofocus-invalid\n          change-tracker track-category="JG Local project creation" track-action-name="Entered info" track-label-prefix="Project-edit:">\n        <h2 class="form-heading">Sum up your story<\/h2>\n        <page-lead page="ctrl.page" categories="ctrl.categories"><\/page-lead>\n\n        <h2 class="form-heading">Upload a picture<\/h2>\n        <page-image page="ctrl.page"><\/page-image>\n\n        <h2 class="form-heading">Add a location<\/h2>\n        <page-location page="ctrl.page"><\/page-location>\n\n        <h2 class="form-heading">Tell supporters your story<\/h2>\n        <page-story page="ctrl.page"><\/page-story>\n\n        <h2 class="form-heading">Tell supporters about yourself<\/h2>\n        <page-owner page="ctrl.page"><\/page-owner>\n\n        <div class="l-spaced-top l-spaced-bottom">\n            <a ui-sref="page" ui-sref-opts="{reload:true}" class="button button-tertiary button-big">Cancel<\/a>\n            <button type="submit" ladda="ctrl.saveInProgress" class="button button-secondary button-big">Save your Page<\/button>\n        <\/div>\n    <\/form>\n<\/div>');n.put("/templates/page/funded-status.html",'<div class="status pure-g l-gutter">\n    <div class="status-action pure-u-7-12">\n        <a ng-href="{{page.pledgeUrl}}" ng-disabled class="button button-disabled button-donate button-big button-wide button-hidden button-visible-md">Page closed<\/a>\n    <\/div>\n    <div class="status-share pure-u-5-12 l-spaced-left">\n        <button ng-click="ctrl.shareOnFacebook(\'top\')" ng-disabled="!ctrl.shareEnabled()" class="button button-facebook-large button-big button-wide button-hidden button-visible-md">Share<\/button>\n    <\/div>\n<\/div>');n.put("/templates/page/funded.html",'<div class="container l-bucket">\n    <section class="form form-support">\n        <h2 class="form-heading">You\'ve hit your target!<\/h2>\n        <p class="form-help">Nice one. We\'re collecting the funds pledged and will be sending them to you minus our 5% fee and processing costs (1.3% credit card, 17p debit card).<\/p>\n        <p class="form-help">Now is the time to thank everyone that helped get you here.<\/p>\n        <div class="l-spaced-top">\n            <a class="button button-secondary button-big" ui-sref="page.complete">Say thank you<\/a>\n        <\/div>\n    <\/section>\n<\/div>');n.put("/templates/page/index.html",'<crowdfunding-page page="ctrl.page" owner="ctrl.owner" activities="ctrl.activities"><\/crowdfunding-page>');n.put("/templates/page/page.html",'<main>\n    <div id="fill">\n        <div class="l-container l-gutter">\n            <div id="details" class="pure-g panel">\n                <div class="pure-u-1 pure-u-lg-3-5" id="image">\n                    <div class="page-imagecontainer">\n                        <page-image-viewer image="page.initialImage"><\/page-image-viewer>\n                    <\/div>\n                    <section class="owner l-box-lg l-hidden l-visible-lg">\n                        <img src="Content/images/avatar-blue.png" class="owner-avatar" image-template-src="{{page.ownerProfileImageUrl | stripProtocol}}" image-template="size100x100,size200x200 2x" alt="{{page.ownerName}}\'s avatar" />\n                        <dl class="owner-body">\n                            <dt class="owner-heading">Page owner<\/dt>\n                            <dd class="owner-name">{{page.ownerName}}<\/dd>\n                            <dd class="owner-bio" ng-bind-html="page.ownerBio | linkify"><\/dd>\n                            <dd>\n                                <a ng-href="mailto:{{page.ownerEmailAddress}}" track-click track-event-name="CONTACT_OWNER_CLICKED" track-args="{ pageId: page.id }">Contact {{page.ownerName}}<\/a>\n                                <span class="owner-separator">-<\/span>\n                                <a href="https://help.justgiving.com/hc/en-us/articles/202895531-JustGiving-Crowdfunding-Page-Guidelines" track-click track-event-name="REPORT_PAGE_CLICKED" track-args="{ pageId: page.id }">Report this Page<\/a>\n                            <\/dd>\n                        <\/dl>\n                    <\/section>\n                <\/div>\n                <div class="pure-u-1 pure-u-lg-2-5 l-spaced-md" id="progress">\n                    <div class="countdown">\n                        <p ng-if="!ctrl.isClosed()">{{page.finishedAt|countdown}} to go<\/p>\n                        <p ng-if="page.status === \'FullyFunded\'">Funded on {{page.finishedAt|amDateFormat:\'dddd, Do MMMM YYYY\'}}<\/p>\n                        <p ng-if="page.status === \'TargetNotReached\'">Closed on {{page.finishedAt|amDateFormat:\'dddd, Do MMMM YYYY\'}}<\/p>\n                    <\/div>\n                    <section class="pitch l-text-center">\n                        <p>\n                            We\'re raising <strong>{{page.targetAmount|currency:"£":0}}<\/strong> to {{page.pitchFor}} because {{page.pitchBecause}}\n                        <\/p>\n                    <\/section>\n                    <section class="owner owner-mini pure-u-1 pure-u-lg-2-5 l-box-lg l-visible l-hidden-lg">\n                        <a href="#owner" offset="70px" du-smooth-scroll>\n                            <img src="Content/images/avatar-blue.png" class="owner-avatar" image-template-src="{{page.ownerProfileImageUrl | stripProtocol}}" image-template="size100x100,size200x200 2x" alt="{{page.ownerName}}\'s avatar" />\n                        <\/a>\n                        <dl class="owner-body">\n                            <dt class="owner-heading">Page owner<\/dt>\n                            <dt class="owner-name">\n                                <a href="#owner" offset="70px" du-smooth-scroll>{{page.ownerName}}<\/a>\n                            <\/dt>\n                        <\/dl>\n                    <\/section>\n                    <section class="location">\n                        <p class="location-body"><span class="image image-pinicon"><\/span>{{page.locationText}}<\/p>\n                    <\/section>\n                    <section class="progress">\n                        <progress value="0" delay-value="{{ctrl.percentagePledged}}" max="100" class="progress-bar"><\/progress>\n                        <div class="pure-g">\n                            <p class="pure-u-3-5">\n                                <span class="progress-raised">{{ctrl.progressAmount|currency:"£":0}}<\/span> <span ng-if="!ctrl.isClosed()">pledged<\/span><span ng-if="ctrl.isClosed()">raised<\/span> of <strong>{{page.targetAmount|currency:"£":0}}<\/strong> target\n                            <\/p>\n                            <p class="pure-u-2-5 text-right">\n                                <span class="progress-percent"><span count-up="ctrl.percentagePledged" timeout="1000"><\/span>%<\/span> raised\n                            <\/p>\n                        <\/div>\n                    <\/section>\n                    <div ui-view="status"><\/div>\n                    <section class="social social-mini l-visible l-hidden-lg">\n                        <h1 class="social-heading">Share this Page to raise more<\/h1>\n                        <ul class="social-list">\n                            <li class="social-action">\n                                <button class="button button-social button-facebook" ng-click="ctrl.shareOnFacebook(\'bottom\')" ng-disabled="!ctrl.shareEnabled()">Facebook<\/button>\n                            <\/li>\n                            <li class="social-action">\n                                <button class="button button-social button-twitter" ng-click="ctrl.shareOnTwitter()" ng-disabled="!ctrl.shareEnabled()">Twitter<\/button>\n                            <\/li>\n                            <li class="social-action">\n                                <button class="button button-social button-email" ng-click="ctrl.shareWithEmail()" ng-disabled="!ctrl.shareEnabled()">Email<\/button>\n                            <\/li>\n                        <\/ul>\n                    <\/section>\n                <\/div>\n            <\/div>\n        <\/div>\n        <div class="divider divider-go">\n            <a href="#pledges" offset="70px" du-smooth-scroll class="button button-fold button-hidden button-visible-md" \n               track-click track-event-name="SCROLL_DOWN_CLICKED" track-args="{ pageId: page.id }" ><!--Go to pledges--><\/a>\n        <\/div>\n    <\/div>\n    <div class="pure-g l-container">\n        <div class="pure-u-1 pure-u-lg-3-5 l-box-lg" id="pledges">\n            <div class="panel">\n                <h1 class="panel-heading panel-heading-icon panel-heading-centered">\n                    <span class="panel-icon" title="{{ctrl.total}}">{{ctrl.total | number }}<\/span> Pledges and Updates\n                <\/h1>\n                <activities id="activities" items="ctrl.activityItems" page="page" owner="owner" total="ctrl.total"><\/activities>\n            <\/div>\n        <\/div>\n        <div id="extra" class="pure-u-1 pure-u-lg-2-5 l-box-lg">\n            <section id="comments" class="panel">\n                <h1 class="panel-subheading">Leave a message of support<\/h1>\n                <div class="panel-body">\n                    <fb-comments url="page.facebookCommentsUrl" preview="page.status != \'Active\' && page.status != \'FullyFunded\'" track-args="{ pageId: page.id }"><\/fb-comments>\n                <\/div>\n                <h1 class="panel-subheading l-hidden l-visible-lg">{{ctrl.sharingPrompt}}<\/h1>\n                <div class="panel-body l-hidden l-visible-lg">\n                    <div class="social">\n                        <ul class="social-list">\n                            <li class="social-action">\n                                <button class="button button-social button-facebook" ng-click="ctrl.shareOnFacebook(\'bottom\')" ng-disabled="!ctrl.shareEnabled()">Facebook<\/button>\n                            <\/li>\n                            <li class="social-action">\n                                <button class="button button-social button-twitter" ng-click="ctrl.shareOnTwitter()" ng-disabled="!ctrl.shareEnabled()">Twitter<\/button>\n                            <\/li>\n                            <li class="social-action">\n                                <button class="button button-social button-email" ng-click="ctrl.shareWithEmail()" ng-disabled="!ctrl.shareEnabled()">Email<\/button>\n                            <\/li>\n                        <\/ul>\n                    <\/div>\n                <\/div>\n            <\/section>\n            <section id="story" class="panel">\n                <accordion track-expand="STORY_ACCORDION_CARD_EXPANDED" track-collapse="STORY_ACCORDION_CARD_COLLAPSED" track-args="{ pageId: page.id }">\n                    <accordion-panel id="StoryProblem" title="What\'s the problem we\'re trying to solve?">\n                        <div ng-bind-html="page.problem | linkify"><\/div>\n                    <\/accordion-panel>\n                    <accordion-panel id="StoryCare" title="Why do we care about this?">\n                        <div ng-bind-html="page.care | linkify"><\/div>\n                    <\/accordion-panel>\n                    <accordion-panel id="StoryMoney" title="How will the money be spent?">\n                        <div ng-bind-html="page.money | linkify"><\/div>\n                    <\/accordion-panel>\n                    <accordion-panel id="StoryDeadline" title="When will supporters see the difference?">\n                        <div ng-bind-html="page.deadline | linkify"><\/div>\n                    <\/accordion-panel>\n                <\/accordion>\n            <\/section>\n            <section id="owner" class="owner l-box-lg l-visible l-hidden-lg">\n                <img src="Content/images/avatar-blue.png" class="owner-avatar" image-template-src="{{page.ownerProfileImageUrl| stripProtocol}}" image-template="size100x100,size200x200 2x" alt="{{page.ownerName}}\'s avatar" />\n                <dl class="owner-body">\n                    <dt class="owner-heading">Page owner<\/dt>\n                    <dd class="owner-name">{{page.ownerName}}<\/dd>\n                    <dd class="owner-bio">{{page.ownerBio}}<\/dd>\n                    <dd>\n                        <a ng-href="mailto:{{page.ownerEmailAddress}}" track-click track-event-name="CONTACT_OWNER_CLICKED" track-args="{ pageId: page.id }">Contact {{page.ownerName}}<\/a>\n                        <span class="owner-separator">-<\/span>\n                        <a href="https://help.justgiving.com/hc/en-us/articles/202895531-JustGiving-Crowdfunding-Page-Guidelines" track-click track-event-name="REPORT_PAGE_CLICKED" track-args="{ pageId: page.id }">Report this Page<\/a>\n                    <\/dd>\n                <\/dl>\n            <\/section>\n        <\/div>\n    <\/div>\n<\/main>\n<div class="page-pledge" ng-if="page.status == \'Active\'">\n    <a ng-href="{{page.pledgeUrl}}" track-click track-event-name="PLEDGE_CLICKED" track-args="{ pageId: page.id, pageName: page.name, source: \'sticky\' }" class="button button-donate button-wide">Pledge<\/a>\n<\/div>');n.put("/templates/page/preview.html",'<div class="container l-bucket">\n    <ol class="steptracker">\n        <li class="steptracker-step steptracker-is-complete">Create Page<\/li>\n        <li class="steptracker-step steptracker-is-complete">Add the Details<\/li>\n        <li class="steptracker-step steptracker-is-current"><h1 class="steptracker-heading">Preview Your Page<\/h1><\/li>\n    <\/ol>\n    <section class="form form-support">\n        <h2 class="form-heading">Please check your Page before you submit it.<\/h2>\n        <p class="form-help">We\'ll review your page to ensure it meets our <a href="https://help.justgiving.com/hc/en-us/articles/202895531-JustGiving-Crowdfunding-Page-Guidelines" target="_blank">Crowdfunding guidelines<\/a>.<\/p>\n        <div class="l-spaced-top">\n            <a class="button button-tertiary button-big" ui-sref="edit.index({ name: ctrl.page.name })">Edit Page<\/a>\n            <a class="button button-secondary button-big" ui-sref="page.submit">Continue<\/a>\n        <\/div>\n    <\/section>\n<\/div>');n.put("/templates/page/root.html",'<section id="action" ui-view="action"><\/section>\n<article ui-view class="page" ng-class="ctrl.pageClass"><\/article>');n.put("/templates/page/submit.html",'<div class="container">\n    <div class="l-bucket">\n        <form name="submit" ng-submit="submit.$valid && ctrl.addressIsValid && !ctrl.submitInProgress && ctrl.submit(ctrl.submission)" class="form form-stacked" novalidate change-tracker track-category="JG Local project creation" track-action-name="Entered info" track-label-prefix="Project-create:">\n            <input name="id" type="hidden" ng-model="ctrl.submission.id" />\n            <input name="projectId" type="hidden" ng-model="ctrl.submission.projectId" />\n            <input name="name" type="hidden" ng-model="ctrl.submission.name" />\n            <input name="emailAddress" type="hidden" ng-model="ctrl.submission.emailAddress" />\n            <div class="l-leading">\n                <h1 class="form-heading">Your personal details<\/h1>\n\n                <div class="pure-g">\n                    <div class="pure-u-1 pure-u-sm-3-24 pure-u-md-2-24 pure-u-lg-3-24 l-gutter-right">\n                        <div class="image image-secure-profile"><\/div>\n                    <\/div>\n                    <p class="form-help pure-u-1 pure-u-sm-21-24 pure-u-md-22-24 pure-u-lg-21-24">Just one more little thing! We need to check that you are who you say you are so we can transfer your money safely to you.<\/p>\n                <\/div>\n\n                <fieldset class="panel panel-minimal">\n                    <div class="form-group">\n                        <label for="title" class="form-label">Title<\/label>\n                        <select id="title" name="title" type="text" class="form-control" ng-model="ctrl.submission.title" ng-options="title for title in ctrl.titles" required />\n                        <div ng-messages="submit.title.$error">\n                            <small class="form-suggestion form-error" ng-message="required">Please select your title<\/small>\n                        <\/div>\n                    <\/div>\n\n                    <div class="form-group">\n                        <label for="first-name" class="form-label">First name<\/label>\n                        <input id="first-name" name="firstName" type="text" class="form-control" ng-model="ctrl.submission.firstName" ng-minlength="2" ng-maxlength="30" required />\n                        <div ng-messages="submit.firstName.$error" ng-if="submit.firstName.$touched || submit.$submitted">\n                            <small class="form-suggestion form-error" ng-message="required">Please include your first name<\/small>\n                            <small class="form-suggestion form-error" ng-message="pattern">Please enter a valid first name<\/small>\n                            <small class="form-suggestion form-error" ng-message="minlength">Please enter at least 2 characters<\/small>\n                            <small class="form-suggestion form-error" ng-message="maxlength">Please enter at most 30 characters<\/small>\n                        <\/div>\n                    <\/div>\n\n                    <div class="form-group">\n                        <label for="last-name" class="form-label">Last name<\/label>\n                        <input id="last-name" name="lastName" type="text" class="form-control" ng-model="ctrl.submission.lastName" ng-minlength="2" ng-maxlength="30" required />\n                        <div ng-messages="submit.lastName.$error" ng-if="submit.lastName.$touched || submit.$submitted">\n                            <small class="form-suggestion form-error" ng-message="required">Please include your last name<\/small>\n                            <small class="form-suggestion form-error" ng-message="pattern">Please enter a valid last name<\/small>\n                            <small class="form-suggestion form-error" ng-message="minlength">Please enter at least 2 characters<\/small>\n                            <small class="form-suggestion form-error" ng-message="maxlength">Please enter at most 30 characters<\/small>\n                        <\/div>\n                    <\/div>\n\n                    <div class="form-group">\n                        <label for="date-of-birth" class="form-label">Date of birth<\/label>\n                        <date-input id="date-of-birth" name="dateOfBirth" min="1900-01-01" max="{{ctrl.minDate}}" ng-model="ctrl.submission.dateOfBirth" required><\/date-input>\n                        <div ng-messages="submit.dateOfBirth.$error" ng-if="submit.dateOfBirth.$touched || submit.$submitted">\n                            <small class="form-suggestion form-error" ng-message="required">Please include your date of birth<\/small>\n                            <small class="form-suggestion form-error" ng-message="date">Please make sure this is a valid date<\/small>\n                            <small class="form-suggestion form-error" ng-message="min">Please make sure this is a valid date<\/small>\n                            <small class="form-suggestion form-error" ng-message="max">Please note that you must be 18 or older to start this Page<\/small>\n                        <\/div>\n                    <\/div>\n\n                    <div class="form-group">\n                        <label for="phone-number" class="form-label">Primary telephone<\/label>\n                        <input id="phone-number" name="phoneNumber" type="tel" class="form-control" ng-model="ctrl.submission.phoneNumber" ng-pattern="ctrl.phoneNumberPattern" required />\n                        <div ng-messages="submit.phoneNumber.$error" ng-if="submit.phoneNumber.$touched || submit.$submitted">\n                            <small class="form-suggestion form-error" ng-message="required">Please include your telephone number<\/small>\n                            <small class="form-suggestion form-error" ng-message="pattern">Please make sure your telephone number is valid<\/small>\n                        <\/div>\n                    <\/div>\n                <\/fieldset>\n            <\/div>\n            <div class="l-leading">\n                <h2 class="form-heading">Your bank details<\/h2>\n\n                <div class="pure-g">\n                    <div class="pure-u-1 pure-u-sm-3-24 pure-u-md-2-24 pure-u-lg-3-24 l-gutter-right">\n                        <div class="image image-secure"><\/div>\n                    <\/div>\n                    <p class="form-help pure-u-1 pure-u-sm-21-24 pure-u-md-22-24 pure-u-lg-21-24">Please provide your personal bank details so we can transfer the money you raise to your account. We can\'t transfer money to an organisation.<\/p>\n                <\/div>\n\n                <fieldset class="panel panel-minimal">\n                    <div class="form-group">\n                        <label for="sort-code" class="form-label">Sort code<\/label>\n                        <input id="sort-code" name="sortCode" type="text" class="form-control" ng-model="ctrl.submission.sortcode" ui-mask="99-99-99" model-view-value="true" required />\n                        <div ng-messages="submit.sortCode.$error" ng-if="submit.sortCode.$touched || submit.$submitted">\n                            <small class="form-suggestion form-error" ng-message="required">Please include your valid sort code<\/small>\n                        <\/div>\n                    <\/div>\n\n                    <div class="form-group">\n                        <label for="account-number" class="form-label">Account number<\/label>\n                        <input id="account-number" name="accountNumber" type="text" class="form-control" ng-model="ctrl.submission.accountNumber" ui-mask="99999999" required />\n                        <div ng-messages="submit.accountNumber.$error" ng-if="submit.accountNumber.$touched || submit.$submitted">\n                            <small class="form-suggestion form-error" ng-message="required">Please make sure your account number only includes numbers and is 8 characters long<\/small>\n                        <\/div>\n                    <\/div>\n                <\/fieldset>\n            <\/div>\n\n            <div class="l-leading">\n                <h2 class="form-heading">Your address<\/h2>\n                <address-editor address="ctrl.submission" valid="ctrl.addressIsValid"><\/address-editor>\n                <div class="l-spaced-top">\n                    <fieldset class="panel panel-minimal">\n                        <input id="happy" name="happy" type="checkbox" ng-model="ctrl.confirmSubmission" required />\n                        <label for="happy">I agree that JustGiving can run an identity check using these details<\/label>\n                        <div ng-messages="submit.happy.$error" ng-if="submit.happy.$touched || submit.$submitted">\n                            <small class="form-suggestion form-error" ng-message="required">Please allow us to run an identity check<\/small>\n                        <\/div>\n                    <\/fieldset>\n                <\/div>\n            <\/div>\n\n            <div class="l-spaced-top">\n                <button type="submit" class="button button-secondary" ladda="ctrl.submitInProgress">Submit for approval<\/button>\n            <\/div>\n            <div class="l-leading">\n                <p>Please note <a href="https://help.justgiving.com/hc/en-us/articles/203067602-Crowdfunding-Fees">we deduct a 5% fee<\/a> (plus card fees) from the total amount raised.<\/p>\n            <\/div>\n        <\/form>\n    <\/div>\n<\/div>');n.put("/templates/page/submitted.html",'<div class="container l-bucket">\n    <form name="thanks" class="form form-stacked form-support" ng-submit="ctrl.submit(page)">\n        <input name="name" ng-model="page.name" type="hidden" />\n        <h2 class="form-heading">Thank you for submitting your details<\/h2>\n        <p class="form-help">We\'ll now review your Page and email you in the next couple of days to let you know if it is ready to be activated. While you\'re waiting&hellip;<\/p>\n\n        <div class="pure-g">\n            <div class="pure-u-1-5 text-center">\n                <a href="https://help.justgiving.com/hc/en-us/articles/201200042-Hints-Tips-and-Yimby-Tricks" target="_blank"><div class=" submitted-icon submitted-icon-tips"><\/div><\/a>\n                <p class="text-center"><a href="https://help.justgiving.com/hc/en-us/articles/201200042-Hints-Tips-and-Yimby-Tricks" target="_blank">Take a look at our tips<\/a> for promoting your story<\/p>\n            <\/div>\n            <div class="pure-u-1-5">\n                <div class="submitted-icon"><\/div>\n                <p class="text-center">or<\/p>\n            <\/div>\n            <div class="pure-u-1-5 text-center">\n                <a ng-click="ctrl.openThankYouMessage()"><div class="submitted-icon submitted-icon-thankyou"><\/div><\/a>\n                <p><a ng-click="ctrl.openThankYouMessage()">Write a thank you message<\/a> to send to your supporters when they donate.<\/p>\n\t\t\t<\/div>\n            <div class="pure-u-1-5">\n                <div class="submitted-icon"><\/div>\n                <p class="text-center">or<\/p>\n            <\/div>\n            <div class="pure-u-1-5 text-center">\n                <a ui-sref="page.edit"><div class="submitted-icon submitted-icon-edit"><\/div><\/a>\n                <p><a ui-sref="page.edit">Edit your Page<\/a> if you would like to make further changes.<\/p>\n            <\/div>\n        <\/div>\n    <\/form>\n<\/div>');n.put("/templates/page/sunset-funded.html",'<parallax class="parallax">\n    <div class="parallax-satellite" stellar="1.2"><\/div>\n    <div class="parallax-moon" stellar="0.3"><\/div>\n    <div class="parallax-earth" stellar="0.8"><\/div>\n    <div class="parallax-rocket" stellar="3.2"><\/div>\n    <div class="parallax-star" stellar="0.1"><\/div>\n    <div class="parallax-star" stellar="0.2"><\/div>\n    <div class="parallax-star" stellar="0.3"><\/div>\n    <div class="parallax-star" stellar="0.4"><\/div>\n    <div class="parallax-star" stellar="0.5"><\/div>\n    <div class="parallax-star" stellar="0.6"><\/div>\n    <div class="parallax-star" stellar="0.7"><\/div>\n    <div class="parallax-star" stellar="0.8"><\/div>\n    <div class="parallax-star" stellar="0.9"><\/div>\n    <div class="parallax-star" stellar="1.0"><\/div>\n    <div class="parallax-star" stellar="1.1"><\/div>\n    <div class="parallax-star" stellar="1.2"><\/div>\n    <div class="parallax-star" stellar="1.3"><\/div>\n    <div class="parallax-star" stellar="1.4"><\/div>\n    <div class="parallax-star" stellar="1.5"><\/div>\n    <div class="parallax-star" stellar="1.6"><\/div>\n    <div class="parallax-star" stellar="1.7"><\/div>\n    <div class="parallax-star" stellar="1.8"><\/div>\n<\/parallax>\n<div class="container l-bucket">\n    <div class="panel panel-constrained panel-borderless">\n        <div class="thanks-jumbotron panel-padded">\n            <span class="panel-token panel-token-image icon-medal"><\/span>\n            <p>The sun has now set on this page, but we’re pleased to say that there was a happy ending: <\/p>\n            <p class="thanks-jumbotron-firstline">The page hit its target!<\/p>\n        <\/div>\n        <div class="panel panel-padded panel-inverse">\n            <p>\n                The page owner has now received the funds and is using them as described, but if you’d like to know more you can get in touch with the JustGiving Crowdfunding team <a href="https://justgiving.zendesk.com/hc/en-us/requests/new?ticket_form_id=5342">here<\/a>.\n            <\/p>\n            <p>\n                To begin writing your own Crowdfunding story, head over to <a href="https://crowdfunding.justgiving.com">JustGiving Crowdfunding<\/a> and start raising money to make good things happen.\n            <\/p>\n        <\/div>\n    <\/div>\n<\/div>');n.put("/templates/page/sunset-unfunded.html",'<parallax class="parallax">\n    <div class="parallax-satellite" stellar="1.2"><\/div>\n    <div class="parallax-moon" stellar="0.3"><\/div>\n    <div class="parallax-earth" stellar="0.8"><\/div>\n    <div class="parallax-rocket" stellar="3.2"><\/div>\n    <div class="parallax-star" stellar="0.1"><\/div>\n    <div class="parallax-star" stellar="0.2"><\/div>\n    <div class="parallax-star" stellar="0.3"><\/div>\n    <div class="parallax-star" stellar="0.4"><\/div>\n    <div class="parallax-star" stellar="0.5"><\/div>\n    <div class="parallax-star" stellar="0.6"><\/div>\n    <div class="parallax-star" stellar="0.7"><\/div>\n    <div class="parallax-star" stellar="0.8"><\/div>\n    <div class="parallax-star" stellar="0.9"><\/div>\n    <div class="parallax-star" stellar="1.0"><\/div>\n    <div class="parallax-star" stellar="1.1"><\/div>\n    <div class="parallax-star" stellar="1.2"><\/div>\n    <div class="parallax-star" stellar="1.3"><\/div>\n    <div class="parallax-star" stellar="1.4"><\/div>\n    <div class="parallax-star" stellar="1.5"><\/div>\n    <div class="parallax-star" stellar="1.6"><\/div>\n    <div class="parallax-star" stellar="1.7"><\/div>\n    <div class="parallax-star" stellar="1.8"><\/div>\n<\/parallax>\n<div class="container l-bucket">\n    <div class="panel panel-constrained panel-borderless">\n        <div class="thanks-jumbotron panel-padded">\n            <p>The sun has now set on this page and, sadly, it didn’t reach its target. Crowdfunding pages are all or nothing, so if you pledged to this page then you haven’t been charged.<\/p>\n        <\/div>\n        <div class="panel panel-padded panel-inverse">\n            <p>\n                Head over <a href="https://crowdfunding.justgiving.com">JustGiving Crowdfunding<\/a> to see other pages raising funds in your area, or start your own page raising money to make good things happen.\n            <\/p>\n            <p>\n                If you’ve got any questions, please <a href="https://justgiving.zendesk.com/hc/en-us/requests/new?ticket_form_id=5342">get in touch<\/a>.\n            <\/p>\n        <\/div>\n    <\/div>\n<\/div>');n.put("/templates/page/thanks.html",'<parallax class="parallax" offset="54px">\n    <div class="parallax-satellite" stellar="1.2"><\/div>\n    <div class="parallax-moon" stellar="0.3"><\/div>\n    <div class="parallax-earth" stellar="0.8"><\/div>\n    <div class="parallax-rocket" stellar="3.2"><\/div>\n    <div class="parallax-star" stellar="0.1"><\/div>\n    <div class="parallax-star" stellar="0.2"><\/div>\n    <div class="parallax-star" stellar="0.3"><\/div>\n    <div class="parallax-star" stellar="0.4"><\/div>\n    <div class="parallax-star" stellar="0.5"><\/div>\n    <div class="parallax-star" stellar="0.6"><\/div>\n    <div class="parallax-star" stellar="0.7"><\/div>\n    <div class="parallax-star" stellar="0.8"><\/div>\n    <div class="parallax-star" stellar="0.9"><\/div>\n    <div class="parallax-star" stellar="1.0"><\/div>\n    <div class="parallax-star" stellar="1.1"><\/div>\n    <div class="parallax-star" stellar="1.2"><\/div>\n    <div class="parallax-star" stellar="1.3"><\/div>\n    <div class="parallax-star" stellar="1.4"><\/div>\n    <div class="parallax-star" stellar="1.5"><\/div>\n    <div class="parallax-star" stellar="1.6"><\/div>\n    <div class="parallax-star" stellar="1.7"><\/div>\n    <div class="parallax-star" stellar="1.8"><\/div>\n<\/parallax>\n<main class="container">\n    <div class="l-bucket">\n        <div class="panel panel-constrained panel-borderless">\n            <div class="page-imagecontainer">\n                <div class="page-image" ng-style="{backgroundImage: \'url({{ctrl.page.completeImage | stripProtocol}})\'}"><\/div>\n            <\/div>\n            <div class="thanks-jumbotron">\n                <span class="panel-token panel-token-image thanks-jumbotron-token icon-medal"><\/span>\n                <p class="thanks-jumbotron-firstline">We hit our target<\/p>\n                <p>Thank you everyone!<\/p>\n            <\/div>\n            <section class="panel panel-padded panel-inverse">\n                <div class="thanks-avatar-container">\n                    <img src="Content/images/avatar-blue.png" class="thanks-avatar" image-template-src="{{ctrl.page.ownerProfileImageUrl | stripProtocol }}" image-template="size100x100,size200x200 2x" alt="{{ctrl.page.ownerName}}\'s avatar" />\n                    <div class="thanks-ownerName">{{ctrl.page.ownerName}}<\/div>\n                <\/div>\n\n                <p class="thanks-text" ng-hide="ctrl.supporterName">\n                    Thank you to everyone who helped us raise <strong>{{ctrl.page.amountRaised|currency:"£":0}}<\/strong> to {{ctrl.page.pitchFor}}. We couldn\'t have done it without you.\n                <\/p>\n                <p class="thanks-text" ng-show="ctrl.supporterName">\n                    <span ng-show="ctrl.supporterName">Hi {{ctrl.supporterName}}, thank you for helping <\/span>\n                    <span ng-hide="ctrl.supporterName">Thank you to everyone who helped <\/span>\n                    raise <strong>{{ctrl.page.amountRaised|currency:"£":0}}<\/strong> to {{ctrl.page.pitchFor}}. We couldn\'t have done it without you.\n                <\/p>\n                <a class="thanks-owner-email" ng-href="mailto:{{ctrl.page.ownerEmailAddress}}">contact me<\/a>\n            <\/section>\n        <\/div>\n    <\/div>\n\n    <div class="l-bucket">\n        <section class="panel panel-inverse panel-padded panel-constrained panel-lowered">\n            <h1 class="panel-heading panel-heading-protruding panel-heading-centered">\n                <span class="panel-token icon-storybook">\n                <\/span>\n                Our Story\n            <\/h1>\n            <p class="l-bucket" ng-bind-html="ctrl.page.report | linkify"><\/p>\n            <section class="social">\n                <h1 class="social-ask">Share this story<\/h1>\n                <ul class="social-list">\n                    <li class="social-action"><button class="button button-social button-facebook" ng-click="ctrl.shareOnFacebook()">Facebook<\/button><\/li>\n                    <li class="social-action"><button class="button button-social button-twitter" ng-click="ctrl.shareOnTwitter()">Twitter<\/button><\/li>\n                <\/ul>\n            <\/section>\n        <\/section>\n    <\/div>\n\n    <div class="l-bucket">\n        <div class="panel panel-inverse panel-constrained panel-padded panel-lowered">\n            <h1 class="panel-heading panel-heading-protruding panel-heading-centered"><span class="panel-icon" title="{{ctrl.total}}">{{ctrl.total | activitiesCount}}<\/span> Pledges and updates<\/h1>\n            <div class="l-spaced-bottom">\n                <activities id="activities" items="ctrl.activityItems" page="ctrl.page" owner="ctrl.owner" total="ctrl.total"><\/activities>\n            <\/div>\n        <\/div>\n    <\/div>\n    <div class="l-bucket">\n        <section id="comments" class="panel panel-padded panel-constrained">\n            <h1 class="panel-heading panel-heading-centered">Leave a message of support<\/h1>\n            <fb-comments url="ctrl.page.facebookCommentsUrl" track-args="{ pageId: ctrl.page.id }"><\/fb-comments>\n        <\/section>\n    <\/div>\n    <div class="l-bucket">\n        <div class="panel panel-constrained">\n            <accordion track-expand="STORY_ACCORDION_CARD_EXPANDED" track-collapse="STORY_ACCORDION_CARD_COLLAPSED" track-args="{ pageId: ctrl.page.id }">\n                <accordion-panel id="StoryProblem" title="What\'s the problem we\'re trying to solve?">\n                    {{ctrl.page.problem}}\n                <\/accordion-panel>\n                <accordion-panel id="StoryCare" title="Why do we care about this project?">\n                    {{ctrl.page.care}}\n                <\/accordion-panel>\n                <accordion-panel id="StoryMoney" title="How will the money be spent?">\n                    {{ctrl.page.money}}\n                <\/accordion-panel>\n                <accordion-panel id="StoryDeadline" title="When will supporters see the difference?">\n                    {{ctrl.page.deadline}}\n                <\/accordion-panel>\n            <\/accordion>\n        <\/div>\n    <\/div>\n    <div class="l-bucket">\n        <div class="panel panel-constrained panel-padded text-center">\n            <h1>Do you have a crowdfunding idea?<\/h1>\n            <a class="button button-secondary" ui-sref="create.index">Start crowdfunding<\/a>\n        <\/div>\n    <\/div>\n<\/main>');n.put("/templates/page/unfunded-status.html",'<div class="status pure-g l-gutter">\n    <div class="status-action pure-u-7-12">\n        <a ng-href="{{page.pledgeUrl}}" ng-disabled class="button button-disabled button-donate button-big button-wide button-hidden button-visible-md">Page closed<\/a>\n    <\/div>\n    <div class="status-share pure-u-5-12 l-spaced-left">\n        <button disabled class="button button-facebook-large button-big button-wide button-hidden button-visible-md button-disabled">Share<\/button>\n    <\/div>\n<\/div>');n.put("/templates/page-create/page-create.html",'<div class="l-bucket">\n    <ol class="steptracker">\n        <li class="steptracker-step steptracker-is-complete">Create Page<\/li>\n        <li class="steptracker-step steptracker-is-complete">Tell Your Story<\/li>\n        <li class="steptracker-step steptracker-is-current"><h1 class="steptracker-heading">Preview & Activate<\/h1><\/li>\n    <\/ol>\n    <form novalidate name="create" class="form" ng-submit="create.$valid && !ctrl.saveInProgress && ctrl.create(page)" autofocus-invalid\n          change-tracker track-category="JG Local project creation" track-action-name="Entered info" track-label-prefix="Project-create:">\n        <h2 class="form-heading">Sum up your story<\/h2>\n        <page-lead page="page" categories="ctrl.categories"><\/page-lead>\n\n        <h2 class="form-heading">Upload a picture<\/h2>\n        <page-image page="page"><\/page-image>\n\n        <h2 class="form-heading">Add a location<\/h2>\n        <page-location page="page"><\/page-location>\n\n        <h2 class="form-heading">Tell supporters your story<\/h2>\n        <page-story page="page"><\/page-story>\n\n        <h2 class="form-heading">Tell supporters about yourself<\/h2>\n        <page-owner page="page"><\/page-owner>\n\n        <div class="l-spaced-top l-spaced-bottom">\n            <button type="submit" ladda="ctrl.saveInProgress" class="button button-secondary button-big">Preview your Page<\/button>\n        <\/div>\n    <\/form>\n<\/div>\n');n.put("/templates/page-image/page-image.html",'<div role="group" class="panel panel-minimal form-stacked" ng-form="image">\n    <div class="form-group">\n        <image-cropper image="page.initialImage" ng-if="page.initialImage"><\/image-cropper>\n        <input name="initialImageName" type="hidden" ng-model="page.initialImage.name" required-if="ctrl.isInitialImageNameRequired" />\n        <button type="button" class="button button-tertiary" ladda="ctrl.uploadInProgress" ng-if="!page.initialImage" ngf-select ngf-change="ctrl.upload($files)">Choose a picture<\/button>\n        <a class="image-cropper-indent" href ng-if="page.initialImage" ngf-select ngf-change="ctrl.upload($files)"><span class="icon-edit"><\/span> Change picture<\/a>\n        <div ng-messages="image.initialImageName.$error" class="form-suggestions" ng-if="image.$$parentForm.$submitted && !ctrl.uploadErrors.any">\n            <small class="form-suggestion form-error" ng-message="required">Please upload an image<\/small>\n        <\/div>\n        <div ng-messages="ctrl.uploadErrors" class="form-suggestions">\n            <small class="form-suggestion form-error" ng-message="type">Please upload a JPEG or PNG image<\/small>\n            <small class="form-suggestion form-error" ng-message="size">Please upload an image smaller than 4MB<\/small>\n        <\/div>\n    <\/div>\n<\/div>');n.put("/templates/page-lead/page-lead.html",'<fieldset class="panel panel-minimal form-stacked" ng-form="lead" change-tracker track-category="JG Local project creation" track-action-name="Entered info" track-label-prefix="Project-create:">\n    <div class="form-group">\n        <label for="target-amount" class="form-label">We\'re raising<\/label>\n        <div class="form-control-group">\n            <span class="form-inputdescription" id="amount-currency">£<\/span>\n            <input id="target-amount" name="targetAmount" tracking-element-name="targetAmount" type="number" class="form-control form-control-auto-width" ng-model="page.targetAmount" min="200" max="9999999" maxlength="7" required aria-describedby="amount-currency" ng-focus="targetAmountHasFocus = true" ng-blur="targetAmountHasFocus = false" ng-readonly="ctrl.isReadonly()" />\n        <\/div>\n        <div ng-messages="lead.targetAmount.$error" ng-if="lead.$$parentForm.$submitted" class="">\n            <small class="form-suggestion form-error" ng-message="required">Please enter the amount you want to raise<\/small>\n            <small class="form-suggestion form-error" ng-message="number">Please enter a valid number<\/small>\n            <small class="form-suggestion form-error" ng-message="min">Sorry, please make sure your target is at least £200<\/small>\n            <small class="form-suggestion form-error" ng-message="max">Sorry, please make sure your target is achievable<\/small>\n        <\/div>\n        <div ng-if="targetAmountHasFocus && !lead.$$parentForm.$submitted">\n            <small class="form-suggestion form-info">Setting a target gives your campaign momentum and means you have something to aim for. You\'ll still receive all the funds you raised even if you don\'t hit your original target within 30 days.<\/small>\n        <\/div>\n    <\/div>\n    <div class="form-group">\n        <label for="pitch-for" class="form-label">to<\/label>\n\n        <div class="relative">\n            <textarea id="pitch-for" name="pitchFor" track-element-name="pitchFor" class="form-control" rows="2" placeholder="fix the roof of the local youth club" ng-model="page.pitchFor" required maxlength="50"><\/textarea>\n            <char-counter text="page.pitchFor" max-length="50"><\/char-counter>\n        <\/div>\n\n        <div ng-messages="lead.pitchFor.$error" ng-if="lead.$$parentForm.$submitted" class="">\n            <small class="form-suggestion form-error" ng-message="required">Please explain how the money will be spent<\/small>\n            <small class="form-suggestion form-error" ng-message="maxlength">Please answer the pitch questions in 50 characters, maximum<\/small>\n        <\/div>\n    <\/div>\n    <div class="form-group">\n        <label for="pitch-because" class="form-label">because<\/label>\n\n        <div class="relative">\n            <textarea id="pitch-because" name="pitchBecause" track-element-name="pitchBecause" class="form-control" rows="2" placeholder="our local kids need somewhere to meet" ng-model="page.pitchBecause" required maxlength="50"><\/textarea>\n            <char-counter text="page.pitchBecause" max-length="50"><\/char-counter>\n        <\/div>\n\n        <div ng-messages="lead.pitchBecause.$error" ng-if="lead.$$parentForm.$submitted">\n            <small class="form-suggestion form-error" ng-message="required">Please explain why the Page is needed<\/small>\n            <small class="form-suggestion form-error" ng-message="maxlength">Please answer the pitch questions in 50 characters, maximum<\/small>\n        <\/div>\n    <\/div>\n\n    <div class="form-group">\n        <label for="category" class="form-label">Pick a crowdfunding category<\/label>\n        <select id="category" name="categoryId" class="form-control" track-element-name="selectCategory" ng-model="page.categoryId" ng-options="category.id as category.name for category in categories" required><\/select>\n        <div ng-messages="lead.categoryId.$error" ng-if="lead.$$parentForm.$submitted">\n            <small class="form-suggestion form-error" ng-message="required">Please choose a category<\/small>\n        <\/div>\n    <\/div>\n<\/fieldset>\n');n.put("/templates/page-location/page-location.html",'<fieldset class="panel panel-minimal form-stacked" ng-form="location" change-tracker track-category="JG Local project creation" track-action-name="Entered info" track-label-prefix="Project-create:">\n    <div class="form-group">\n        <label for="locationText" class="form-label">Help people find your Page by adding a town, city or borough<\/label>\n\n        <input name="latitude" type="hidden" ng-model="page.latitude" required location-coordinates="{ latitude: page.latitude, longitude: page.longitude }" />\n        <input name="longitude" type="hidden" ng-model="page.longitude" required />\n        <input name="locationText" track-element-name="location" type="text" class="form-control" ng-model="page.locationText" ng-autocomplete options="ctrl.placesOptions" details="ctrl.placeDetails" ng-maxlength="100" required placeholder="Example: Ashford, Bristol, Camden" />\n\n        <div ng-messages="location.locationText.$error" class="form-suggestions" ng-if="location.locationText.$touched || location.$$parentForm.$submitted">\n            <small class="form-suggestion form-error" ng-message="required">Please enter your Page location<\/small>\n            <small class="form-suggestion form-error" ng-message="maxlength">Please make sure your location is less than 100 characters<\/small>\n        <\/div>\n        <div ng-messages="location.latitude.$error" class="form-suggestions" ng-if="location.locationText.$valid || location.$$parentForm.$submitted">\n            <small class="form-suggestion form-error" ng-message="locationCoordinates">Please enter a valid location<\/small>\n        <\/div>\n    <\/div>\n<\/fieldset>');n.put("/templates/page-owner/page-owner.html",'<fieldset class="panel panel-minimal form-stacked" ng-form="owner" change-tracker track-category="JG Local project creation" track-action-name="Entered info" track-label-prefix="Project-create:">\n    <div class="form-group">\n        <label for="owner-name" class="form-label">Name<\/label>\n        <input id="owner-name" name="ownerName" track-element-name="creator" type="text" class="form-control" ng-model="page.ownerName" required ng-maxlength="100" />\n        <div ng-messages="owner.ownerName.$error" ng-if="owner.ownerName.$touched || owner.$$parentForm.$submitted">\n            <small class="form-suggestion form-error" ng-message="required">Please enter your name<\/small>\n            <small class="form-suggestion form-error" ng-message="maxlength">Please ensure that the project creator name is less than 100 characters<\/small>\n        <\/div>\n    <\/div>\n\n    <div class="form-group">\n        <label for="owner-email" class="form-label">Contact email (for those with questions about your Page)<\/label>\n        <input id="owner-email" name="ownerEmail" track-element-name="email" type="email" class="form-control" ng-model="page.ownerEmailAddress" ng-maxlength="100" required />\n        <div ng-messages="owner.ownerEmail.$error" ng-if="owner.ownerEmail.$touched || owner.$$parentForm.$submitted">\n            <small class="form-suggestion form-error" ng-message="required">Please enter your email address<\/small>\n            <small class="form-suggestion form-error" ng-message="maxlength">Please ensure that the email address is less than 100 characters<\/small>\n            <small class="form-suggestion form-error" ng-message="email">Please enter a valid email address<\/small>\n            <small class="form-suggestion form-error" ng-message="pattern">Please enter a valid email address<\/small>\n        <\/div>\n    <\/div>\n\n    <div class="form-group">\n        <label for="name" class="form-label">Choose your Page\'s web address<\/label>\n        <div class="form-control-group">\n            <span class="form-inputdescription" id="address-prefix">crowdfunding.justgiving.com/<\/span>\n            <input id="name" name="name" track-element-name="shortName" type="text" class="form-control" ng-model="page.name" ng-pattern="ctrl.namePattern" ng-maxlength="100"\n                   ng-model-options="{ updateOn: \'default blur\', debounce: { default: 500, blur: 0 } }" aria-describedby="address-prefix" required unique-page-name current-page-name="page.name" ng-readonly="ctrl.isReadonly()" />\n        <\/div>\n        <div ng-messages="owner.name.$error" ng-if="owner.name.$touched || owner.$$parentForm.$submitted">\n            <small class="form-suggestion form-error" ng-message="required">Please enter your web address<\/small>\n            <small class="form-suggestion form-error" ng-message="maxlength">Please ensure that the web address is less than 100 characters<\/small>\n            <small class="form-suggestion form-error" ng-message="pattern">Your project\'s web address can only contain at least 3 letters, numbers or single hyphens (-), and must not start or end with a hyphen<\/small>\n            <small class="form-suggestion form-error" ng-message="uniquePageName">Sorry, your project\'s web address has already been taken, please use a unique address<\/small>\n            <small class="form-suggestion form-info" ng-show="create.name.$pending.uniquePageName">Please wait whilst we check that your project URL is unique<\/small>\n        <\/div>\n    <\/div>\n\n    <div class="form-group">\n        <label for="owner-bio" class="form-label">About you<\/label>\n\n        <div class="relative">\n            <textarea id="owner-bio" name="ownerBio" track-element-name="aboutMe" class="form-control" rows="4" placeholder="Example: I have been a youth worker in Bristol for 12 years." ng-model="page.ownerBio" maxlength="280" required><\/textarea>\n            <char-counter text="page.ownerBio" max-length="280"><\/char-counter>\n        <\/div>\n        <div ng-messages="owner.ownerBio.$error" ng-if="owner.ownerBio.$touched || owner.$$parentForm.$submitted">\n            <small class="form-suggestion form-error" ng-message="required">Please add a few details about yourself<\/small>\n            <small class="form-suggestion form-error" ng-message="maxlength">Please answer this question in 280 characters, maximum<\/small>\n        <\/div>\n    <\/div>\n<\/fieldset>');n.put("/templates/page-story/page-story.html",'<fieldset class="panel panel-minimal form-stacked" ng-form="story" change-tracker track-category="JG Local project creation" track-action-name="Entered info" track-label-prefix="Project-create:">\n    <div class="form-group">\n        <label for="problem" class="form-label">What is the problem you are trying to solve?<\/label>\n\n        <div class="relative">\n            <textarea id="problem" name="problem" track-element-name="problem" class="form-control" rows="4" placeholder="Example: I want to fix the roof of our local community group which is in desperate need of repair" ng-model="page.problem" required maxlength="500"><\/textarea>\n            <char-counter text="page.problem" max-length="500"><\/char-counter>\n        <\/div>\n\n        <div ng-messages="story.problem.$error" ng-if="story.problem.$touched || story.$$parentForm.$submitted">\n            <small class="form-suggestion form-error" ng-message="maxlength">Please answer this question in 500 characters maximum<\/small>\n            <small class="form-suggestion form-error" ng-message="required">Please explain the problem you\'re trying to solve<\/small>\n        <\/div>\n    <\/div>\n\n\n    <div class="form-group">\n        <label for="care" class="form-label">Why do you care about this?<\/label>\n\n        <div class="relative">\n            <textarea id="care" name="care" track-element-name="whyCare" class="form-control" rows="4" placeholder="Example: I want to fix the roof of the youth club because I know how important it is for our kids." ng-model="page.care" required maxlength="500"><\/textarea>\n            <char-counter text="page.care" max-length="500"><\/char-counter>\n        <\/div>\n\n        <div ng-messages="story.care.$error" ng-if="story.care.$touched || story.$$parentForm.$submitted">\n            <small class="form-suggestion form-error" ng-message="maxlength">Please answer this question in 500 characters, maximum<\/small>\n            <small class="form-suggestion form-error" ng-message="required">Please explain why this is important to you<\/small>\n        <\/div>\n    <\/div>\n\n    <div class="form-group">\n        <label for="money" class="form-label">How will the money be spent?<\/label>\n\n        <div class="relative">\n            <textarea id="money" name="money" track-element-name="moneyBreakdown" class="form-control" rows="4" placeholder="Example: We need £750 of materials to complete this project: Bricks - £200, Paint - £150, Other materials - £200, labour - £200." ng-model="page.money" required maxlength="500"><\/textarea>\n            <char-counter text="page.money" max-length="500"><\/char-counter>\n        <\/div>\n\n        <div ng-messages="story.money.$error" ng-if="story.money.$touched || story.$$parentForm.$submitted">\n            <small class="form-suggestion form-error" ng-message="maxlength">Please answer this question in 500 characters maximum<\/small>\n            <small class="form-suggestion form-error" ng-message="required">Please describe how the money will be spent<\/small>\n        <\/div>\n    <\/div>\n\n    <div class="form-group">\n        <label for="deadline" class="form-label">When will supporters see the difference?<\/label>\n\n        <div class="relative">\n            <textarea id="deadline" name="deadline" track-element-name="deadline" class="form-control" rows="4" placeholder="Example: The initial design work should take two weeks. It will then take one month to repair the roof." ng-model="page.deadline" required maxlength="500"><\/textarea>\n            <char-counter text="page.deadline" max-length="500"><\/char-counter>\n        <\/div>\n\n        <div ng-messages="story.deadline.$error" ng-if="story.deadline.$touched || story.$$parentForm.$submitted">\n            <small class="form-suggestion form-error" ng-message="maxlength">Please answer this question in 500 characters maximum<\/small>\n            <small class="form-suggestion form-error" ng-message="required">Please tell supporters when they\'ll see the difference<\/small>\n        <\/div>\n    <\/div>\n<\/fieldset>');n.put("/templates/tabs/tab.html",'<li class="tabs-heading" ng-class="{\'tabs-is-active\': active}">\n    <a href ng-click="select()">{{heading}}<\/a>\n<\/li>');n.put("/templates/tabs/tabs.html",'<div class="tabs">\n    <ul class="tabs-list cf" ng-transclude><\/ul>\n    <div class="tabs-pane" ng-repeat="tab in tabsCtrl.tabs" ng-class="{\'tabs-is-active\': tab.active}" tab-content="tab"> <\/div>\n<\/div>');n.put("/templates/unsubscribe/index.html",'<div class="container l-bucket">\n    <div class="panel panel-padded">\n        <div>\n            <p>Click the button below to stop receiving future status updates for this page to <strong>{{ctrl.emailAddress}}<\/strong><\/p>\n\n            <form ng-submit="ctrl.submit()">\n                <button class="button button-tertiary button-wide" ng-class="{\'button-is-pending\': ctrl.saveInProgress}" ng-disabled="ctrl.saveInProgress">Unsubscribe<\/button>\n            <\/form>\n        <\/div>\n    <\/div>\n<\/div>\n\n');n.put("/templates/unsubscribe/unsubscribed.html",'<div class="container l-bucket" ng-init="ctrl.waitAndRedirectToPage()">\n    <div class="panel panel-padded">\n        <div>\n            <p>You will no longer receive project status updates from this page.<\/p>\n            <p>You will be redirected to the project page shortly. You can also go there immediately by clicking <a href="#" ng-click="ctrl.redirectToPage()">here<\/a>.<\/p>\n        <\/div>\n    <\/div>\n<\/div>\n\n');n.put("/templates/verification/index.html",'<div class="container l-bucket">\n    <ol class="steptracker">\n        <li class="steptracker-step steptracker-is-complete">Create project<\/li>\n        <li class="steptracker-step steptracker-is-complete">Preview project<\/li>\n        <li class="steptracker-step steptracker-is-current"><h1 class="steptracker-heading">Get approved<\/h1><\/li>\n        <li class="steptracker-step">Start fundraising<\/li>\n        <li class="steptracker-step">Thank your supporters<\/li>\n    <\/ol>\n    <div class="form form-support">\n        <h2 class="form-heading">Before you can start fundraising<\/h2>\n        <p class="form-help">We need some details to run an identity check.<\/p>\n        <p class="form-help">We use a secure service called Netverify to scan your ID and make sure you\'re real. It’ll only take a minute.<\/p>\n    <\/div>\n    <div class="form form-support form-netverify">\n        <iframe id="verificationIframe" src="/page/netverify"><\/iframe>\n    <\/div>\n<\/div>')}])